FX589 GMSK Modem Application Notes
FX589 GMSK Modem Application Notes
Contents
Data Transmission by FM Radio 2
Gaussian Filtered Minimum Shift Keying (GMSK) 2
GMSK in FM Radio 2
Implementation of GMSK using the FX589 4
Bitrate, BT and Bandwidth 4
Data Formats 4
Coupling of Rx and Tx Signals 4
Baseband and RF Bandwidth 5
Intersymbol Interference 6
FM Modulator, Demodulator and IF Performance 7
The EYE Pattern 7
Example Rx EYE Patterns 8
Data Sequencing 10
Data Randomizing (Scrambling) 11
Data Coding 11
Rx ‘Acquisition’ and ‘Hold’ Modes 12
Rx Acquire Sequences 13
‘RxHold’ Input 14
Interleaving on Systems with Forward Error Correction (FEC) 15
Alternative Data Rates 16
1
FX589 GMSK Modem Application Notes ......
GMSK in FM Radio
In an FM radio system using a GMSK modem the data flow is as shown below:
Frequency Rx Binary
GMSK Modem Data Output
De-Modulator
2
FX589 GMSK Modem Application Notes ......
GMSK
The diagram below shows GMSK filter outputs for a logic input of “1 0 0 0 1 0 0 0”. Note that a filter delay
is present and that the individual output pulse spreads across more than one bit-period.
spread
Pulse Output
in Isolation
delay
Logic Input
0 1 2 3 4 5 6 7 8
Bit Times
Fig.3 GMSK Filter Input/Output Relationships
True GMSK transmission, in radio, is achieved when the ‘data’ output of the Gaussian filter is passed
through an FM modulator having a continuous phase response, with the peak deviation being set to half of
the applied bit rate.
Max deviation (Hz) = Data Rate
2
For example, DEVMAX = 2kHz for a data rate of 4kbits/sec.
3
FX589 GMSK Modem Application Notes ......
1E-1
1E-2
BER 1E-3
Tx and Rx DC coupled
Tx 5Hz, Rx DC coupled
Tx 5Hz, Rx 30Hz
Tx 5Hz, Rx 100Hz
1E-5
4 5 6 7 8 9 10 11 12 13
S/N dB (noise in 8kHz bandwidth
Fig.5 Typical Static Bit Error Rates
4
FX589 GMSK Modem Application Notes ......
-10
BT = 0.3 BT = 0.5
-20
Gain (dB)
-30
-40
-50
-60
-70
0.01 0.1 1 Frequency/Bitrate 10
Fig.6 FX589 Tx Filter Response
5
FX589 GMSK Modem Application Notes ......
Intersymbol Interference
This is the effect of one data bit overlapping the next due to the lowpass filtering. As this effect becomes
more pronounced the receiving modem may have trouble deciding whether the bit is a ‘1’ or a ‘0’.
Figure 7 shows the output of the GMSK modem for an input of “1 1 0 1 1 1 1 1” with BT settings of 0.5
and 0.3; the increasing effect of intersymbol interference can be clearly seen.
0
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6
1
Pulse Outputs
in Isolation
Logic Input
Logic Input
0 1 2 3 4 5 6 7 8
Bit Times
6
FX589 GMSK Modem Application Notes ......
"Y"
For Rx EYE measurement the ’scope’ should be sync’d
to the transmitting modem’s Tx Clock or, if unavailable,
the receiving modem’s Rx Clock with the modem in
the NARROW BW setting. Rx EYE
"SYNC" Measurement
Rx FREQUENCY FREQUENCY
DISCRIMINATOR MODULATOR
SIGNAL AND
DC LEVEL
ADJUSTMENT
SIGNAL AND
DC LEVEL
Rx SIGNAL IN Rx FEEDBACK ADJUSTMENT
"Y"
Rx Tx Tx OUT
CIRCUITS CIRCUITS
RxD Rx DATA
µCONTROLLER RxC Rx CLOCK
or UART TxD
TxC
Tx
Tx
DATA
CLOCK
FX589
Tx EYE
"SYNC" Measurement
BT = 0.5 BT = 0.3
7
FX589 GMSK Modem Application Notes ......
0.6
0.4
0.2
Volts
0
Fig.10 Good Rx EYE
-0.4
-0.6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Bit times
0.6
0.4
0.2
Volts
Fig.11 Effect of AC 0
Coupling
-0.2
(BT = 0.3)
(corner frequency -0.4
approx. 1% of bitrate)
-0.6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Bit times
0.6
0.4
0.2
Volts
-0.6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Bit times
8
FX589 GMSK Modem Application Notes ......
0.6
0.4
0.2
Fig.13 Effect of Slight
High Frequency Volts
0
Attenuation
(BT = 0.3) -0.2
0.5 x bitrate
-0.6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Bit times
0.6
0.4
0 (BT = 0.3)
(noise bandwidth =
-0.2 2 x bitrate; S/N = 25dB)
-0.4
-0.6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Bit times
9
FX589 GMSK Modem Application Notes ......
Data Sequencing
To ensure that the FX589 Rx clock recovery and Rx level circuits are given the best opportunity to
operate correctly the receive section works best with data which has a reasonably ‘random’ structure. The
data should contain approximately the same number of ‘ones’ as ‘zeroes’ with no long sequences of
consecutive ‘ones’ or ‘zeroes’. Also, long sequences (>100 bits) of ‘10101010 ...’ patterns should be
avoided. For this reason, it is recommended that data is scrambled in some manner before transmission.
A string of logic 1's will be modulated as a single frequency shift at the beginning of the string and a
single frequency shift at the end; no frequency changes will occur. This will appear at the Rx modem as near
dc and can result in the receiver not being able to track the incoming signal correctly. Both bit timing and
level information can be lost.
Particularly when a BT value of 0.3 is being used problems also occur when single bits bounded by their
complement are being sent repeatedly (‘0 0 0 0 0 1 0 0 0 0’ or ‘1 1 1 1 0 1 1 1 1’ note however, that these
are no the only patterns to give problems); these sequences sent many times over can cause the GMSK
demodulator to give out bits in error.
Where data is transmitted in bursts, each burst should be preceded by a preamble designed to allow the
receive modem to establish timing and level lock as quickly as possible. This preamble should be at least 16
bits long, and should preferably consist of alternating pairs of ‘1’s and ‘0’s i.e. ‘110011001100 .....’; the
pattern ‘10101010 ....’ should be avoided, particularly when BT = 0.3.
Many FSK and FFSK data systems use a ‘1 0 1 0 1 0 1 0 . . .’ pattern as a synchronising preamble,
Figure 15a shows the resultant output from a system using BT values of both 0.5 and 0.3.
In this case the output of a BT = 0.3 system does not provide true level information for the level measuring
circuits to lock on to. When the BT is 0.5 the output does not display the problem to the same degree .
Figures 15b, 15c and 15d show outputs from inputs of ‘1 1 0 0 1 1 0 0 ....’ , ‘1 1 1 1 0 0 0 0 1 1 1 1 ...’
and ‘0 1 0 0 0 0 1 0 0 ...’ respectively. Where it is impossible for data to be provided to the modem within the
above guidelines, it is recommended that external sequencing is used; i.e. scrambling or data coding.
BT = 0.5
BT = 0.3
BT = 0.5 BT = 0.3
BT = 0.5 BT = 0.3
BT = 0.5 BT = 0.3
10
FX589 GMSK Modem Application Notes ......
EX-OR
Binary Data In (Di) Data Out (Do) to FX589
Do = Di Dr
Pseudo Random
Number Generator Pseudo-Random Bits (Dr)
1 2 18 19 23
Data De-Scrambler
Data Coding
If it is important, for hardware or system interface considerations, that the lower frequency limit of a
GMSK signal is kept above a specific frequency it is possible to deliberately encode the data prior to
modulation; for instance where ac coupling is employed or there are PLL control limits.
This entails ensuring that sequences (blocks) of bits that contain low-frequency components are altered
to produce the required overall output. This coding can be carried out in software or hardware, as appropriate.
It should be noted that if coding that results in an increase in the number of bits is used this will reduce the
actual system ‘data rate’ unless the bit rate is increased, which in turn may take the system outside the
bandwidth specification.
11
FX589 GMSK Modem Application Notes ......
PLLacq
’ACQUIRE’
CLOCK EXTRACTION CCT MODE ’MEDIUM
BW’
f 30 bit
Fig.18 Rx Acquisition with Carrier Detect Available
The FX589 can tolerate dc offsets in the received signal of at least +/- 10%VDD with respect to VBIAS,
however to ensure that the dc offset compensation circuit operates correctly and with minimum delay, ‘Low’ to
‘High’ transitions of the ‘RxDCacq’ and ‘PLLacq’ inputs should occur after the mean input voltage to the
FX589 has settled to within about 0.1V of its final value (Note that this can place restrictions on the value of
any series signal coupling capacitor).
1. FX589 connected as Figure 2 in the current Data Sheet; inputs RxDCacq and PLLacq ‘Low’;
2. At the receipt of an RF carrier detect indication to the µC: wait two bit periods; place RxDCacq and
PLLacq ‘High’ (‘clamp’ - Doc1 and Doc2 capacitors are rapidly charged towards a voltage midway
between the Rx signal level and VBIAS). The ‘RxDCacq’ and ‘PLLacq’ inputs must be placed ‘High’ for a
minimum of 16 bits at the start of reception to ensure that the dc measurement and timing extraction
circuits lock on to the received signal correctly. To confirm that ‘lock’ has been achieved it may be
necessary to employ additional methods of sync detect; such as a frame detection or FX589 S/N output
monitoring.
3. To give the FX589 a satisfactory reference level to ‘clamp’ to, it is recommended that the transmitting
station is configured to provide a short period of blank carrier before the data starts.
To calculate this period the following system parameters should be considered: Tx power-up time + Rx
demodulator settling time + Rx ac coupling values [+ 2 bit times].
4. When lock is confirmed the above inputs should be taken ‘Low’ again and the acquisition circuits
operated as described in the Data Sheet.
In most applications, there will be a dc step in the output voltage from the receiver FM discriminator due
to carrier frequency offsets as channels are changed or when the distant transmitter is turned on. Every time
a channel change occurs, the preamble/acquire sequence (steps 1 - 4) should be performed.
12
FX589 GMSK Modem Application Notes ......
Rx Acquire Sequences
Rx/Data Carrier Indication Available No Rx/Data Carrier Indication Available
Conditions: Conditions:
interface as data sheet Fig.2 interface as data sheet Fig.2
START PLLacq ’low’ START with additional resistor
RxDCacq ’low’ PLLacq ’low’
RxDCacq ’low’
Yes
in
wait 2 bit sync? No
periods
Yes
PLL BW goes
to ’medium’ FINISH
Level Measure internal action
goes to ’averaging
peak detect’
Fig.20
wait 30 bit
internal action
periods
PLL BW goes
internal action
to ’narrow’
FINISH
Fig.19
13
FX589 GMSK Modem Application Notes ......
‘RxHold’ Input
As well as using the ‘Rx Hold’ input to freeze the Level Measuring and Clock Extraction circuits during a signal
‘fade’, it may also be used in systems which employ a continuously transmitting control channel to freeze the
receive circuitry during transmission of a data packet, allowing reception to resume afterwards without losing bit
synchronisation. To achieve this, the FX589 ‘Xtal’ clock needs to be accurate enough that the derived ‘RxClock’
output does not drift by more that about 0.1 bit time from the actual received data timing during the time that the
‘RxHold’ input is ‘Low’.
The ‘RxDCacq’ input, however, may need to be pulsed ‘High’ to re-establish the level measurements if the
‘RxHold’ input is ‘Low’ for more that a few hundred bit-times.
RxDCacq
’CLAMP’ (1 bit period)
Rx LEVEL MEASURE MODE
’FAST PEAK
DETECT’
PLLacq
’ACQUIRE’
CLOCK EXTRACTION CCT MODE
Doc2
14
FX589P Additional
13 ’R’
Doc1
C7 C8
If the receive system has no method of indicating when the RF carrier or signal preamble will start it is
recommended that:
1. With reference to the current FX589 Data Sheet, Figure 2, a new component, resistor R, of value
between 1.0MΩ and 2.0MΩ, should be connected across output pins Doc1 and Doc2.
2. RxDCacq and PLLacq inputs set ‘Low’.
3 Before or when the required signal is expected to appear: Set RxDCacq and PLLacq ‘High’; the modem
acquisition circuits will clamp and then lock and track the data. The RxDCacq pin setting may remain in
this position for the duration of operation.
4. The PLLacq pin should be taken ‘Low’ when lock has been confirmed to improve the signal-to-noise
performance by reducing the PLL bandwidth. With the additional resistor, R, connected, there is no
advantage in taking the RXDCacq input ‘Low’ again to attain the Averaging Peak Detect mode.
5. If the received signal has a long preamble sequence, e.g. 100bits, RxDCacq and PLLacq settings may
remain low; the circuitry will eventually attain lock.
14
FX589 GMSK Modem Application Notes ......
and read-out from the process in the following sequence (interleaved data):
H1, G1, F1, E1, ...H2, G2, ...... B10, A10.
1 2 3 4 5 6 7 8 9 10
Serial Input
1 1 1 1 1 1 1 1 1 1 A
1 1 1 1 1 1 1 1 1 1 B
1 1 1 1 1 1 1 1 1 1 C
1 1 1 1 1 1 1 1 1 1 D
1 1 1 1 1 1 1 1 1 1 E
1 1 1 1 1 1 1 1 1 1 F
1 1 1 1 1 1 1 1 1 1 G
1 1 1 1 1 1 1 1 1 1 H
Serial Output
15
FX589 GMSK Modem Application Notes ......
16
FX589 GMSK Modem Application Notes ......
17
FX589 GMSK Modem Application Notes ......
Note that this Application Note is intended to be used in conjunction with the current CML Product Data Sheet; printed Specifications apply.
CML does not assume any responsibility for the use of any circuitry described. No circuit patent licences are implied
and CML reserves the right at any time without notice to change the said circuitry.
18