hsp50210 - Costas Loop
hsp50210 - Costas Loop
HSP50210
Block Diagram
CARRIER (COF)
TRACK CARRIER ACQ/TRK CARRIER PHASE LOCK
LOOP FILTER ERROR DETECT DETECT LKINT
CONTROL
LEVEL
HI/LO DETECT NCO LOOP LEVEL
FILTER DETECT THRESH
COS SIN
DATA PATH MULTIPLEXER
A
I SER OR 10 OUT(9-0)
IIN (9-0) I RRC INTEGRATE/
8 8 MAGNITUDE 10
FILTER DUMP CARTESIAN
SERCLK 8 PHASE
OR CLK TO
INTEGRATE/ 8 POLAR 3 10
Q SER OR 10 Q RRC
QIN (9-0) DUMP SLICER 3
FILTER
B
Q OUT(9-0)
SYMBOL (SOF) SYMBOL
TRACK SYMBOL I
PHASE SMBLCLK
CONTROL TRACKING ERROR
LOOP FILTER DETECT
CONTROL/ 13 CONTROL OEA
STATUS INTERFACE OEB
BUS
3-1 CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures.
1-888-INTERSIL or 321-724-7143 | Intersil and Design is a trademark of Intersil Corporation. | Copyright © Intersil Corporation 2000
HSP50210
Pinout
84 LEAD PLCC
TOP VIEW
SERCLK
SLOCLK
THRESH
SSYNC
AOUT9
AOUT8
AOUT7
AOUT6
AOUT5
AOUT4
QSER
HI/LO
ISER
GND
GND
OEA
VCC
IIN6
IIN7
IIN8
IIN9
11 10 9 8 7 6 5 4 3 2 1 84 83 82 81 80 79 78 77 76 75
IIN5 12 74 AOUT3
IIN4 13 73 AOUT2
IIN3 14 72 AOUT1
IIN2 15 71 AOUT0
GND 16 70 SMBLCLK
IIN1 17 69 VCC
IIN0 18 68 CLK
SYNC 19 67 GND
QIN9 20 66 BOUT9
QIN8 21 65 BOUT8
QIN7 22 64 BOUT7
QIN6 23 63 BOUT6
QIN5 24 62 BOUT5
QIN4 25 61 GND
VCC 26 60 BOUT4
QIN3 27 59 BOUT3
QIN2 28 58 BOUT2
QIN1 29 57 BOUT1
QIN0 30 56 BOUT0
SOFSYNC 31 55 OEB
SOF 32 54 VCC
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
COFSYNC
COF
WR
RD
GND
A2
A1
A0
C7
C6
C5
C4
C3
VCC
C2
C1
C0
FZ-ST
FZ-CT
LKINT
GND
Ordering Information
TEMP. PKG.
PART NUMBER RANGE (oC) PACKAGE NO.
3-2
HSP50210
Pin Description
NAME TYPE DESCRIPTION
VCC - +5V Power Supply.
GND - Ground.
IIN9-0 I In-Phase Parallel Input. Data may be two’s complement or offset binary format (see Table 14). These inputs are
sampled by CLK when the SYNC signal is active Low. IIN9 is the MSB. See Input Controller Section.
QIN9-0 I Quadrature Parallel Input. Data may be two’s complement or offset binary format (see Table 14). These inputs are
sampled by CLK when the SYNC signal is active Low. QIN9 is the MSB. See Input Controller Section.
SYNC I Data Sync. When SYNC is asserted “Low”, data on IIN9-0 and QIN9-0 is clocked into the processing pipeline by the
rising edge of CLK.
COF O Carrier Offset Frequency. The frequency term generated by the Carrier Tracking Loop Filter is output serially via this
pin. The new offset frequency is shifted out MSB first by CLK or SLOCLK starting with the clock cycle after the
assertion of COFSYNC.
COFSYNC O Carrier Offset Frequency Sync. This signal is asserted one CLK or SLOCLK cycle before the MSB of the serial data
word. (Programmable Polarity, see Table 41, bit 11).
SOF O Sampler Offset Frequency. Sample frequency correction term generated by the Symbol Tracking Loop Filter is output
serially via this pin. The frequency word is shifted out MSB first by CLK or SLOCLK starting with the clock cycle after
assertion of SOFSYNC.
SOFSYNC O Sampler Offset Frequency Sync. This signal is asserted one CLK or SLOCLK cycle before the MSB of the serial
data word. (Programmable Polarity, see Table 41, bit 12).
A2-0 I Address Bus. The address on these pins specify a target register for reading or writing (see Microprocessor Interface
Section). A0 is the LSB.
C7-0 I/O Microprocessor Interface Data Bus. This bi-directional bus is used for reading and writing to the processor interface.
These are the data I/O pins for the processor interface. C0 is the LSB.
WR I Write. This is the write strobe for the processor interface (see Microprocessor Interface Section).
RD I Read. This is the read enable for the processor interface (see Microprocessor Interface Section).
FZ_ST I Freeze Symbol Tracking Loop. Asserting this pin “high” zeroes the sampling error into the Symbol Tracking Loop
Filter (see Symbol Tracking Loop Filter Section).
FZ_CT I Freeze Carrier Tracking Loop. Asserting this pin “high” zeroes the carrier Phase Error input to the Carrier Tracking
Loop Filter.
LKINT O Lock Detect Interrupt. This pin is asserted “high” for at least 4 CLK cycles when the Lock Detector Integration cycle
is finished (see Lock Detector Section). Used as an interrupt for a processor. The Lock Detect Interrupt may be
asserted “high” longer than 4 CLK cycles, depending on the Lock Detector mode.
THRESH O Threshold Exceeded. This output is asserted “low” when the magnitude out of the Cartesian to Polar converter
exceeds the programmable Power Detect Threshold (see Table 15 and AGC Section).
SLOCLK O Slow Clock. Optional serial clock used for outputting data from the Carrier and Symbol Tracking Loop Filters. The
clock is programmable and has a 50% duty cycle. Note: Not used when the HSP50110 is used with the
HSP50210 (see Table 41).
ISER I In-Phase Serial Input. Serial data input for In-Phase Data. Data on this pin is shifted in MSB first and is synchronous
to SERCLK (see Input Controller Section).
QSER I Quadrature Serial Input. Serial data input for Quadrature Data. Data on this pin is shifted in MSB first and is
synchronous to SERCLK (see Input Controller Section).
SSYNC I Serial Word Sync. This input is asserted “high” one CLK before the first data bit of the serial word (see Figure 2).
SERCLK I Serial Clock. May be asynchronous to other clocks. Used to clock in serial data (see Input Controller Section).
AOUT9-0 O A Output. Data on this output depend on the configuration of Output Selector. AOUT9 is the MSB (see Table 42).
BOUT9-0 O B Output. Data on this output depend on the configuration of Output Selector. BOUT9 is the MSB (see Table 42).
SMBLCLK O Symbol Clock. 50% duty cycle clock aligned with soft bit decisions (see Figure 19).
OEA I A Output Enable. This pin is the three-state control pin for the AOUT9-0. When OEA is high, the AOUT9-0 is high
impedance.
OEB I B Output Enable. This pin is the three-state control pin for the BOUT9-0. When OEB is high, the AOUT9-0 is high
impedance.
HI/LO 0 HI/LO. The output of the Input Level Detector is provided on this pin (see Input Level Detector Section). This signal
can be externally averaged and used to control the gain of an amplifier to close an AGC loop around the A/D
converter. This type of AGC sets the level based on the median value on the input.
CLK I System Clock. Asynchronous to the processor interface and serial inputs.
3-3
AGC
LOOP GAIN ERROR THRESH
FILTER DETECT
HI/LO LEVEL
DETECT
MATCHED FILTERING CARTESIAN SMBLCLK
TO
POLAR
SYNC SYNTHESIZER/
INPUT CONTROLLER MIXER M RRC M I&D M
3-4
IIN9-0 U
U U I2+Q2
QIN9-0 I X X X
Q
SSYNC M
M RRC M I&D U TAN-1( Q )
SERCLK U I
COS X U X
SIN
X
ISER
QSER SLICER
NCO
SYMBOL TRACKING
HSP50210
SOFSYNC 2ND ORDER LOOP SYMBOL PHASE
FILTER ERROR DETECT AOUT9-0
SOF
SERIAL
COFSYNC OUTPUT
COF FORMATTER CARRIER TRACKING BOUT9-0
SLOCLK
2ND ORDER LOOP CARRIER PHASE
FROM FILTER ERROR DETECT
LOCK OEA
DETECTOR
OEB
8
C7-0 DISCRIMINATOR
ACQUISITION
WR MICROPROCESSOR CONTROL FREQUENCY d
RD INTERFACE ERROR DETECT dt
A2-0
LOCK
CLK DETECT
FRZ_ST
LKINT
FRZ_CT
Functional Description If serial input mode is selected, the I and Q data enters via
the ISER and QSER pins using SERCLK and SSYNC. The
The HSP50210 Digital Costas Loop (DCL) contains most of
beginning of a serial word is designated by asserting
the baseband processing functions needed to implement a
SSYNC ‘high’ one SERCLK prior to the first data bit, as
digital Costas Loop Demodulator. These functions include
shown in Figure 2. On the following SERCLK’s, data is
LO generation/mixing, matched filtering, AGC, carrier phase
shifted into the register until all 10 bits have been input. Data
and frequency error detection, timing error detection, carrier
shifting is then disabled and the contents of the register are
loop filtering, bit sync loop filtering, lock detection,
held until the next assertion of SSYNC. The assertion of a
acquisition/tracking control, and soft decision slicing for
SSYNC transfers data into the processing pipeline, and the
forward error correction algorithms. While the DCL is
Shift Register is enabled to accept new data on the following
designed to work with the HSP50110 Digital Quadrature
SERCLK. When data is transferred to the processing
Tuner (DQT) as a variable rate PSK demodulator for satellite
pipeline by SSYNC, a processing enable is generated which
demodulation, functions on the chip are common to many
follows the data through the pipeline. This enable allows the
communications receivers.
delay through processing elements (like the loop filters) to be
The DCL provides the processing blocks for the three minimized since their pipeline delay is expressed in CLKs
tracking loops commonly found in a data demodulator: the not SSYNC periods. Note: SSYNC should not be
Automatic Gain Control (AGC) loop, the Carrier Tracking asserted for more than one SERCLK cycle.
Loop, and a Symbol Tracking Loop. The AGC loop adjusts
for input signal power variations caused by path loss or
signal-to-noise variations. The carrier tracking loop removes SERCLK
the frequency and phase uncertainties in the carrier due to
oscillator inaccuracies and doppler. The symbol tracking SSYNC
loop removes the frequency and phase uncertainties in the
data and generates a recovered clock synchronous with the ISER/
MSB MSB
received data. Each loop consists of an error detector, a loop QSER
filter, and a frequency or gain adjustment/control. The AGC SSYNC LEADS 1st DATA BIT
loop is internal to the DCL, while the symbol and carrier
OTE: Data must be loaded MSB first.
tracking loops are closed external to the DCL. When the
DCL is used together with the HSP50110, the tracking loops IGURE 2. SERIAL INPUT TIMING FOR ISER AND QSER INPUTS
are closed around the baseband filtering to center the signal
in the filter bandwidth. In addition, the AGC function is Input Level Detector
divided between the two chips with the HSP50110 providing The Input Level Detector generates a one-bit error signal for
the coarse AGC, and the HSP50210 providing the fine or an external IF AGC filter and amplifier. The error signal is
final AGC. generated by comparing the magnitude of the input samples
A top level block diagram of the HSP50210 is shown in to a user programmable threshold. The HI/LO pin is then
Figure 1. This diagram shows the major blocks and the driven “high” or “low” depending on the relationship of its
multiplexers used to reconfigure the data path for various magnitude to the threshold. The sense of the HI/LO pin is
architectures. programmable so that a magnitude exceeding the threshold
can either be represented as a “high” or “low” logic state.
Input Controller The Input Level Detector (HI/LO output) threshold and the
In-Phase (I) and Quadrature (Q) data enters the part through sense are set by the Data Path Configuration Control
the Input Controller. The 10-bit data enters in either serial or Register bits 16-23 and 13 (see Table 14). Note: The Input
parallel fashion using either two’s complement or offset Level Detector is typically not used in applications
binary format. The input mode and binary format is set in the which use the HSP50210 with the HSP50110.
Data Path Configuration Control Register, bits 14 and 15 The high/low outputs can be integrated by an external loop
(see Table 14). filter to close an AGC loop. Using this method, the gain of
If Parallel Input mode is selected, I and Q data are clocked the loop forces the median magnitude of the input samples
into the part through IIN0-9 and QIN0-9 respectively. Data to the threshold. When the magnitude of half of the samples
enters the processing pipeline when the input enable is above the threshold (and half is below), the error signal is
(SYNC) is sampled “low” by the processing clock (CLK). The integrated to zero by the loop filter.
enable signal is pipelined with the data to the various The magnitude of the complex input is estimated by:
processing elements to minimize pipeline delay where
possible. As a result, the pipeline delay through the AGC, Mag (I, Q) = I + 0.375 × Q if I > Q and (EQ. 1)
Carrier Tracking, and Symbol Tracking Loop Filters is
measured in CLKs; not input data samples. Mag (I, Q) = Q + 0.375 × I if Q > I
3-5
REGISTER ENABLE RATE
TO SYMBOL TRACKING
@ = SYNC RATE
*! == SYMBOL
TWICE SYMBOL RATE
RATE
MID AND END I I Q Q
SYMBOL SAMPLES MID END MID END
BLANK = CLK RATE
D R
E E
MATCHED FILTERING FALSE LOCK M G
*
HI/LO U SOFT
X
! OR
DECISION
3-6
REG SLICER
D R
REG NCO MIXER
BYPASS
E
I&D
DATA DE-SKEW E
REG M G
BYPASS DUMP OQPSK COMPARE U
MIXER X TEST R R O
AOUT9-0
BYPASS “0” E E U
RRC M T
! OR *
R G G
U M
DETECT
M S P
LEVEL
E X H R U R R R
U U
G R R I E + X E E T E
E X F G G G G
R + E T
E G G S R
G M M @
* CARTESIAN TO E E
U
15 TAP RRC R R U DUMP * M POLAR L
BOUT9-0
R R TWO SAMPLE U G
R R X X L SUMMER 8 E
E E E E M “0” X 5 C
COMPLEX E E
HSP50210
@ I GG U I2+Q2 DELAY
QIN9-0
MULTIPLY G G G G T
M S REG
15 TAP RRC R R R R X R R
R R I H M
E E T E E + E I E + U 5 8
E E Q
G G GG G F G X TAN-1( I ) DELAY
G G @
IIN9-0
T REG
@ *
SIN
COS
R THRESH
+ UPPER LOWER LOOP GAIN LOOP GAIN
GAIN GAIN EXPONENT MANTISSA COMPARE E
LIMIT LIMIT G
CF
REG REGISTER
NCO/Mixer
The NCO/Mixer performs a complex multiply between the Carrier Tracking Loop. Large phase increments take fewer
baseband input and the output of a quadrature NCO clocks to step through the sine wave cycle, which results in a
(Numerically Controlled Oscillator). When the HSP50210 higher frequency NCO output.
(DQT) is used with the HSP50110 (DCL), the NCO/Mixer
The CF Register sets the NCO frequency with the following
shortens the Carrier Tracking Loop (i.e., minimizes pipeline
equation:
delay around the loop) while providing wide loop
bandwidths. This becomes important when operating at 32
symbol rates near the maximum range of the part. F C = f CLK × ( CF ) ⁄ 2 (EQ. 4)
32
CF = INT [ ( F C ⁄ f CLK )2 ]H
There are three configurations possible for closing the
Carrier Tracking Loop when the DQT and the DCL are used
together. The first configuration utilizes the NCO on the DQT where fCLK is the CLK frequency, and CF is the 32-bit two’s
and bypasses the NCO in the DCL. The Data Path complement hexadecimal value loaded into the Carrier
Configuration Control Register (see Table 14), bit 10, and Frequency Register. As an example, if the CF Register is
Carrier Loop Filter Control Register #1 (see Table 20), bit 6, loaded with a value of 4000 0000 (Hex), and the CLK
are used to bypass the DCL NCO/Mixer and route the Loop frequency is 40MHz, the NCO would produce quadrature
filter outputs, respectively. The DQT provides maximum terms with a frequency of 10MHz. When CF is a negative
flexibility in NCO control with respect to frequency and value, a clockwise cos/sin vector rotation is produced. When
phase offsets. CF is positive, a counterclockwise vector rotation is
produced.
The second configuration feeds the lead Carrier Loop filter
term to the DCL NCO/Mixer, and the lag Loop filter Term to NOTE: The NCO is set to a fixed frequency by programming the
the DQT NCO. This reduces the loop transport delay while upper and lower limits of the Carrier Tracking Loop Filter to the
same value and zeroing the lead gain.
maintaining wide loop bandwidths and reasonable loop
damping factors. This configuration is especially useful in Matched Filtering
SATCOM applications with medium to high symbol rates.
The HSP50210 provides two selectable matched filters: a
The Carrier Loop Filter Control Register #1, bit 5, is where
Root Raised Cosine Filter (RRC) and an Integrate and
the lead/lag destination is set.
Dump (I&D) filter. These are shown in Figure 3. The RRC
The final configuration feeds both the lead and lag Carrier filter is provided for shaped data pulses and the I&D filter is
Loop Filter terms back to the DCL NCO/Mixer. This provides provided for square wave data. The filters may be cascaded
the shortest transport delay. The DCL NCO/Mixer provides for better adjacent channel rejection for square wave data. If
only for frequency/phase control from the Carrier Loop filter. these two filters do not meet baseband filtering
The center frequency of this NCO/Mixer is set to the average requirements, then they can be bypassed and an external
of the Upper and Lower Carrier Loop Limits programmable digital filter (such as the HSP43168 Dual FIR Filter or the
parameters. These parameters are set in the two control HSP43124 Serial I/O Filter) used to implement the desired
registers bearing their names (see Tables 22 and 23). matched filter. The desired filter configuration is set in the
Data Path Configuration Control Register, bits 1-7 (see
The NCO/Mixer uses a complex multiplier to multiply the
Table 14).
baseband input by the output of a quadrature NCO. This
operation is represented by: The sample rate of the baseband input depends on the
symbol rate and filtering configuration chosen. In
I OUT = I IN cos ( ω C ) – Q IN sin ( ω C ) (EQ. 2)
configurations which bypass both filters or use only the RRC
Q OUT = I IN sin ( ω C ) + Q IN cos ( ω C ) (EQ. 3) Filter, the input sample rate must be twice the symbol rate. In
configurations which use the I&D Filter, the input sample rate
is decimated by the I&D Filter, down to two samples per
Equation 3 illustrates how the complex multiplier implicitly
symbol. I&D configurations support input sample rates up to
performs the summing function when the DCL is configured
32 times the input symbol rate.
as a modulator. The quadrature outputs of the NCO are
generated by driving a sine/cosine look-up table with the The RRC filter is a fixed coefficient 15 Tap FIR filter. It has
output of a phase accumulator as shown in Figure 3. Each ~40% excess bandwidth beyond Nyquist which equates to
time the phase accumulator is clocked, its sum is α = ~0.4 shape factor. The filter frequency response is
incremented by the contents of the Carrier Frequency (CF) shown in Figure 4 and Figure 5. In addition, the 9-bit filter
Register. As the accumulator sum increments from 0 to 232, coefficients are listed as integer values in Table 1. The noise
the SIN/COS ROM produces quadrature outputs whose equivalent bandwidth of the RRC filter and other filter
phase advances from 0 to 360o. The CF Register contains a configurations possible with the HSP50110/210 chipset are
32-bit phase increment which is updated with the output of given in Appendix A.
3-7
HSP50210
-20 0 2
1 -2
-40
2 1
-60
3 8
4 -16
-80
5 -14
-100
0 fCLK 2fCLK 3fCLK 4fCLK fCLK 6 86
10 10 10 10 2
7 160
FREQUENCY (NORMALIZED TO INPUT SAMPLE RATE)
8 86
FIGURE 4. RRC FILTER IN HSP50210
9 -14
10 -16
11 8
0
12 1
NORMALIZED MAGNITUDE (dB)
-0.18 13 -2
14 2
-0.36
SHOWN BELOW The I&D filter consists of an accumulator, a programmable
-0.54 ENLARGED FOR CLARITY shifter and a two sample summer as shown in Figure 3. The
programmable shifter is provided to compensate for the gain
introduced by the accumulator (see Table 14). The
-0.72
accumulator provides Integrate and Dump Filtering for
decimation factors up to 16. The two sample summer
-0.90 provides the moving average required for an additional
0 fCLK 2fCLK 3fCLK 4fCLK fCLK
25 25 25 25 5 decimation factor of 2. A decimation factor of 1 (bypass), 2,
4, 8, 16, or 32 may be selected. At the maximum decimation
0 rate, a baseband signal sampled at 32 times the symbol rate
NORMALIZED MAGNITUDE (dB)
can be filtered.
-0.07
The output of the two sample summer is demultiplexed into
two sample streams at the symbol rate. The demultiplexed
-0.14
data streams from the I and Q processing paths are fed to
the Symbol Tracking Block and Soft decision slicer. The
-0.21
multiplexed data streams on I and Q are provided as one of
the selectable inputs for the Cartesian to Polar Converter.
-0.28
Cartesian/Polar Converter
-0.35
0 fCLK fCLK 3fCLK fCLK 5fCLK 3fCLK The Cartesian/Polar Converter maps samples on the I and Q
40 20 40 10 40 20 processing paths to their equivalent phase/magnitude
FREQUENCY (NORMALIZED TO INPUT SAMPLE RATE) representation. The magnitude conversion is equivalent to:
2 2
Mag (I, Q) = ( 0.81 )∗ ( I + Q ), (EQ. 5)
FIGURE 5. PASSBAND RIPPLE OF RRC FILTER IN HSP50210
3-8
HSP50210
The phase conversion is equivalent to: The I/Q data path selected for input to the Cartesian to Polar
converter determines the input data rate of the AGC and
–1 (EQ. 6)
Phase (I, Q) = tan ( Q ⁄ I ), carrier tracking loops. If the I/Q data path out of the Integrate
and Dump Filter is selected, the AGC is fed with magnitude
where tan-1( ) is the arctangent function. The phase values produced by the end-symbol samples. Magnitude
conversion output is an 8-bit two’s complement output which values produced by midsymbol samples are not used
ranges from -1.0 to 0.9922 (80 to 7f HEX, respectively). The because these samples occur on symbol transitions, resulting
-1 to almost 1 range of the phase output represents phase in poor signal magnitude estimates. The Carrier Tracking
values from -π to π, respectively. An example of the I/Q to block is fed with phase values generated from both the end
phase mapping is shown in Figure 6. The phase and and mid-symbol samples. The carrier tracking loop filter,
magnitude values may be output via the Output Selector bits however, is only fed with Phase Error terms generated by the
0-3 (see Table 42). end symbol samples. If the input of the I&D is selected for
input to the coordinate converter, the control loops are fed
1.0 with data at the I/Q data rate. The desired data path input to
the Cartesian to Polar converter is specified in the Data Path
Configuration Control Register, bit 8 (see Table 14).
0.5
MAGNITUDE
AGC
0
The AGC loop operates on the main data path (I and Q) and
performs three signal level adjusting functions: 1)
-0.5 maximizing dynamic range, 2) compensating for SNR
variations, and 3) maintaining an optimal level into the Soft
Decision Slicer. The AGC Loop Block Diagram, shown in
-1.0
-π -π/2 0 π/2 π Figure 7, consists of an Error Detector, a Loop Filter, and
INPUT PHASE Signal Gain Adjusters (multipliers). The AGC Error Detector
generates an error signal by subtracting the programmable
FIGURE 6A. I INPUT TO CARTESIAN/POLAR CONVERTER
AGC threshold from the magnitude output of the Cartesian
1.0 to Polar Converter. This difference signal is scaled (gain
adjusted via multiplier and shifter), then filtered (integrated)
by the AGC Loop Filter to generate the gain correction to the
0.5 I and Q signals at the multipliers. If a fixed gain is desired,
MAGNITUDE
3-9
HSP50210
The AGC Loop is configured by the Power Detect Threshold exponent provides a shift factor scaling from 2-7 to 2-14.
and AGC Loop Parameters Control Registers (see Tables 15 Table 3 details the discrete set of decimal values possible for
and 16). Seven programmable parameters must be set to the AGC Loop Gain Exponent. When combined, the exponent
configure the AGC Loop and its status outputs. Two and mantissa provide a loop gain defined as:
parameters, the Power Threshold and the AGC Threshold –4 –( 7 + E )
are associated with the Error Detector and are represented AGC Loop Gain: G AGC = [ ( M ) ( 2 )][(2 )] (EQ. 7)
3-10
HSP50210
POWER
L S THRSHLD †
R I R H R M
READ E + E I E U +
REG M F
G I G G X GAIN -
T
T “0” ERROR
0.000 TO 1.07297(2-7) AGC THRSHLD †
AGC GAIN = (1.0 + M) x 2E ENABLE AGC †
The AGC Loop Filter integrates the scaled error signal to The AGC Output is implemented in the multiplier according
provide a correction control term to the multipliers in the I and to Equation 8.
Q path. The loop filter accumulator has internal upper and e
Out AGC – linear = ( 1.0 + m AGC ) ( 2 ) (EQ. 8A)
lower limiters. The upper eight bits of the accumulator output
map to an exponent and mantissa format that is used to set e
Out AGC – dB = 20 log [ ( 1.0 + m AGC ) ( 2 ) ] (EQ. 8B)
these upper and lower limits. The format, illustrated in Figure
8, is used for the AGC Upper Limit, AGC Lower Limit and the
where m and e are the binary values for mantissa and
Correction Control Term (AGC output). This format should not
exponent found in Tables 4 and 5.
be confused with the similar format used for the AGC Loop
Gain. The input to the AGC Loop Filter is included in Figure 8 NOTE:This format is identical to the format used to program the
to show the relative weighting of the input to output of the loop AGC Upper and Lower Limits, but in this usage it is not a pro-
filter. The loop filter input is represented as the eleven letter grammed value. It is a representation of the digital AGC output
number which is presented to the Gain Adjuster (multipliers) to
“G”s. Lower case “e” and “m” detail the format for the AGC
correct the gain of the I and Q data signals in the main data path.
Upper and Lower Limits. This change in type case should help
keep the AGC Limits and AGC Gain formats from being These equations yield a composite (mantissa and
confused. The AGC Upper and Lower Limits are set in the exponent) AGC output range of 0.0000 to 1.9844(23) which
AGC Loop Parameters Control Register, bits 0-15, (see Table is a logarithmic range from 0 to 24dB. Figure 9 has graphed
16). This 6-bit unsigned mantissa format provides for an AGC the results of Equation 8 for both the linear and logarithmic
output control range from 0.0000 to 0.9844, with a resolution equations. Figure 9 also has a linear estimate of the
of 0.015625. The 2-bit exponent format provides an AGC logarithmic equation. This linear approximation will be used
output control range from 1 to 8. The decimal values for each in calculating the AGC response time.
of the 64 binary mantissa values is detailed in Table 4, while
Table 5 details the decimal value for the 4 exponent values.
21 20 .2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 2-9 2-10 2-11 2-12 2-13 2-14 2-15 2-16 2-17 2-18
e e .m m m m m m G G G G G G G G G G G
3-11
HSP50210
DECIMAL DECIMAL
VALUE VALUE
GAIN (dB)
000000 0.000000 100000 0.500000 LINEAR ESTIMATE IN dB
8 12
000001 0.015625 100001 0.515625 GAIN
LINEAR
000010 0.031250 100010 0.531250
000011 0.046875 100011 0.546875 4 6
0
16
32
48
64
80
96
112
128
144
160
176
192
208
224
240
256
000110 0.093750 100110 0.593750
GAIN CONTROL WORD
000111 0.109375 100111 0.609375 (8 MSBs OF LOOP FILTER ACCUMULATOR)
001000 0.125000 101000 0.625000 FIGURE 9. GAIN CONTROL TRANSFER FUNCTION
001001 0.140625 101001 0.640625
There are two techniques for setting a fixed gain for the
001010 0.156250 101010 0.656250
AGC. The first is to set Control Word 2 bit 31 = 1. This
001011 0.171875 101011 0.671875 precludes any error update of present AGC gain value. The
001100 0.187500 101100 0.687500 second is to set the upper and lower AGC limits to the
001101 0.203125 101101 0.703125
desired gain using Figure 9. The upper and lower limits
have the same value for this case.
001110 0.218750 101110 0.718750
The HSP50210 provides two mechanisms for monitoring
001111 0.234375 101111 0.734375
signal strength. The first, which involved the THRESH
010000 0.250000 110000 0.750000 signal, has already been described. The second
010001 0.265625 110001 0.765625 mechanism is via the Microprocessor Interface. The 8 most
010010 0.281250 110010 0.781250 significant bits of the AGC loop filter output can be read by
a microprocessor. Refer to the Microprocessor Interface
010011 0.296875 110011 0.796875
Section for details of how to read this value. This AGC
010100 0.312500 110100 0.812500 value has the format described in Figure 8.
010101 0.328125 110101 0.828125
010110 0.343750 110110 0.843750
AGC Bit Weighting and Loop Response
010111 0.359375 110111 0.859375
The AGC loop response is a function of the programmable
gain, the bit weightings inherent in the connection of each
011000 0.375000 111000 0.875000 element of the loop, the AGC Loop filter limits and the
011001 0.390625 111001 0.890625 magnitude of the input gain error step. Table 6 details the bit
011010 0.406250 111010 0.906250
weighting between each element of the AGC Loop from the
error detector through the weighting at the gain adjuster in
011011 0.421875 111011 0.921875 the signal path. The AGC Loop Gain sets the growth rate of
011100 0.437500 111100 0.937500 the sum in the loop filter accumulator. The Loop filter output
011101 0.453125 111101 0.953125
growth rate determines how quickly the AGC loop traces the
transfer function shown previously in Figure 9. To calculate
011110 0.468750 111110 0.968750 the rate at which the AGC can adjust over a given period of
011111 0.484375 111111 0.984375 time, a gain step is introduced to the gain error detector and
the amount of change that is observed between clocks at the
TABLE 5. AGC GAIN EXPONENT TO DECIMAL MAPPING AGC Level Adjusters (multipliers) is the AGC response time
in dB per symbol. This AGC loop will respond immediately
DECIMAL/ HEX DECIMAL SCALED
BINARY CODE EXPONENT EXPONENT with the greatest correction term, then asymptotically
approach zero correction.
00 0 20
We begin calculation of the loop response with a full scale
01 1 21 error detector input of ±1. This error input is scaled by the
10 2 22 Cartesian to Polar converter, the error detector and the AGC
Loop Gain, accumulated in the loop filter, limited and output to
11 3 23
the gain adjusters. The AGC loop tries to make the error
correction as quickly as possible, but is limited by the AGC
3-12
HSP50210
Loop Gain and potentially, the AGC limits. The maximum AGC only exponent terms of the various gains will be sufficient to
response is the maximum gain adjustment made in any given yield a rough order of magnitude of the range of the AGC
clock cycle. This involves applying maximum Loop gain and Loop response. The results are shaded in the last column of
setting the AGC limits as wide as possible. A calculation using Table 6 and provided in detail in Equations 9A and 9B.
AGC ResponseMAX = Input (Cartesian to Polar Converter Gain)(Error Detector Gain)(AGC Loop Gain)(AGC Output Weighting)
where (0.5) is the MSB of the 0.81 scaling in the Cartesian to Polar Coordinate Converter, (0.5) is the MSB of the mantissa of the
Loop Gain, (2-7) is the maximum shift gain, and 24 is the maximum loop filter gain.
A similar procedure is used to calculate the minimum AGC response rate.
Thus, the expected range for the AGC rate is approximately 0.0004 to 0.0469dB/symbol time.
3-13
HSP50210
AGC GAIN
MANTISSA EXPONENT
1.0 - 1.9844 20-23
(0.0156 STEPS) INTEGRATE AND
G = 1.0 - 1.9844*23 DUMP FILTER
Gain Distribution Following the AGC, the signal path is limited to 8 bits and
passed through the Integrate and Dump Filter en route to the
The gain distribution in the DCL is shown in Figure 10.
Soft Decision Slicer and Symbol Tracking Block. The I&D
These gains consist of a combination of fixed,
Filter uses an accumulator together with a sample pair
programmable, and adaptive gains. The fixed gains are
summer to achieve the desired decimation rate. The I&D
introduced by processing elements such as the Mixer and
shifter is provided to compensate for the gain introduced by
Square Root of Root Raised Cosine Filter. The adaptive
the I&D Accumulator. The accumulator introduces gain equal
gains are set to compensate for variations in input signal
to the decimation factor R, and the shifter gain can be set to
strength.
1/R. For example, if the I&D Filter decimation of 16 is chosen
The main signal path, with processing block gains and path the I&D Accumulator will accumulate 8 samples before
bit weightings, is shown in Figure 10. The quadrature inputs dumping, which produces a gain of 8. Thus, for unity gain, the
to the HSP50210 are 10-bit fractional two’s complement I&D Shifter would be set for a gain of 2-3. The Sample Pair
numbers with relative bit weightings, as shown in the Summer is unity gain since its output is scaled by one-half.
Figure 10. The first element in the processing chain is the
Mixer, which scales the quadrature outputs of the complex Symbol Tracking
multiplier by 1/2 providing a gain of G = 0.5. If the Mixer is The symbol tracking loop adjusts the baseband sampling
bypassed, the signal is passed unmodified with a gain of 1.0. frequency to force sampling of the baseband waveform at
Following the mixer, the quadrature signal is passed to the optimal points for data decisions. The key elements of this
fixed coefficient RRC filtering block, which has a gain of 1.13 loop are the Sampling Error Detector and Symbol Tracking
if enabled and 1.0 if bypassed. Next, the AGC supplies gain Loop Filter shown in Figure 11. The output of these two blocks
to maintain an optimal signal level at the input to the Soft is a frequency correction term which is used to adjust the
Decision Slicer, Cartesian to Polar Converter, and the baseband sample frequency external to the HSP50210. In
Symbol Tracking Loop. The gain supplied by the AGC
typical applications, the frequency correction term is fed back
ranges from 1.0 to 1.9844*23.
to the HSP50110 to adjust baseband sampling via the
Resampling NCO (see HSP50110 Datasheet).
3-14
REGISTER ENABLE RATE
! = SYMBOL RATE
BLANK = CLK RATE
SYMBOL TRACK
LOOP FILTER
LEAD GAIN
3-15
SHIFT
TRANSITION
MUX
MID-POINT SOF
-
HSP50210
SYMBOL SAMPLES
I + SERIAL
MID MID-SYMBOL
MID AND END
“0” +
ACCUM.
OUTPUT
ERROR
!
INVERT
ERROR
FORMATTER
SHIFT
LIMIT
‘0’ ‘1’ ‘-1’
MUX
REG
! MUX +
TRANSITION + SOFSYNC
DETECT MUX “0”
MUX
Q DATA MUX
ZERO
END DECISION TRANSITION TO
MUX SINGLE/ LAG
MID-POINT MUX REG µP
DOUBLE LOAD INTERFACE
- RAIL REG REG
Q ACC ACC LIMITS
MID
+ ‘0’ INVERT
MID-SYMBOL SAMPLING UPPER/LOWER
ERROR REG REG
LAG
ACCUMULATOR
LAG LAG
EXPONENT EXPONENT
ACQ TRACK
LAG LAG
MANTISSA MANTISSA
ACQ TRACK
LAG GAIN
3-16
HSP50210
SIGN/MAGNITUDE
INPUT POLARITY
COMPLEMENT
‘1’ DECISION ‘0’ DECISION RELATIVE TO
OUTPUT
OUTPUT
‘1’ ‘0’
SIGNAL
TWO’S
THRESHOLD
THRESHOLD
THRESHOLD
STRONGER WEAKER WEAKER STRONGER
PROBABILITY
1x
2x
3x
DENSITY
FUNCTION
THRESHOLD
2x THRESHOLD
3x THRESHOLD
-0.5 0.0 0.5
+ > > ≤ 010 010
3-17
HSP50210
In applications where Phase Error terms are generated The Carrier Tracking Loop is closed by using the loop filter
faster than the processing rate of the Carrier Loop Filter, an output to control the NCO or VCO used to down convert the
error accumulator is provided to accumulate errors until the channel of interest. In basic configurations, the frequency
loop filter is ready for a new input. Phase Error terms are correction term controls the Synthesizer NCO in the
generated at the rate I/Q samples are input to the Cartesian HSP50110 Digital Quadrature Tuner via the COF and
to Polar Converter. However, the Carrier Loop Filter can not COFSYNC pins of the HSP50210’s serial interface (see
accept new input faster than CLK/6 since six CLK(f CLK) Serial Output Section). In applications where the carrier
clock edges are required to complete its processing cycle. If tracking is performed using the NCO on board the
the error accumulator is not used and the I/Q sample rate HSP50210, the loop filter output is fed to the on-board NCO
exceeds CLK/6, error terms will be missed. as a frequency control.
NOTE: The carrier Phase Error terms input to the loop filter are
only generated from the end-symbol samples when the output
The gain for the lead and lag paths of the Carrier Loop Filter
of the I&D filter is selected for input to the Cartesian-to-Polar are set through a programmable mantissa and exponent.
converter. The mantissa is a 4-bit value which weights the loop filter
NOTE: The loop filter lead gain term must be scaled accordingly input from 1.0 to 1.9375. The exponent defines a shift factor
if the accumulator is used. that provides additional weighting from 2-1 to 2-32. Together
90o
the loop gain mantissa and exponent provide a gain range
EXPECTED
θE Q CONSTELLATION between 2-32 and ~1.0 as given by,
POINT
X X
ACTUAL
I
Lead/Lag Gain = (1.0+M*2-4)*2-(32 -E) (EQ. 11)
CONSTELLATION ±180o 0o
POINT
where M = a 4-bit binary number from 0 to 15, and E is
X X
DECISION a 5-bit binary value ranging from 0 to 31. For example, if
REGION
BOUNDARY M = 0101 and E = 00110, the Gain = 1.3125*2-26. The loop
-90o
INPUT TO CARTESIAN/POLAR CONVERTER gain mantissa and exponent are set in the Carrier Loop Gain
90o 22.5o Control Registers (see Tables 24 - 25).
DECISION Q Q
45o DECISION
REGION X
REGION θE The Phase Error input to the Carrier Loop Filter is an 8-bit
BOUNDARY BOUNDARY
I 0o
fractional two’s complement number between ~1.0 to -1.0
±180o ±45o 0o
X X X (Format -20. 2-12-22-32-42-52-62-7). Some LSB’s are zero
θE I
for BPSK, QPSK and 8-PSK. If minimum loop gain is used,
the Phase Error is shifted in significance by 2-32. With
X
-90o -22.5o maximum loop gain, the Phase Error is passed almost
PHASE ROTATION BY 45o MULTIPLICATION BY 4
unattenuated. The output of the Carrier Loop filter is a 40-bit
(MODULO 2π)
fractional two’s complement number between ~1.0 and -1.0
PROJECTION OF PHASE ERROR (θE) ABOUT 0o
(Format -20. 2-12-22-3..... 2-392-40). In typical applications,
FIGURE 14. PHASE ERROR DETECTOR OPERATION (QPSK) the 32 MSBs of the loop filter output represent the
frequency control word needed to adjust the down
TABLE 8. BASIC PHASE ERROR DETECTOR SETTINGS
converting NCO for phase lock. Tables 9 and 10 illustrate
PHASE ER- the bit weighting of the Carrier Loop Filter into the NCO for
MODULATION PHASE SHIFT ROR
both tracking and acquisition sweep modes.
TYPE OFFSET FACTOR RANGE
3-18
REGISTER ENABLE RATE
REG
FRZ_CT @ = SYNC RATE
CARRIER *! == SYMBOL
TWICE SYMBOL
RATE
LOOP FILTER
CARRIER LEAD GAIN BLANK = CLK RATE
CARRIER PHASE
ERROR DETECT LEAD LEAD
EXPONENT EXPONENT
PHASE
FROM CARTESIAN
OFFSET
CONVERTER
MANTISSA MANTISSA
TO POLAR
ACQ TRACK
3-19
LEAD/LEAD + LAG
+ ZERO MUX
LEAD
MUX
“0”
SHIFT SHIFT LEFT
REG
REG
SHIFT
MUX
MUX
0, 1, 2, 3 TO NCO
@ OR !
REG “0”
ACCUM.
ERROR
INVERT
ERROR
PHASE ERROR + SERIAL COF
TO LOCK
(θE)
MUX
DETECT
MUX
OUTPUT
SHIFT
MUX
REG
LIMIT
+ + FORMATTER COFSYNC
“0” MUX
MUX
INVERT ZERO LAG/LEAD + LAG
DELAY MUX
HSP50210
@ OR * PHASE LAG
(1, 2, 4, 8, 16) LOAD
SELECT BLOCK
MANTISSA MANTISSA TO
FROM UPPER/LOWER REG µP
- ACQ TRACK MICROPROCESSOR
+ LAG LAG INTERFACE
EXPONENT EXPONENT INTERFACE
DISCRIMINATOR ACQ TRACK
LAG
CARRIER LAG GAIN ACCUMULATOR
FREQUENCY
ERROR
SHIFT
MUX
MUX
SHIFT
+ EXPONENT
“0”
MUX
ZERO MUX ZERO
AFC MUX
FREQUENCY INVERT SWEEP
SHIFT CARRIER FREQUENCY MANTISSA MANTISSA
ACQ TRACK SWEEP RATE
SHIFT LEFT FREQUENCY ERROR EXPONENT EXPONENT MANTISSA
0, 1, 2, 3 ERROR DETECT ACQ TRACK ACQ
TABLE 9. BIT WEIGHTING IN THE CARRIER LOOP FILTER TO THE NCO - TRACKING
φe BITS OUTPUT
BIT (AND MANTISSA MULT KEPT SHIFT NCO BIT FREQUENCY
WEIGHT ACCOM.) GAIN OUT (RND) SHIFT = 0 SHIFT ≅ 32 COUNTS WEIGHT RESOLUTION
40 0 f CLK
39 Obtained with a shift of 31 and a Gain of 01.1111 (~2) → (8) - shift31 1 f CLK /2
38 7. - shift31 2 f CLK /4
37 6 - shift30 3 f CLK /8
36 5 - shift29 4 f CLK /16
35 4 - shift28 5 f CLK /32
34 3 - shift27 6 f CLK /64
33 2 - shift26 7 f CLK /128
32 1 - shift25 8 f CLK /256
31 0 - shift24 9 f CLK /512
30 - shift23 10 f CLK /1024
29 - shift22 11 f CLK /2048
28 - shift21 12 f CLK /4096
27 - shift20 13 f CLK /8192
26 - shift19 14 f CLK /214
25 - shift18 15 f CLK /215
24 - shift17 16 f CLK /216
23 - shift16 17 f CLK /217
22 - shift15 18 f CLK /218
21 - shift14 19 f CLK /219
20 - shift13 20 f CLK /210
19 - shift12 21 f CLK /221
18 - shift11 22 f CLK /222
17 - shift10 23 f CLK /223
16 - shift9 24 f CLK /224
15 - shift8 25 f CLK /225
14 - shift7 26 f CLK /226
13 17 - shift6 27 f CLK /227
12 (12) 16 17 = (12) (12) - shift5 28 f CLK /228
11 (11) 15 16 = (11) (11) - shift4 29 f CLK /229
10 (10) 14 15 = (10) (10) - shift3 30 f CLK /230
9 (9) 13 14 = (9) (9) - shift2 31 f CLK /231
8 (8) 0 12 13 = (8) (8) - shift1 32 f CLK /232
7 7. 1. 11. 12. = 7. 7. - shift0 33 f CLK /234
6 6 x 10 11 =6 6 34 f CLK /234
5 5 x 9 10 =5 5 35 f CLK /235
4 4 x 8 9 =4 4 36 f CLK /236
3 3 x 7 8 =3 3 37 f CLK /237
2 2 6 7 =2 2 38 f CLK /238
1 1 5 6 =1 1 39 f CLK /239
0 0 4 5 =0 0 40 f CLK /240
3 (RND)
2
1
0
3-20
HSP50210
TABLE 10. BIT WEIGHTING IN THE CARRIER LOOP FILTER TO THE NCO - SWEEP
OUTPUT
BIT SWEEP FREQUENCY
WEIGHT φe MANTISSA GAIN SHIFT = 0 SHIFT = 32 SHIFT COUNTS NCO BIT WEIGHT RESOLUTION
40 0 f CLK
39 Shift 27 and Gain = 01.1111 → (8) - shift28 1 f CLK /2
38 7. - shift27 2 f CLK /4
37 6 - shift26 3 f CLK /8
36 5 - shift25 4 f CLK /16
35 4 - shift24 5 f CLK /32
34 3 - shift23 6 f CLK /64
33 2 - shift22 7 f CLK /128
32 1 - shift21 8 f CLK /256
31 0 - shift20 9 f CLK /512
30 - shift19 10 f CLK /1024
29 - shift18 11 f CLK /2048
28 - shift17 12 f CLK /4096
27 - shift16 13 f CLK /8192
26 - shift15 14 f CLK /214
25 - shift14 15 f CLK /215
24 - shift13 16 f CLK /216
23 - shift12 17 f CLK /217
22 - shift11 18 f CLK /218
21 - shift10 19 f CLK /219
20 - shift9 20 f CLK /210
19 - shift8 21 f CLK /221
18 - shift7 22 f CLK /222
17 - shift6 23 f CLK /223
16 - shift5 24 f CLK /224
15 - shift4 25 f CLK /225
14 - shift3 26 f CLK /226
13 - shift2 27 f CLK /227
12 (12) 0 5 - shift1 28 f CLK /228
11 (11) 1. 4. - shift0 29 f CLK /229
10 (10) x 3 30 f CLK /230
9 (9) x 2 31 f CLK /231
8 (8) x 1 32 f CLK /232
7 7. x 0 33 f CLK /234
6 6 z 34 f CLK /234
5 5 z 35 f CLK /235
4 4 z 36 f CLK /236
3 3 z 37 f CLK /237
2 2 z 38 f CLK /238
1 1 z 39 f CLK /239
0 0 z 40 f CLK /240
NOTE:
5. SWmin = 2-29 at 1% FLB, 4Mclk, 0.075Hz/Baud = 12Kbps.
3-21
HSP50210
Frequency Sweep Block Error Detector. For PSK demodulation, this block is bypassed
by setting the offset and shift terms to zero (see Frequency
The Frequency Sweep Block is used during carrier acquisition
Error Detector Control Register; Table 19). The frequency error
to sweep the range of carrier uncertainty. The Sweep Block is
term may be selected for output via the Output Select Block.
loaded with a programmable value which is input to the lag path
(See Serial Output Configuration Control Register, Table 42).
of the Carrier Tracking Loop Filter when frequency sweep is
enabled. The sweep value is accumulated by the loop filter’s lag
accumulator which causes a frequency sweep between the
Automatic Frequency Control (AFC)
accumulator’s upper and lower limits. When one of the limits is Loop Filter
reached, the sweep value is inverted to sweep the frequency The AFC Loop Filter supplies a frequency correction term to
back toward the other limit. The Frequency Sweep Block is the lag path of the Carrier Loop filter. The frequency
controlled by the Lock Detector and is only enabled during correction term is generated by weighting the output of the
carrier acquisition (see Lock Detector Control Section). Frequency Error Detector by a user programmable weight
(see Sweep/AFC Control Register; Table 26). Note: If AFC is
A stepped acquisition mode is provided for microprocessor
not desired, the frequency error term to the loop filter is
controlled acquisition. In the stepped acquisition mode, the lag
nulled via the Carrier Tracking Configuration Control
accumulator is incremented or decremented by the
Register #2 (see Table 21).
programmed sweep value each time the lock detector is
restarted during acquisition. This technique prevents the loop
Serial Output Interfaces
from sweeping past the lock point before the microprocessor
can respond. Typically in stepped acquisition mode, the step Frequency control data for Carrier and Symbol Tracking is
value is set to a percentage of the loop bandwidth. A dwell output from the DCL through two separate serial interfaces.
counter is also provided for stepped acquisition. This counter The Carrier Offset frequency control is output via the COF
holds off the lock detector integration from 1 to 129 symbols to and COFSYNC pins. The Symbol Tracking Offset frequency
allow the loop to settle before starting the integration. control is output via the SOF and SOFSYNC pins. A
SLOCLK is provided to allow for reduced serial rate data
The sweep value is set via a programmable mantissa and exchanges. The timing relationship of these signals is shown
exponent. The format is 01.MMMM * 2-(28 - EEEEE) where in Figure 16.
MMMM is the 4-bit mantissa and EEEEE is the 5-bit exponent
and the weighting is relative to the MSB of the NCO control
word. In swept acquisition mode, the sweep value is the amount CLK
3-22
HSP50210
whether the Carrier Tracking Loop is locked to the input The False Lock Detector is used to indicate false lock on
signal. Note: The Symbol Tracking Loop locks square wave data in a high SNR environment. A false lock
independently; under most circumstances, it will lock condition is detected by monitoring the final integration stage
before the Carrier Tracking Loop locks up. Based on the in the Q branch of the Integrate and Dump Filter (see Figure
in-lock/out-of-lock decision, either the Acquisition or Tracking 3). If the magnitude of the integration over the symbol period
parameters are selected in the Carrier Tracking Loop, the is less than the integration over half a symbol period, a
Symbol Tracking Loop and in the Lock Detector itself. The possible false lock condition is detected; (integration over a
Lock Detector can be configured either to make the “lock” symbol period has gone from end-bit to end-bit, while
decision automatically using the State Machine Control integration over half the symbol period has gone from the
Mode, or to collect the necessary data so that an external previous end-bit to mid-bit). By accumulating the number of
these occurrences over the Integration Period, the Lock
microprocessor can control the acquisition/tracking process
Detector State Machine determines whether a false lock
via the Microprocessor Control Mode (see Figure 22).
condition exists. The False Lock Accumulator is used to
In State Machine Control Mode, the Lock Detector State accumulate the number of possible false lock occurrences
Machine monitors the outputs of the Phase Error Accumulator over the Integration Period. The False Lock Accumulator can
and the False Lock Accumulator to determine the Lock also be configured to accumulate the output of the
Detector state. Accumulation effectively averages the Phase Frequency Error Detector (see Lock Detection Configuration
Error and false lock count, reducing their variance. Lock is Control Register bit 27: Table 34).
detected by accumulating the magnitude of the Phase Error The Gain Error Accumulator provides a mechanism to
over a predetermined interval up to 1025 symbols (the estimate data quality (Es/No). The accumulator integrates
Integration Time). When the Carrier Loop is locked, the the magnitude of the gain error of the end-bit samples, over
Integration Period will end before an overflow occurs in the the Integration Period. Note: The Gain Error end-bit data
Phase Error Accumulator. At the beginning of a lock detection is valid only after lock has been declared, and the
cycle, the Phase Error Accumulator and the Integration Counter demod is the tracking mode. The accumulated value
are loaded with their respective pre-load values. With each end gives an indication of the variance about the ideal
bit sample, the Phase Error Accumulator adds the magnitude of constellation points. The accumulator output is read via the
the current Phase Error to its accumulated sum, while the Microprocessor Interface. The Gain Error Accumulator is
Integration Counter decrements one count. The Lock Detector always pre-loaded with zero.
State Machine monitors the overflow bit of the Phase Error For applications where stepped acquisition is used, a Dwell
Accumulator and the output of the Integration Counter. If the Counter is provided. In this mode, the lag accumulator in the
Phase Error Accumulator overflows before the Integration Carrier Loop Filter is stepped to a new frequency after each
Counter reaches zero, then the accumulated Phase Error is too Lock Detector integration. The Dwell Counter is used to hold
large for the Carrier Tracking Loop to be in lock and the Lock off Lock Accumulator integration until the loop has a chance
Detector State Machine goes into the Search state (see Lock to settle.
Detector State Machine below). In the search state, the loop
parameters are reloaded with “Acquisition” rather than Lock Detector Control
“Tracking” values. When the Phase Accumulator overflows or The selection of acquisition and tracking modes is controlled
when the Integration Counter reaches zero, the Integration by either the internal state machine or an external
Counter and the accumulators are re-initialized and the process microprocessor. The internal state machine monitors the
begins again. The Integration Counter Pre-load corresponds to rollover of the Phase Error Accumulator and the False Lock
the number of symbols over which to integrate. The Phase Accumulator relative to the Integration Counter. Depending
Error Preload corresponds to the distance the Phase Error on whether the accumulators or counter roll over first, the
acquisition or tracking parameters are selected for the Loop
Accumulator starts away from overflow. This distance divided
Filters and the Lock Detector Accumulators. In addition, the
by the Integration Period equals the average Phase Error. The
state machine controls the frequency sweep input to the
pre-load value is calculated using:
Carrier Tracking Loop.
Preload = (EQ. 12) The flow of the acquisition control is shown in the State
Full Scale – ---------------------------------------------- x 128 x Integration Count
Lock Threshold Diagram in Figure 17. The state machine controls the
Full Scale Phase
acquisition process as described below:
where Search. The frequency uncertainty is swept by enabling the
Full scale = 218-1 Frequency Sweep Block to the lag path of the Carrier
Tracking Loop Filter. The acquisition parameters are enabled
Full scale phase = 180o for CW, 90o for BPSK, 45o for QPSK, to the Loop Filters and the Lock Detector Accumulators.
etc; Phase lock is obtained when the Lock Counter rolls over
Lock Threshold <45o for BPSK, <22.5o for QPSK, etc. before the Phase Error Accumulator (average Phase Error is
(typical after shift); and Integration Count = Integration less than the lock threshold).
Period measured in symbol times.
3-23
HSP50210
Verify. Once phase lock is obtained, the frequency sweep is are monitored by an external processor to determine when
disabled and the tracking parameters are enabled. Lock is lock has been achieved. In this mode the accumulator pre-
verified if the accumulated Phase Error is below the loads are typically set to zero and the accumulator output is
threshold for a programmable number of Integration Periods. compared in the processor against a threshold equal to the
False lock conditions are also monitored by comparing the maximum Phase Error per sample times the number of
roll over of the False Lock Accumulator to that of the samples per Integration Period. The accumulators stop after
Integration Counter. If the False Lock Accumulator rolls over each Integration Period to hold their outputs for reading via
before the Integration Counter, a false lock condition exists. the Microprocessor Interface (see Read Enable Address Map;
False Lock. Once a false lock has been determined, the Table 11). The accumulators are restarted by writing the
Frequency Sweep block is enabled to move the carrier Initialize Lock Detector Control address (see Initialize Lock
tracking beyond the false lock region. The Frequency Sweep Detector Control Register: Table 44). To simplify the processor
is performed for a programmable number of Integration interface, the LKINT output is provided to interrupt the
Periods before returning to the search state. processor when the accumulator integration period is
Lock. When phase lock has been verified, the Lock status complete. The processor controls the use of the
output is asserted and the False Lock Detector is disabled. acquisition/tracking parameters and lock status line by setting
The lock state is maintained as long as the Integration the appropriate bits in the Acquisition/Tracking Configuration
Counter rolls over before the Phase Error Accumulator. Control Register (see Table 37). In addition, the frequency
sweep function is enabled via the Microprocessor Interface.
If the acquisition and tracking process is controlled externally,
the Phase Error Accumulator and False Lock Accumulators
DWELL INTEGRATION
MUX
MUX
MUX
+ + +
COUNTER COUNTER
TC START TC
REG REG REG
SWEPT
OVERFLOW OVERFLOW
ACQUIRE/
TRACK
3-24
HSP50210
INTEGRATION
INTEGRATION COUNTER
COUNTER FINISHES FINISHES BEFORE
BEFORE LOCK PHASE ERROR VERIFY
PHASE ERROR ACCUMULATOR
ACCUMULATOR AND VERIFY
COUNTER DONE
INTEGRATION COUNTER
FINISHES BEFORE
PHASE ERROR
ACCUMULATOR AND
FALSE FALSE LOCK VERIFY COUNTER
LOCK COUNTER ACCUMULATOR NOT DONE
DONE BEFORE
LOCK COUNTER
FALSE
LOCK
FALSE
LOCK COUNTER
NOT DONE
3-25
HSP50210
The status bit definition is: TABLE 11. READ/WRITE ADDRESS MAP FOR
MICROPROCESSOR INTERFACE (Continued)
STATUS BIT DEFINITION R/
W A2-0 DESCRIPTION
6 Carrier Tracking Loop Lock
W 101 Read Address Register. The address loaded into this
5 Acq/Trk register specifies an internal read point as given the by
4 Frequency Sweep Direction address map in Table 12. Addresses outside the range
0-4 are invalid.
3 High Power
R 000 Selects output holding register bits 7-0 for output on
2 Low Power C7-0 respectively. Bit 0 is the LSB of the internal hold-
ing register.
1 Data Rdy
To simplify the output interface, a symbol clock (SMBLCLK) R 001 Selects output holding register bits 15-8 for output on
C7-0, respectively.
is output which is synchronous to the soft bit decisions
produced by the Slicer. The SMBLCLK is a 50% duty cycle R 010 Selects output holding register bits 23-16 for output on
clock whose rising edge is centered in the middle of the C7-0, respectively.
output data period for both the soft bit decisions and the end- R 011 Selects output holding register bits 31-24 for output on
symbol samples, as shown in Figure 19. C7-0, respectively. Bit 31 is the MSB.
3-26
HSP50210
(4) 32-Bit Carrier Loop Letter Lag Acc. Output 0 Carrier Loop Filter Lag Accumulator. Enables output
of holding register containing 32 MSBs of the lag
(4) 32-Bit Symbol Tracking Loop Letter Lag Acc. Output accumulator.
(1) 8-Bit AGC Loop Letter Output 1 Symbol Tracking Loop Filter Lag Accumulator.
Enables output of holding register containing 32
(2) 16-Bit Lock Detector φe Acc. Output
MSBs of the lag accumulator.
(2) 16-Bit Lock Detector GE Acc. Output
2 AGC GAIN. Enables output of holding register
(2) 16-Bit Lock Detector FL/FE Acc. Output containing 8 MSBs of the AGC accumulator.
(1) 8-Bit Internal Status 3 Lock Detector 1. The 16 MSBs of the Lock
Detector’s Phase Error Accumulator and the 16
Total = 16 MSB’s of the False Lock Accumulator are enabled
for output. The accumulator contents are selected
A different read procedure is required depending on for output as follows, A2-0 = 3 (decimal) selects
whether the Lock Detector Accumulators, loop filter MSByte of the Phase Error Accumulator, A2-0 = 2
(decimal) selects LSByte of the Phase Error
accumulators, or the Status Register is to be read. The
Accumulator, A2-0 = 1 (decimal) selects MSByte of
read procedures are summarized in Figures 21 - 23. the False Lock Accumulator, and A2-0 = 0 (decimal)
selects LSByte of the False Lock Accumulator.
The accumulators in the AGC Loop Filter, Carrier Loop
Filter and Symbol Tracking Loop can be read via the 4 Lock Detector 2. Enables the 16 MSBs of the Lock
Microprocessor Interface. Since these accumulators are Detector’s Gain Error Accumulator for output. The
free running, their contents must be loaded into output MSByte of the accumulator is selected for output by
setting A2-0 = 1, and the LSByte is selected by
holding registers before they can be read. Each
A2-0 = 0.
accumulator has its own output holding register. The three
holding registers are updated by loading 29 (decimal) into The contents of the three accumulators in the Lock Detector
the Write Address Register of the Microprocessor Interface. can also be read via the Microprocessor Interface. However,
The output of a particular holding register is then enabled the Lock Detector must be stopped before a read can be
for reading by loading its address into the Read Address performed. In State Machine Control Mode, the Lock
Register (see Tables 13 and 14). The holding register Detector is stopped by loading 24 (decimal) into the Write
addresses for the loop filter accumulators range from 0 to 4 Address Register. In Microprocessor Control Mode, the Lock
as given in Table 12. The contents of the output holding Detector stops after each Integration Period. To determine
registers are multiplexed out a byte at a time on C7-0 by when the Lock Detector has stopped and is ready for
changing A2-0 and asserting RD (see Read/Write Address reading, bits 7 and 6 of the Internal Status Register (SR7&6)
Map in Table 11). must be monitored (see Table 15). The control sequence for
reading a Lock Detector Accumulator is shown in Figure 22.
The control sequence for reading a Lock Detector
Accumulator using the LKINT signal is shown in Figure 23.
3-27
HSP50210
WR
PROCESSOR
RD
SIGNALS
DON’T CARE
A0-2 0 1 2 3 4 0 1
C0-7
CLK
1 2 3 4
EARLIEST TIME ANOTHER
LOAD CAN BEGIN
NOTE: These processor signals are meant to be representative. The actual shape of the waveforms will be set by the microprocessor used. Verify
that the processor waveforms meet the parameters in the Waveforms Section of this data sheet to ensure proper operation. The Processor wave-
forms are not required to be synchronous to CLK. They are shown that way to clarify the illustration.
WR
PROCESSOR
RD
SIGNALS
DATA IS
C0-7 29 0 MSB LSB
ASYNCHRONOUS
TO CLK
CLK 1 2 3 4 5 6
1 2 3 4 5
NOTE: These processor signals are meant to be representative. The actual shape of the waveforms will be set by the microprocessor used. Verify
that the processor waveforms meet the parameters in the Waveforms Section of this data sheet to ensure proper operation. The Processor wave-
forms are not required to be synchronous to CLK. They are shown that way to clarify the illustration.
1 Load the Write Address Register with 29dec to load the output holding registers.
2 Enable Carrier Loop Filter Lag Accumulator holding register for reading.
3 Select the MSByte of the output holding register for output.
4 Assert RD low to output data on C0-7. (Must wait for 6 CLKs after loading the holding registers).
5 Select other bytes of holding register by changing A0-2 and asserting RD.
3-28
HSP50210
WR
PROCESSOR
SIGNALS
RD
A0-2 4 5 4 3 2 1 0 4
C0-7 24 3 30 25
PEMSW PELSW FLMSW FLLSW
SR7=0 SR7=1
SIGNALS
CLK
DCL
SR-7
1 2 3 4 5 6 7 8 6 8 6 8 6 8 9 10
NOTE: These processor signals are meant to be representative. The actual shape of the waveforms will be set by the microprocessor used. Verify
that the processor waveforms meet the parameters in the Waveforms Section of this data sheet to ensure proper operation. The Processor wave-
forms are not required to be synchronous to CLK. They are shown that way to clarify the illustration.
1 Load the Write Address Register with 24dec to halt the Lock Detector after the current integration cycle. This disables the reload of the integration
counter in the lock detector. The verify counter is not reset and will resume at the stopped value when the lock detector is restarted.
2 Load the Read Address Register with 3dec to enable the Lock Detector Phase Error Accumulator for reading.
3 Read Internal Status Register to monitor SR-7 to determine when the Lock Detector is stopped and ready to be read.
4 SR-7 goes high, indicating the Lock Detector integration cycle is complete, and ready to be read.
5 Read Internal Status Register and find SR-7 = 1; the Lock Detector is ready to be read.
6 Change Read address to (3; 2; 1; 0) for (Phase Error MSW; PE LSW; False Lock MSW; FL LSW) read.
7 End of Internal Status Valid Data.
8 Assert RD to Read Lock Detector Status
9 Load The Write Address Register with 30dec to initialize Lock Detector Accumulators and Reset the Integration counters. (Not needed for state
machine mode).
10 Load the Write Address Register with 25dec to restart the Lock Detector.
7 Lock Detector Stopped and Ready for Reading 3 Lock. Carrier Lock state achieved by Lock Detector.
(State Machine Control Mode). 0 = Not locked.
0 = Lock Detector not stopped. 1 = Locked.
1 = Lock Detector stopped, ready for read.
2 Acquisition/Track. Indicates whether the Lock Detector is in
6 Lock Detector Stopped and Ready for Reading acquisition or tracking mode.
(Microprocessor Control Mode). 0 = Tracking Mode.
0 = Lock Detector not stopped. 1 = Acquisition Mode.
1 = Lock Detector stopped, ready for read.
1 Reserved.
5 Carrier Loop Filter Lag Accumulator Load Complete. This bit
0 Frequency Sweep Direction, defined for upper sideband sig-
is used to determine when a 32-bit load of Carrier Lag Accu-
nals.
mulator is complete. The accumulator load is initialized by
0 = UP.
loading the Write Address Register with 13 (decimal) as de-
1 = DOWN.
scribed in Table 27.
0 = Load not complete.
1 = Load complete.
3-29
HSP50210
WR
PROCESSOR
SIGNALS
RD
A0-2 5 3 2 1 0 4 4
CLK
SIGNALS
DCL
SR-7
LKINT
1 2 3 4 5 6 5 6 5 6 5 7 8 9 10
NOTE: These processor signals are meant to be representative. The actual shape of the waveforms will be set by the microprocessor used. Verify
that the processor waveforms meet the parameters in the Waveforms Section of this data sheet to ensure proper operation. The Processor wave-
forms are not required to be synchronous to CLK. They are shown that way to clarify the illustration.
1 LKINT Asserts Indicating End of Lock Detector Accumulation Cycle; Accumulators Ready to Read.
2 Set A0-2 to 5 for Reading Lock Detector.
3 Load Read Address Register with 3dec to enable the Lock Detector Phase Error Accumulator for Reading.
4 Set A0-2 to 3 for Phase Error (PE) Read.
5 Assert RD and read (Phase Error (PE) MSW; PE LSW; False Lock (FL) MSW; FL LSW).
6 Change Read Address to (2; 1; 0) to read various Lock Detection values.
7 Change Address to 4 to Initialize the Lock Detector.
8 Load Write Address Register with 30dec to initialize the Lock Detector Accumulators and Reset Integration Counters. (Only has an effect in µP
mode).
9 Keep Address to 4 to Restart the Lock Detector.
10 Load Write Address Register with 25dec to restart the Lock Detector. (Only necessary if not in the µP mode).
CLK
RD
A0-2 4
C7-0
3-30
HSP50210
DESTINATION ADDRESS = 0
BIT
POSITION FUNCTION DESCRIPTION
26-24 Integrate/Dump Shifter These bits set the shifter attenuation in the Integrate/Dump Filter.
Gain 000 = No Shift (Gain = 20).
001 = Right Shift 1 (Gain = 2-1).
010 = Right Shift 2 (Gain = 2-2).
011 = Right Shift 3 (Gain = 2-3).
100 = Right Shift 4 (Gain = 2-4).
Other Codes are invalid.
23-16 Input Level Detector This register sets the magnitude threshold for the Input Level Detector (see Input Level Detector
Threshold Section). This 8-bit value is a fractional unsigned number whose format is given by:
20. 2-1 2-2 2-3 2-4 2-5 2-6 2-7.
The possible threshold values range from 0 to 1.9961 (00 - FF hex). The magnitude range for complex
inputs is 0.0 - 1.4142 while that for real inputs is 0.0 - 1.0. Note: The algorithm used to estimate
threshold produces a maximum output of 1.375, therefore a threshold of greater than 1.375 will
never be exceeded.
9 Demodulation/Loop 0 = Error detector outputs routed to Loop Filters (Normal Mode of Operation).
Filter Mode 1 = Part functions as dual Loop Filters. The IIN9-0 input is routed to the Symbol Loop Filter; the QIN9-
Select 0 input is routed to the Carrier Loop Filter. Data is gated into the Loop Filters with the assertion of SYNC.
5 Integrate and Dump 0 = Input taken from output of Frequency Discriminator (FSK routing).
Input Select 1 = Input taken from output of AGC Multiplier (Select this setting for PSK demodulation).
3-31
HSP50210
DESTINATION ADDRESS = 1
BIT
POSITION FUNCTION DESCRIPTION
7-0 Power Threshold The THRESH output is driven low when the magnitude output of the Cartesian to Polar Converter
exceeds the threshold programmed here. The threshold is represented as an 8-bit fractional unsigned
value with the following format:
20. 2-1 2-2 2-3 2-4 2-5 2-6 2-7.
Using this format, the possible range of threshold values is between 0 to 1.9961. Bit position 7 is the MSB.
DESTINATION ADDRESS = 2
BIT
POSITION FUNCTION DESCRIPTION
30-28 AGC Loop Gain These bits set the loop gain exponent as given by:
Exponent (E) AGC Loop Gain Exponent = 2 -(7 + EEE)
where EEE corresponds to the 3-bit binary value programmed here. Thus, a gain range from 2-7 to 2-14
may be achieved for EEE = 000 to 111 Binary. Bit position 30 is the MSB. See Table 3.
27-24 AGC Loop Gain The loop gain mantissa is represented as a 4-bit unsigned value with the following format:
Mantissa (M) AGC Loop Gain Mantissa = 0. 2-12-22-32-4; 0.MMMM.
This format provides a mantissa range from 0.0 to 0.9375 for mantissa settings from 0000 to 1111 Binary.
Bit position 27 is the MSB. Mantissa resolution = 0.0625. See Table 2.
23-16 AGC Threshold The AGC gain error is generated by subtracting the threshold value programmed here from the
magnitude value out of the Cartesian to Polar Converter. The binary format for the AGC Threshold is the
same as that for the Power Threshold given in Table 15.
15-8 AGC Upper Limit The upper 8 bits of the AGC Accumulator set the AGC gain as given by Equation 8A. The value
programmed here sets upper limit for AGC gain by specifying a limit for the upper 8 bits of the AGC
accumulator. If the accumulated sum exceeds the upper limit, the accumulator is loaded with the limit.
These bits are packed as eemmmmmm where the e’s correspond to the exponent bits and the m’s
correspond to the mantissa bits of Equation 8 (see also Figure 8). Bit position 15 is the MSB. By setting the
AGC upper and lower limits to the same value, the AGC can be set to a fixed gain.
7-0 AGC Lower Limit The value programmed here sets the lower limit for the upper 8 bits of the AGC accumulator in a manner
similar to that described for the upper limit. If the accumulated sum falls below the lower limit, the
accumulator is loaded with the limit. The format for these bits is as described for the upper limit. By setting
the AGC upper and lower limits to the same value, the AGC can be set to a fixed gain.
DESTINATION ADDRESS = 3
BIT
POSITION FUNCTION DESCRIPTION
3-32
HSP50210
DESTINATION ADDRESS = 3
BIT
POSITION FUNCTION DESCRIPTION
5-2 Phase Offset These bits set the phase offset added (modulo 2π) to the phase output of the Cartesian to Polar
Converter. The phase offset is represented as a 4-bit fractional 2’s Complement value with the following
binary format:
Phase Offset = -20. 2-12-22-3.
This format provides a range from 0.875 to -1 (0111 to 1000) which corresponds to phase offset settings
from 7π/8 to -π respectively. Resolution of 22.5o is provided. Bit position 5 is the MSB.
1-0 Shift Factor The bits set the left shift required by the Carrier Phase Error Detector. These two bits specify a left shift
of 0, 1, 2 or 3 places. MSBs are discarded and LSBs are zero-filled. Bit 1 is the MSB.
DESTINATION ADDRESS = 4
BIT
POSITION FUNCTION DESCRIPTION
2-0 Discriminator Delay The frequency detector (discriminator) computes frequency by subtracting a delayed phase term from
the current phase term (dθ/dt). A programmable delay is used to set the discriminator gain. These bits
set the delay as given by:
Delay = 2K,
where K is the 3-bit value programmed here. Delays of 1, 2, 4, 8, and 16 are possible.
DESTINATION ADDRESS = 5
BIT
POSITION FUNCTION DESCRIPTION
7-3 Frequency Offset These bits set the frequency offset added (modulo) to the frequency output of the discriminator. The frequency
offset is represented as a 5-bit fractional 2’s complement value with the following binary format:
Frequency Offset = -20. 2-12-22-32-4.
This format provides a range from 0.9375 to -1.0 (0111 to 1000). The range and resolution of the
frequency offset depend on the discriminator delay and input rate. The frequency offset is added to the
5 MSBs of the discriminator output. Note: Set the frequency offset to 0 when using frequency aided
acquisition with PSK waveforms.
2-0 Shift Factor These bits set the left shift required by the Frequency Error Detector. These two bits set a left shift of 0,
1, 2, 3, or 4 places. Bit 2 is the MSB. Values greater than 4 are invalid. Note: Set the shift factor to 0
when using frequency aided acquisition with PSK waveforms.
DESTINATION ADDRESS = 6
BIT
POSITION FUNCTION DESCRIPTION
6 Lead/Lag to Serial 0 = The Carrier Loop Filter’s Lag Accumulator is routed to the Serial Output Controller.
Output Routing 1 = The lead and lag paths in the Carrier Loop Filter are summed and routed to the Serial Output
Controller.
3-33
HSP50210
DESTINATION ADDRESS = 6
BIT
POSITION FUNCTION DESCRIPTION
5 Lead/Lag to Internal 0 = Sum of lead and lag paths routed to the internal NCO. (32 MSBs of sum are routed).
NCO Routing 1 = The lead term is routed to the internal NCO. (32 MSBs of lead term are routed).
4-0 Error Accumulation These bits set the number of phase and frequency error measurements that are accumulated before the
Carrier and AFC Loop Filters are run. Since the Loop Filters can only accept new inputs every 6 CLKs
(normally at the symbol rate), the error accumulation is required to ensure that no phase or frequency
error outputs are missed when error terms are generated at a rate greater than 1/6 CLK (see Carrier
Phase Error Detector Section). The 5-bit value programmed here should be set to one less than the
desired number of error terms to accumulate. For example, setting these bits to 0011 (BINARY) would
cause 4 error terms to be accumulated. A total range from 1 to 32 is provided.
When error accumulation is used, divide the Lead Gain by the number of errors accumulated. Note that
the LAG Gain does not need to be scaled since it increases to compensate for the delay, since it is an
accumulator.
DESTINATION ADDRESS = 7
BIT
POSITION FUNCTION DESCRIPTION
31-8 Not Used No programming required.
7-6 Reserved Reserved. Set to 0 for proper operation.
5 Lead Phase Error 0 = Carrier Phase Error enabled to lead processing path of loop filter.
Enable 1 = Carrier Phase Error to lead processing path of loop filter zeroed.
4 Lag Phase Error 0 = Carrier Phase Error enabled to lag processing path of loop filter.
Enable 1 = Carrier Phase Error to lag processing path of loop filter zeroed (First Order Loop).
3 AFC Enable 0 = Frequency error enabled to lag processing path of Carrier Loop Filter.
1 = Frequency error zeroed.
2 Carrier Sweep Enable 0 = Frequency sweep input to the lag path of the Carrier Loop Filter enabled.
1 = Sweep input to Carrier Loop Filter zeroed.
1 Invert Carrier Phase 0 = Carrier Phase Error is normal into Carrier Loop Filter.
Error 1 = Carrier Phase Error is inverted into Carrier Loop Filter.
0 Invert Carrier 0 = Carrier Frequency Error is normal into AFC loop filter.
Frequency Error 1 = Carrier Frequency Error is inverted into AFC Loop filter.
DESTINATION ADDRESS = 8
BIT
POSITION FUNCTION DESCRIPTION
31-0 Carrier Loop Filter The 32-bit two’s complement value programmed here sets the upper sweep and tracking limit of the Carrier
Upper limit Loop Filter by setting the upper limit of the loop filter’s lag accumulator. If the limit is exceeded, the upper 32
bits of the 40-bit accumulator are set to the limit, and the 8 LSBs are set to zero.
DESTINATION ADDRESS = 9
BIT
POSITION FUNCTION DESCRIPTION
31-0 Carrier Loop Filter The 32-bit two’s complement value programmed here sets the Lower sweep and tracking limit of the Carrier
Lower limit Loop Filter by setting the lower limit of the loop filter’s lag accumulator. If the running sum falls below the limit,
the upper 32 bits of the 40-bit accumulator are set to the limit, and the 8 LSBs are set to zero.
3-34
HSP50210
DESTINATION ADDRESS = 10
BIT
POSITION FUNCTION DESCRIPTION
31-24 Not Used No programming required.
23-18 Reserved Reserved. Set to 0 for proper operation.
17-14 Carrier Lead Gain These bits are the 4 fractional bits of the lead gain mantissa shown below.
Mantissa (Acquisition) Lead Gain Mantissa = 0 1. 2-12-22-32-4.
This format provides a mantissa range from 1.0 to 1.9375 for mantissa settings from 0000 to 1111 Binary.
Bit position 17 is the MSB.
13-9 Carrier Lead Gain These bits set the lead gain exponent as given by:
Exponent (Acquisition) Carrier Lead Gain Exponent = 2 -(32-E).
where E corresponds to the 5-bit binary value programmed here. Thus, a gain range from
2-1 to 2-32 (relative to the MSB position of the NCO control word) may be achieved for E = 11111 to 00000
Binary. Bit position 13 is the MSB.
8-5 Carrier Lag Gain Format same as lead gain mantissa. Bit position 8 is the MSB.
Mantissa (Acquisition)
4-0 Carrier Lag Gain Format same as lead gain exponent. Bit position 4 is the MSB.
Exponent (Acquisition)
DESTINATION ADDRESS = 11
BIT
POSITION FUNCTION DESCRIPTION
17-14 Carrier Lead Gain Format same as lead gain mantissa (see Table 24). Bit position 17 is the MSB.
Mantissa (Track)
13-9 Carrier Lead Gain Format same as lead gain exponent (see Table 24). Bit position 13 is the MSB.
Exponent (Track)
8-5 Carrier Lag Gain Format same as lead gain mantissa (see Table 24). Bit position 8 is the MSB.
Mantissa (Track)
4-0 Carrier Lag Gain Format same as lead gain exponent (see Table 24). Bit position 4 is the MSB.
Exponent (Track)
DESTINATION ADDRESS = 12
BIT
POSITION FUNCTION DESCRIPTION
26-23 Sweep Rate Mantissa Sets carrier track sweep rate used during acquisition (see Frequency Sweep Block Section). Format
(Acquisition) same as lead gain mantissa (see Table 24). Bit position 22 is the MSB.
22-18 Sweep Rate Exponent Sets carrier track sweep rate used during acquisition (see Frequency Sweep Block Section). Format
(Acquisition) same as lead gain exponent (see Table 24). Bit position 22 is the MSB. M = 0000,
E = 00000 is 2-28.
17-14 AFC Gain Mantissa Sets Frequency Error Gain. Format same as lead gain mantissa (see Table 24). Bit position 11 is the
(Acquisition) MSB.
13-9 AFC Gain Exponent Sets Frequency Error Gain. Format same as lead gain exponent (see Table 24). Bit position 4 is the MSB.
(Acquisition)
3-35
HSP50210
DESTINATION ADDRESS = 12
BIT
POSITION FUNCTION DESCRIPTION
8-5 AFC Gain Mantissa Sets Frequency Error Gain. Format same as lead gain mantissa (see Table 24). Bit position 11 is the
(Track) MSB.
4-0 AFC Gain Exponent Sets Frequency Error Gain. Format same as lead gain exponent (see Table 24). Bit position 4 is the MSB.
(Track)
DESTINATION ADDRESS = 13
BIT
POSITION FUNCTION DESCRIPTION
N/A Carrier Lag Writing this address initializes the lag accumulator with the contents of the 4 Microprocessor Interface
Accumulator Holding Registers at the start of the next Carrier Loop Filter Computation cycle. The contents of the hold-
Initialization ing registers should not be changed until after the start of a new compute cycle, since the current contents
of the holding registers are loaded at the compute cycle start. The Microprocessor Interface can be used
to read an Internal Status Register which signals when the lag accumulator load is complete (see Micro-
processor Interface Section). The contents of the holding registers are loaded into the 32 MSBs of the
lag accumulator and the 8 LSBs are zeroed.
It is good practice to load the LAG Accumulators at the very end of a configuration load sequence.
DESTINATION ADDRESS = 14
BIT
POSITION FUNCTION DESCRIPTION
12-11 Sampling Error Shift The sampling error shifter is provided to left shift the sampling error to full scale before input to the Symbol
Factor Tracking Loop Filter. The magnitude of the sampling error varies with the number of symbol decision levels,
and a left shift of 1 to 4 places is provided as required by modulation order. Suggested settings are provided
below:
00 = x2 2 levels on each rail (BPSK, QPSK).
01 = x4 4 levels on each rail (8 PSK).
10 = x8 8 levels on each rail.
11 = x16 16 levels on each rail.
Note: Saturation is provided in case of overflow.
10-9 Modulation Order These bits set the threshold levels used by the symbol decision blocks in the Sampling Error detector. The
Select end-symbol samples on either the I or Q processing path are compared against the selected threshold set
to determine the expected symbol value used in calculating the transition midpoint. The threshold levels
can be set for up to 16ary signals on both the I and Q processing path. The decision thresholds are set as
given below.
00 = 2ary signal (Use this setting for BPSK, QPSK, and OQPSK signals).
01 = 4ary signal.
10 = 8ary signal.
11 = 16ary signal.
The threshold levels are determined by equally dividing up the signal range by the order of the signal. For
example, a 2ary signal would divide the ~1.0 to -1.0 signal range by two forcing threshold at 0.0. A 4ary
signal would have thresholds at:
-0.5, 0, and +0.5.
3-36
HSP50210
DESTINATION ADDRESS = 14
BIT
POSITION FUNCTION DESCRIPTION
8 Single/Double Rail This bit sets whether sampling error is derived from symbol transitions on just the I rail (single rail) or both
Sampling Error the I&Q rails (dual rail). In single rail operation sampling error from the Q rail is nulled and only the I rail is
used. In dual rail operation the sampling error from both the I an Q rails is summed and then scaled by one
half.
0 = Dual Rail Operation.
1 = Single Rail Operation.
Note: Set to 1 for BPSK operation and 0 for QPSK operation.
7-3 Sampling Error These bits set the number of sampling error measurements to accumulate before running the Symbol Loop
Accumulation Filter. The loop filter requires 8 CLKs to compute an output. The sampling error detector generates error
terms at the symbol rate. Thus, the error accumulator must be used if the symbol rate exceeds 1/8 CLK to
ensure that no error terms are missed (see Sampling Error Detector Section). The 5-bit value programmed
here is set to one less than the desired number of error terms to accumulate. For example, setting these
bits to 00011 (BINARY) would cause 4 error terms to be accumulated. A total range from 1 to 32 is provided.
2 Lead Sampling Error 0 = Sampling error enabled to lead path of loop filter.
Enable 1 = Sampling error to lead path of loop filter zeroed.
1 Lag Sampling Error 0 = Sampling error enabled to lag path of loop filter.
Enable 1 = Sampling error to lag path of loop filter zeroed (First Order Loop).
TABLE 29. SYMBOL TRACKING LOOP FILTER UPPER LIMIT CONTROL REGISTER
DESTINATION ADDRESS = 15
BIT
POSITION FUNCTION DESCRIPTION
31-0 Symbol Tracking The 32-bit two’s complement value programmed here sets the upper tracking limit of the Symbol Tracking Loop
Loop Filter Upper Filter by setting the upper limit of the loop filter’s lag accumulator. If the limit is exceeded, the upper 32 bits of the
Limit 40-bit accumulator are set to the limit, and the 8 LSBs are set to zero.
TABLE 30. SYMBOL TRACKING LOOP FILTER LOWER LIMIT CONTROL REGISTER
DESTINATION ADDRESS = 16
BIT
POSITION FUNCTION DESCRIPTION
31-0 Symbol Tracking The 32-bit two’s complement value programmed here sets the Lower tracking limit of the Symbol Tracking Loop
Loop Filter Lower Filter by setting the lower limit of the loop filter’s lag accumulator. If the running sum falls below the limit, the upper
Limit 32 bits of the 40-bit accumulator are set to the limit, and the 8 LSBs are set to zero.
TABLE 31. SYMBOL TRACKING LOOP FILTER GAIN (ACQ) CONTROL REGISTER
DESTINATION ADDRESS = 17
BIT
POSITION FUNCTION DESCRIPTION
17-14 Symbol Tracking These bits are the 4 fractional bits of the lead gain mantissa shown below:
Lead Gain Mantissa Symbol Tracking Lead Gain Mantissa = 01. 2-12-22-32-4.
(Acquisition) This format provides a mantissa range from 1.0 to 1.9375 for mantissa settings from 0000 to 1111 Binary.
Bit position 17 is the MSB.
3-37
HSP50210
TABLE 31. SYMBOL TRACKING LOOP FILTER GAIN (ACQ) CONTROL REGISTER (Continued)
DESTINATION ADDRESS = 17
BIT
POSITION FUNCTION DESCRIPTION
13-9 Symbol Tracking These bits set the lead gain exponent as given by:
Lead Gain Exponent Symbol Tracking Lead Gain Exponent = 2 -(32-E),
(Acquisition) where E corresponds to the 5-bit binary value programmed here. Thus, a gain range from
2-1 to 2-32 relative to the MSB position of the NCO control word may be achieved for E = 11111 to 00000
Binary. Bit position 13 is the MSB.
8-5 Symbol Tracking Lag Format same as lead gain mantissa. Bit position 8 is the MSB.
Gain Mantissa
(Acquisition)
4-0 Symbol Tracking Lag Format same as lead gain exponent. Bit position 4 is the MSB.
Gain Exponent
(Acquisition)
TABLE 32. SYMBOL TRACKING LOOP FILTER GAIN (TRK) CONTROL REGISTER
DESTINATION ADDRESS = 18
BIT
POSITION FUNCTION DESCRIPTION
17-14 Symbol Tracking Lead Gain Mantissa Format same as lead gain mantissa (see Table 31). Bit position 17 is the MSB.
(Track)
13-9 Symbol Tracking Lead Gain Exponent Format same as lead gain exponent (see Table 31). Bit position 13 is the MSB.
(Track)
8-5 Symbol Tracking Lag Gain Mantissa Format same as lead gain mantissa (see Table 31). Bit position 8 is the MSB.
(Track)
4-0 Symbol Tracking Lag Gain Exponent Format same as lead gain exponent (see Table 31). Bit position 4 is the MSB.
(Track)
TABLE 33. SYMBOL TRACKING LOOP FILTER LAG ACCUMULATOR INITIALIZATION CONTROL REGISTER
DESTINATION ADDRESS = 19
BIT
POSITION FUNCTION DESCRIPTION
N/A Symbol Tracking Loop Writing to this address initializes the lag accumulator with the contents of the four Microprocessor
Filter Lag Accumulator Interface Holding Registers at the start of the next loop filter computation cycle. The contents of the
Initialization holding registers should not be changed until after the start of a new compute cycle since the current
contents of the holding registers are loaded at the compute cycle start. At a slow rate, it could take 1 low
rate symbol time to change. The Microprocessor Interface should be used to read an internal status
register which signals when the lag accumulator load is complete (see Table 13 in the Microprocessor
Interface Section). The contents of the holding registers are loaded into the 32 MSBs of the lag
accumulator and the 8 LSBs are zeroed.
It is a good practice to load the LAG accumulators at the very end of a configuration load sequence.
3-38
HSP50210
DESTINATION ADDRESS = 20
BIT
POSITION FUNCTION DESCRIPTION
27 False Lock This bit selects the input to the False Lock Accumulator.
Accumulator Operation 0 = Frequency Error input enabled to accumulator.
1 = False Lock Bit enabled to accumulator.
26-20 Dwell Counter The Dwell Counter holds off the Lock Accumulator integration for the number of integration cycles
Pre-load programmed here. The length of the integration cycle is set in the bit positions 19-10. The 7-bit value
programmed here should be set to 1 less than the desired hold off time in integration cycles. The pre-
load is zeroed during Track Mode. Only used during stepped acquisition mode.
19-10 Integration Counter The Integration Counter controls the number Phase Error samples accumulated by the Lock
Pre-Load Accumulator. The 10-bit number loaded here is set to two less than the number of Phase Error samples
(Acquisition) desired in the Integration Period. Total Range 2-1025. Bit 19 is the MSB.
9-0 Integration Counter Function is identical to Acquisition Integration Counter Pre-Load. See above.
Pre-Load (Track)
DESTINATION ADDRESS = 21
BIT
POSITION FUNCTION DESCRIPTION
31-16 Lock Accumulator Pre- The lock threshold is set by an accumulator pre-load which is backed off from the accumulator full scale
Load by the threshold amount. The Lock Accumulator is 18 bits and the accumulator bit weightings relative to
(Acquisition) the magnitude of the Phase Error input and the pre-load is given below:
BIT WEIGHTING OF ACCUMULATOR PRE-LOAD
BIT WEIGHTING OF
BINARY POINT
PHASE ERROR MAGNITUDE
The accumulator roll over is at the 211 bit position.
15-0 Lock Accumulator Pre- Function is identical to Acquisition Lock Accumulation Pre-Load. See above.
Load (Track)
BIT
POSITION FUNCTION DESCRIPTION
31-16 False Lock Depending on configuration, the input to the False Lock Accumulator is either the false lock indicator bit
Accumulator or the magnitude of the frequency error detector output. Like the Lock Accumulator, the threshold is set
Pre-Load (Acquisition) by an accumulator pre-load that is backed off from accumulator full scale. The False Lock Accumulator
can accumulate sums up to 18 bits, and the bit weightings of the false lock indicator bit and the frequency
error input relative to accumulator full scale are shown below.
BIT WEIGHTING OF ACCUMULATOR PRE-LOAD
15-0 False Lock See above. The Lock Detector State Machine only uses the accumulator during the verify state during
Accumulator which the Track parameters are used.
Pre-Load (Track)
3-39
HSP50210
DESTINATION ADDRESS = 23
BIT
POSITION FUNCTION DESCRIPTION
14 False Lock Detect This bit enables the false lock detection during the verify state of state machine controlled acquisition.
Enable The overflow of the False Lock Accumulator before the Integration Counter forces the false lock state. If
disabled, the overflow of the False Lock Accumulator has no effect on state machine operation.
0 = Disable False Lock.
1 = Enable False Lock.
Note: The false Lock Detector is designed for false lock detection on square wave data. For shaped
waveforms false lock detection should be disabled or frequency error should be used.
13 Frequency Sweep This bit selects whether stepped or continuous frequency sweep mode is used (see Lock Detector Sec-
Mode tion).
0 = Stepped Frequency Sweep (provided for microprocessor controlled acquisition mode).
1 = Continuous Frequency Sweep.
12-9 Verify State Length These bits set the number of integration cycles over which carrier lock must be maintained before the
Lock State is declared. The verify state is used to make sure that lock detection was not the result of noise
or false lock. The 4-bit value programmed here sets the verify state from 0 to 15 Integration Periods.
8-5 False Lock Sweep These bits set the duration of forced frequency sweep before returning to the acquisition state. When
continuous frequency sweep mode is selected, the programmed number represents the number of Lock
Accumulator integration cycles to sweep before returning to the acquisition state. In stepped frequency
sweep mode, the number represents the number of loop filter compute cycles over which to enable the
sweep input to the lag accumulator.
4 Lock Detector Control This bit selects whether the acquisition/tracking process is controlled externally by a microprocessor or
internally by the state machine. If microprocessor control is chosen, the lock detect accumulator
integrates for the programmed period of time and ignores accumulator roll over, if any. The Lock Detector
Accumulator halts after each Integration Period and waits to be restarted by the microprocessor. In
addition, the microprocessor must select the acquisition/tracking parameters, as well as enable the
Frequency Sweep Block.
0 = Microprocessor Control.
1 = Internal State Machine Control.
2 Microprocessor Lock This bit controls the state of the lock bit (STATUS6) in the status output STATUS6-0 (see Output Select
Section). In addition, this bit sets the internal state machine to the locked state when Lock Detector
Control is switched from microprocessor control to state machine control. See Table 46 for the STATUS
bit information.
0 Microprocessor This bit is used to enable the output of the Frequency Sweep Block to the lag path of the Symbol Tracking
Frequency Sweep Loop Filter. This bit is only used under microprocessor control of the Lock Detector.
Enable
3-40
HSP50210
DESTINATION ADDRESS = 24
BIT
POSITION FUNCTION DESCRIPTION
N/A Stop Lock Detector for Writing this location halts the Lock Detector State Machine at the end of the current Lock Detector
Reading Accumulator integration cycle. This function is provided so that the Lock Detector integrators can be
stopped for reading via the microprocessor interface (only useful when the Lock Detector is under
internal state machine control). Bit 7 of the internal status register can be monitored via the
Microprocessor Interface to determine when the Lock Detector has stopped and is ready for reading.
See Table 13 for information on the internal status bits. The Lock Detector will remain stopped until
restarted (see Restart Lock Detector Control Register: Table 39).
DESTINATION ADDRESS = 25
BIT
POSITION FUNCTION DESCRIPTION
N/A Restart Lock Detector Writing this location restarts the Lock Detector State Machine following a read of the Lock Detector. Note:
Stopping the Lock Detector for reading is not required in Microprocessor Control Mode since the
Lock Detector Accumulators stop at the end of each integration cycle. See also Table 44.
DESTINATION ADDRESS = 26
BIT
POSITION FUNCTION DESCRIPTION
6-0 Soft Decision The input to the slicer is compared against thresholds which are 1x, 2x and 3x the value programmed
Threshold here. The slicer output depends on the relationship of the I or Q magnitude to the 3 soft thresholds as
given in Table 7. The threshold is programmed as a fractional unsigned value with the following bit
weightings:
0. 2-12-2 2-3 2-4 2-5 2-6 2-7.
Note: Since the signal magnitude on either the I or Q path ranges between 0.0 and ~1.0, the
threshold value should not exceed 1.0/3 = 0.33. Bit position 6 is the MSB.
DESTINATION ADDRESS = 27
BIT
POSITION FUNCTION DESCRIPTION
12 Serial Data Sync 0 = SOFSYNC pulses “High” one serial clock before data word on SOF.
Polarity 1 = SOFSYNC pulses “Low” one serial clock before data word on SOF.
(SOF output) Set to 0 for use with the HSP50110.
11 Serial Data Sync 0 = COFSYNC pulses “High” one serial clock before data word on COF.
Polarity 1 = COFSYNC pulses “Low” one serial clock before data word on COF.
(COF output) Set to 0 for use with the HSP50110.
3-41
HSP50210
DESTINATION ADDRESS = 27
BIT
POSITION FUNCTION DESCRIPTION
10 Serial Clock Phase 0 = Rising edge of serial clock at center of data bit.
Relative to Data 1 = Falling edge of serial clock at center of data bit. Set to 0 for use with the HSP50110.
9-8 Serial Clock Divider These bits set the clock rate of SLOCLK.
00 -> SLOCLK = CLK/2.
01 -> SLOCLK = CLK/4.
10 -> SLOCLK = CLK/8.
11 -> SLOCLK = CLK/16.
3-42
HSP50210
:
DESTINATION ADDRESS = 28
3-0 Output Select These bits select which input signals are routed to the 20 output pins AOUT9-0 and BOUT9-0. The signal
selections are listed below in Tables 42A and 42B.
Definition of Signal Bus Names:
Data Signal Busses:
ISOFT(2:0) This bus is the I channel soft decision slicer output data, expressed in the data format set
by CW26 bit 7, with one sign bit (ISOFT2) and two soft decision bits.
QSOFT(2:0) This bus is the Q channel soft decision slicer output data, expressed in the data format set
by CW26 bit 7, with one sign bit (QSOFT2) and two soft decision bits.
IEND(7:1) This bus is the 7 MSB’s of I end symbol sample into the soft decision slicer, in 2’s comple-
ment format. (MSB = Iend7).
QEND(7:1) This bus is the 7 MSB’s of Q end symbol sample into the soft decision slicer, in 2’s comple-
ment format. (MSB = Qend7).
STATUS(6:0)
These signals can be used in fault detection for use in BIT/BITE applications and are useful during sys-
tem debug.
AGC(7:1)
This signal is useful in monitoring the AGC operation, signal detection and antenna tracking applications.
Other single bit signals are provided for direct use in external AGC.
3-43
HSP50210
DESTINATION ADDRESS = 28
NCOCOS(9:0)
This signal is provided for use when the DCL is configured as a stand alone Loop Filter and NCO. This
signal can be useful in fault detection in BIT/BITE applications.
OUTPUT
SELECT AOUT 9 AOUT 8 AOUT 7 AOUT 6 AOUT 5 AOUT 4 AOUT 3 AOUT 2 AOUT 1 AOUT 0
0000 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 STATUS6 STATUS5 STATUS4 STATUS3
0001 ISOFT2 QSOFT2 MAG7 MAG6 MAG5 MAG4 MAG3 MAG2 MAG1 MAG0
0010 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 STATUS6 STATUS5 STATUS4 STATUS3
0011 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 STATUS6 STATUS5 STATUS4 STATUS3
0100 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 STATUS6 STATUS5 STATUS4 STATUS3
0101 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 STATUS6 STATUS5 STATUS4 STATUS3
0110 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 LKACC6 LKACC5 LKACC4 LKACC3
0111 ISOFT2 ISOFT1 ISOFT0 QSOFT2 QSOFT1 QSOFT0 Iend7 Iend6 Iend5 Iend4
1000 RSRVD7 RSRVD6 RSRVD5 RSRVD4 RSRVD3 RSRVD2 RSRVD1 RSRVD0 STATUS5 STATUS6
OUTPUT
SELECT BOUT 9 BOUT 8 BOUT 7 BOUT 6 BOUT 5 BOUT 4 BOUT 3 BOUT 2 BOUT 1 BOUT 0
0000 STATUS2 STATUS1 STATUS0 AGC7 AGC6 AGC5 AGC4 ACG3 AGC2 AGC1
0001 STATUS6 STATUS0 PHASE7 PHASE6 PHASE5 PHASE4 PHASE3 PHASE2 PHASE1 PHASE0
0010 STATUS2 STATUS1 STATUS0 FE7 FE6 FE5 FE4 FE3 FE2 FE1
0011 STATUS2 STATUS1 STATUS0 GE7 GE6 GE5 GE4 GE3 GE2 GE1
0100 STATUS2 STATUS1 STATUS0 TE7 TE6 TE5 TE4 TE3 TE2 TE1
0101 STATUS2 STATUS1 STATUS0 CARPE7 CARPE6 CARPE5 CARPE4 CARPE3 CARPE2 CARPE1
0110 LKACC2 LKACC1 LKACC0 LKCNT6 LKCNT5 LKCNT4 LKCNT3 LKCNT2 LKCNT1 LKCNT0
0111 Iend3 Iend2 Iend1 Qend7 Qend6 Qend5 Qend4 Qend3 Qend2 Qend1
1000 NCOCOS9 NCOCOS8 NCOCOS7 NCOCOS6 NCOCOS5 NCOCOS4 NCOCOS3 NCOCOS2 NCOCOS1 NCOCOS0
DESTINATION ADDRESS = 29
BIT
POSITION FUNCTION DESCRIPTION
N/A Load Output Holding Loading the Address Register with this destination address samples the contents of the Carrier Loop
Register for Filter Lag Accumulator, Symbol Tracking Loop Filter Lag Accumulator, and the AGC Accumulator. The
Microprocessor Read sampled accumulator values are loaded into the output holding registers for reading via the
Microprocessor Interface. Allow 6 CLKs until the output holding register is stable for reading.
3-44
HSP50210
TABLE 44. INITIALIZE LOCK DETECTOR (µP CONTROL MODE) CONTROL REGISTER
DESTINATION ADDRESS = 30
BIT
POSITION FUNCTION DESCRIPTION
N/A Initialization of Lock Loading the address register with this destination address pre-loads all of the Lock Detector
Detector Accumulators Accumulators and resets the Integration Counters to restart the integration process. Note: A write to this
address only initializes the Lock Detector when it is in microprocessor control mode (see
Acquisition/Tracking Control Register; Table 37).
DESTINATION ADDRESS = 31
BIT
POSITION FUNCTION DESCRIPTION
5 Initialize NCO This bit is used to zero the feed back in the NCO’s phase accumulator. This is useful in setting the output
of the NCO to a known value.
0 = Enable normal NCO operation.
1 = Zero phase accumulator feedback for test.
4 Zero Symbol Tracking This bit is used to zero the lag accumulator in the Symbol Tracking Loop Filter.
Loop Filter 0 = Enable normal loop filter operation.
Accumulator 1 = Zero Lag Accumulator.
3 Zero Carrier Loop Filter This bit is used to zero the lag accumulator in the Carrier Loop Filter.
Accumulator 0 = Enable normal loop filter operation.
1 = Zero Lag Accumulator.
BIT
POSITION FUNCTION DESCRIPTION
6 Carrier Lock 0 = Lock Detector is not in locked state (Carrier Tracking Loop is not locked).
1 = Lock Detector has achieved the locked state (Carrier lock has been achieved).
4 Reserved N/A.
3 Frequency Sweep This bit indicates the direction of the frequency sweep selected by the Frequency Sweep input to the lag
Direction path of the Carrier Tracking Loop Filter (Defined for upper sideband signals).
0 = Up (Sweep increasing in frequency).
1 = Down (Sweep decreasing in frequency).
2 High Power This bit is one clock cycle long and indicates when the AGC is at its lower limit (see AGC Section and
Table 15).
0 = AGC above lower limit.
1 = AGC at lower limit.
1 Low Power This bit is one clock cycle long and indicates when the AGC is at its upper limit (see AGC Section and
Table 15).
0 = AGC is at or below its upper limit.
1 = AGC is above its upper limit.
0 Data Ready Strobe This bit pulses “High” for one CLK synchronous with a new signal output on OUTB6-0 (see Output
Selector Control Register: Table 45). For example if the lower 4 bits of the Output Selector Register are
set to 0010 (BINARY), This bit will pulse active on the same CLK that new FE7-1 data is output.
3-45
HSP50210
Appendix A
Noise Bandwidth Summary
For a given decimation rate, the double-sided noise and without the root raised cosine filter in the HSP50210.
equivalent bandwidth is shown using various combinations The noise bandwidth is measured relative to the output
of the CIC filter and the compensation filters in the sample rate.
HSP50110. Each combination of filters is also shown with
TABLE A
NOTE:
6. Noise Bandwidth of RRC Filter is 0.492676.
3-46
HSP50210
CAUTION: Stresses above those listed in “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress only rating and operation of the
device at these or any other conditions above those indicated in the operational sections of this specification is not implied.
NOTE:
7. θJA is measured with the component mounted on an evaluation PC board in free air.
DC Electrical Specifications VCC = 5.0V ±5%, TA = 0oC to 70oC (Commercial), TA = -40oC to 85oC (Industrial)
Standby Power Supply Current ICCSB VCC = Max, Outputs Not Loaded - 500 µA
Logical One Output Voltage VOH IOH = -400µA, VCC = Min 2.6 - V
Logical Zero Output Voltage VOL IOL = 2mA, VCC = Min - 0.4 V
NOTES:
8. Power supply current is proportional to frequency. Typical rating is 4mA/MHz.
9. Output load per test circuit and CL = 40pF.
10. Not tested, but characterized at initial design and at major process/design changes.
AC Electrical Specifications VCC = 5.0V ±5%, TA = 0oC to 70oC (Commercial), TA = -40oC to 85oC (Industrial), (Note 11)
52MHz
SERCLK Low t SL 7 - ns
3-47
HSP50210
AC Electrical Specifications VCC = 5.0V ±5%, TA = 0oC to 70oC (Commercial), TA = -40oC to 85oC (Industrial), (Note 11) (Contin-
52MHz
WR High t WRH 16 - ns
WR Low t WRL 16 - ns
RD Low t RL 16 - ns
Output Enable t OE - 8 ns
NOTES:
11. AC tests performed with CL = 40 pF, IOL = 2mA, and IOH = -400mA. Input reference level for CLK is 2.0V, all other inputs 1.5V.
Test VIH = 3.0V, VIHC = 4.0V, VIL = 0V.
12. Controlled via design or process parameters and not directly tested. Characterized upon initial design and after major process and/or design
changes.
13. Set up time required to ensure action initiated by WR or SERCLK will be seen by a particular CLK.
S1
DUT
CL †
±
IOH 1.5V IOL
SWITCH S1 OPEN FOR ICCSB AND ICCOP
EQUIVALENT CIRCUIT
3-48
HSP50210
Waveforms
t WRL t WRH
WR
t RF t RF
t WS t WH
2.0V
C0-7, A0-2 0.8V
FIGURE 26. TIMING RELATIVE TO WR FIGURE 27. OUTPUT RISE AND FALL TIMES
OEA,
t CP
OEB 1.5V 1.5V
t CL t CH
t OE t OD
CLK
OUTA9-0, 1.7V
t DS t DH OUTB9-0 1.3V
IIN9-0, QIN9-0,
SYNC, FIGURE 29. OUTPUT ENABLE/DISABLE
FZ_CT, FZ_ST
AOUT9-0, BOUT9-0,
COF, COFSYNC,
SOF, SOFSYNC, t RL
t DO
HI/LO, SMBLCLK,
SLOCLK, LKINT, THRES RD
t SC; t WC
A2-0
SERCLK, WR
C0-7
C7-0
FIGURE 28. TIMING RELATIVE TO CLK FIGURE 30. TIMING RELATIVE TO READ
t SH t SL
SERCLK
t DSS t DSH
All Intersil semiconductor products are manufactured, assembled and tested under ISO9000 quality systems certification.
Intersil semiconductor products are sold by description only. Intersil Corporation reserves the right to make changes in circuit design and/or specifications at any time with-
out notice. Accordingly, the reader is cautioned to verify that data sheets are current before placing orders. Information furnished by Intersil is believed to be accurate and
reliable. However, no responsibility is assumed by Intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of third parties which may result
from its use. No license is granted by implication or otherwise under any patent or patent rights of Intersil or its subsidiaries.
For information regarding Intersil Corporation and its products, see web site www.intersil.com
3-49