Project

General

Profile

Isdnsync » History » Version 17

dexter, 02/19/2016 10:47 PM

1 9 dexter
Note: This Howto is still incomplete and will be finished soon. Please do not try anything described in this howto unless we have checked and verified everything with our own equipment!
2 6 dexter
---------------------------------------------------------------
3 1 dexter
4
5 7 dexter
== Abstract ==
6 6 dexter
7 11 dexter
In a state of the art telephone network everything is syncronized by a central, very high accuracy clock. The BTS also uses this clock for various things like channel allocation, frame clock, bitclock ect. If the clock gets a little bit incorrect (more than 50Hz) the BTS will transmit on a wrong frequency and there will be lots of other effects that might destabilize the radio transmission.
8 1 dexter
9 11 dexter
The BS11 is shipped with a precalibrated internal oscillator. If you are lucky the calibration (that is made over 10 years ago) in your BTS is still correct. If not your setup will not work unless you recalibrate the oscillator.
10 1 dexter
11
This document illustrates how you can use a ceap HFC-S card with the public telephone network as frequency standard for your E1 line. 
12
13 7 dexter
== Modifieing the HFC-S Card ==
14 6 dexter
15 1 dexter
All in all we need 2 Signals from the HFC-S Card: F0IO and C4IO. This signals are provided by the HFC-S Chip on the card and can be taken from pin 55 (F0IO) and 54 (C4IO) at the HFC-S Chip. (See also Datasheet page 8).
16 2 dexter
17 4 dexter
[[Image(hfc-s_card.jpg, 20%)]]
18 5 dexter
19
All you need to do is to solder a wire to C4IO and F0I0. The following image shows our modified card:
20 1 dexter
21
[[Image(hfc-s_card_modified.jpg, 20%)]]
22 8 dexter
23 1 dexter
24 9 dexter
== Connecting the modified HFC-S card to your E1 Card ==
25 1 dexter
26 9 dexter
FIXME
27 1 dexter
28 9 dexter
== Perform the calibration procedure ==
29 12 dexter
30
The calibration of the internal oscillator is an ongoing process. In a commerical telephone network the BTSs are calibrated at all times. In an experimental Setup it should be ok operate the BTS in standalone mode and syncronize it from time to time just as shown here:
31
32
Things to do:
33 9 dexter
34 13 dexter
 * Connect the HFC-S Card to the S0 line. 
35
 * Add type=0x00800 to the modprobe hfcmulti ... commandline
36
 * start isdynsync
37
 * Configure your BTS from standalone to E1 locked
38
 * start bsc_hack
39 17 dexter
 * use bs11_config to monitor the calibration process. The internal oscillator will now take over the E1 clock. You should see that the PLL values changing from time to time. If you see the PLL values leveling off, the calibration is done.
40 16 dexter
 * Configure your BTS from E1 locked to standalone to finish the procedure.
41 9 dexter
42 1 dexter
Note: If you do this the first time it is higly recomended to check if valid signals are present at C4IO and F0IO.
43 14 dexter
44
Note: The process takes some time. We recommend to warm up the BTS before you start for at least one hour. It is important that the calibration takes place with work temperature.
45
46
Warning: When bsc_hack is running the base station broadcasts 
47
48
49
50 15 dexter
== Sources: ==
51 14 dexter
 * http://lists.gnumonks.org/pipermail/openbsc/2009-June/000387.html
52
 * http://lists.gnumonks.org/pipermail/openbsc/2009-July/000627.html
Add picture from clipboard (Maximum size: 48.8 MB)