CXD1958Q [SONY]

MMDS TCM/QAM Demodulator + FEC + ADC; MMDS TCM / QAM解调器+ FEC + ADC
CXD1958Q
型号: CXD1958Q
厂家: SONY CORPORATION    SONY CORPORATION
描述:

MMDS TCM/QAM Demodulator + FEC + ADC
MMDS TCM / QAM解调器+ FEC + ADC

电信集成电路 电信电路
文件: 总48页 (文件大小:331K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
CXD1958Q  
MMDS TCM/QAM Demodulator + FEC + ADC  
Preliminary  
Description  
100 pin QFP (Plastic)  
The CXD1958Q is an integrated TCM/QAM  
demodulator for MMDS systems using the DAVIC  
MMDS standard. This highly integrated device  
incorporates an internal 8-bit ADC, image rejection  
and root-raised cosine filters, all-digital symbol timing  
recovery PLL, adaptive decision feedback equalizer  
(DFE) with 10 feedforward and 30 feedback taps, 4-D  
TCM decoder, and DAVIC/DVB compliant forward  
error correction comprising (204,188) Reed Solomon  
decoder, a programmable de-interleaver with I = 12  
and I = 204, and a de-randomiser. All internal clocks  
are generated from a single external 30MHz reference  
crystal.  
All internal clocks derived from single fixed  
frequency crystal (30MHz)  
Supports fast re-acquisition mode  
6µs echo cancellation @ 5Mbaud  
Constellation points and equalizer tap values  
readable via I2C bus  
C/N estimation readable via I2C bus  
Low implementation loss for AWGN only:  
0.5dB @ 64QAM (using internal 8-bit A/D);  
0.3dB @ 256QAM (excluding A/D);  
measured at BER of 3x10–4 Pre R/S  
I = 12 and I = 204 de-interleaving  
Fast I2C bus compatible control interface  
Tuner IF-AGC output  
Device functionality also includes 3-wire bus interface  
for configuring up to 2 tuner synthesizers, a sigma  
delta tuner IF-AGC output, a user programmable RF-  
AFC sigma delta output, spectrum inversion of the  
received signal for tuner compatibility, and a highly  
configurable MPEG2-TS interface. An I2C bus  
interface provides on-board configuration and status  
monitoring of various functions including access to  
the equalizer tap values and constellation points.  
JTAG provides boundary scan test compatibility.  
User programmable tuner RF-AGC output  
Dedicated 3-wire bus interface to configure up to 2  
tuner synthesizers  
Features  
DAVIC MMDS V1.1 and V1.3 compliant  
Supports 16, 64 and 256QAM  
3.3V CMOS technology  
Supports JTAG boundary scan  
100-pin QFP package  
Supports 16, 64 and 256 TCM  
Internal 8-bit ADC  
Interface for 10-bit external ADC  
36.125MHz nominal IF input  
Applications  
MMDS set-top boxes  
Symbol rate range 5 – 5.304Mbaud in 6MHz  
channels  
Integrated matched filtering with 0.15 roll-off factor  
±400KHz internal carrier offset compensation with  
negligible losses @ 5Mbaud 6MHz channel  
Symbol timing loop designed to acquire with large  
offsets. Negligible losses for ±100ppm offsets  
Sony reserves the right to change products and specifications without prior notice. This information does not convey any license by  
any implication or otherwise under any patents or other right. Application circuits shown, if any, are typical examples illustrating the  
operation of the devices. Sony cannot assume responsibility for any problems arising out of the use of these circuits.  
– 1 –  
PE99906-PS  
CXD1958Q  
Pin Configuration  
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81  
1
2
3
4
5
6
7
8
9
80 AVSS  
79 AVDD  
78 AVDD  
77 VRBS  
76 VRB  
TEVAL9  
TEVAL8  
TEVAL7  
TEVAL6  
TEVAL5  
DVDD  
VIN  
75  
74  
73  
72  
71  
70  
69  
68  
67  
66  
65  
64  
63  
62  
61  
60  
59  
58  
57  
56  
55  
54  
53  
52  
51  
VRT  
DVSS  
VRTS  
AVDD  
AVDD  
AVDD  
AVSS  
AVSS  
DVSS  
XTALI  
XTALO  
DVDD  
DT9  
TEVAL4  
TEVAL3  
TEVAL2 10  
TEVAL1 11  
TEVAL0 12  
DVDD 13  
DVSS 14  
TDO 15  
TSVALID 16  
TSLOCK 17  
DVDD 18  
DT8  
DVSS 19  
DT7  
TSERR 20  
TSDATA7 21  
TSDATA6 22  
DT6  
DT5  
DVSS  
DVDD  
DT4  
TSDATA5  
TSDATA4  
DVDD  
23  
24  
25  
DVSS 26  
DT3  
TSDATA3  
DT2  
27  
28  
29  
30  
TSDATA2  
TSDATA1  
TSDATA0  
DT1  
DT0  
DVDD  
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  
Fig. 1. Pin Configuration  
– 2 –  
CXD1958Q  
Pin Description  
Table 1. Pin Description  
Name  
Pin No.  
Type  
Drive  
Function  
Clock and Reset  
Crystal oscillator  
output  
XTALO  
XTALI  
65  
66  
N/A  
N/A  
Crystal oscillator cell output.  
Crystal oscillator cell input.  
Crystal oscillator  
input  
Digital  
RESETN  
ADC Interface  
VRTS  
92  
73  
Schmitt-trigger  
5V tolerant Input  
N/A  
N/A  
Active low hardware reset.  
ADC internally generated top reference  
bias. This pin connects to VRT to self  
bias the top reference.  
Analog  
output  
Analog  
input  
ADC top reference voltage. Connects to  
VRTS for self bias.  
VRT  
VIN  
74  
75  
76  
N/A  
N/A  
N/A  
Analog  
input  
Analog IF input.  
Analog  
input  
ADC bottom reference voltage.  
Connects to VRBS for self bias.  
VRB  
ADC internally generated bottom  
reference bias. This pin connects to  
VRB to self bias the bottom reference.  
Analog  
output  
VRBS  
77  
N/A  
MPEG2 Transport Stream Interface  
Identifies data portion of the MPEG2  
transport stream packet (excludes parity  
bytes). The polarity and timing of this  
signal is programmable. Tristate  
following hardware reset. External pull-  
up or pull-down resistor required.  
Digital  
tristate output  
TSVALID  
TSLOCK  
TSERR  
16  
17  
20  
4mA  
8mA  
4mA  
MPEG2 transport stream lock indicator.  
The polarity of this signal is  
programmable.  
Digital  
output  
MPEG2 transport stream error flag.  
Indicates uncorrectable errors in current  
packet. The polarity and timing of this  
signal is programmable. Tristate  
Digital  
tristate output  
following hardware reset. External pull-  
up or pull-down resistor required.  
MPEG2 transport stream parallel data  
output. Tristate following hardware  
reset. External pull-up or pull-down  
resistor required.  
21, 22, 23,  
24, 27, 28,  
29, 30  
Digital  
tristate output  
TSDATA[7:0]  
4mA  
– 3 –  
CXD1958Q  
Name  
Pin No.  
Type  
Drive  
4mA  
Function  
MPEG2 Transport Stream Interface (Cont.)  
MPEG2 transport stream byte clock.  
The polarity and timing of this signal is  
programmable. Tristate following  
hardware reset. External pull-up or pull-  
down resistor required.  
Digital  
TSCLK  
31  
32  
tristate output  
Indicates MPEG2 47H sync byte in  
transport stream packet. The polarity  
and timing of this signal is  
programmable. Tristate following  
hardware reset. External pull-up or pull-  
down resistor required.  
Digital  
TSSYNC  
4mA  
tristate output  
Input to disable MPEG2-TS interface  
outputs.  
MPEG2 transport stream output pins  
TSDATA[7:0], TSCLK, TSSYNC,  
TSVALID, TSERR to be put into tristate  
mode if this input is asserted high. The  
same outputs may also be set tristate  
via I2C bus control.  
Digital  
Schmitt-trigger  
5V tolerant input  
TSDISABLE  
35  
N/A  
Tuner Interface (Control and AGC)  
Digital  
output  
AGC  
88  
89  
2mA  
2mA  
External IF AGC control.  
External RF AGC control.  
Digital  
output  
RFAGC  
Digital  
Schmitt-trigger  
5V tolerant input  
Host CPU control input. Can be used to  
control 3-wire bus outputs SEN0 and  
SEN1.  
TEN  
36  
37  
38  
N/A  
N/A  
N/A  
Digital  
Schmitt-trigger  
5V tolerant input  
Host CPU control input. Can be used to  
control 3-wire bus output SCLK.  
TCLK  
TDATA  
Digital  
Schmitt-trigger  
5V tolerant input  
Host CPU control input. Can be used to  
control 3-wire bus output SDATA.  
Host CPU control input used to register  
TEN, TCLK, TDATA on rising edge and  
update SEN, SCLK and SDATA outputs  
in one mode of the 3-wire bus operation.  
Digital  
Schmitt-trigger  
5V tolerant input  
TWR_N  
SEN1  
39  
42  
N/A  
3-wire bus interface enable output.  
Polarity programmable and equivalent to  
polarity of SEN0. Must be pulled up by  
external resistor to 3.3V or 5V if used.  
Digital  
open-drain output  
12mA  
3-wire bus interface enable output or  
pass-FET contol for tuner I2C bus.  
Programmable polarity. Must be pulled  
up by external resistor to 3.3V or 5V if  
used.  
Digital  
open-drain output  
SEN0  
43  
12mA  
– 4 –  
CXD1958Q  
Name  
Pin No.  
Type  
Drive  
Function  
Tuner Interface (Control and AGC) (Cont.)  
3-wire bus interface clock output. Must  
be pulled up by external resistor to 3.3V  
or 5V if used.  
Digital  
open-drain output  
SCLK  
44  
45  
12mA  
12mA  
3-wire bus interface data output. Must  
be pulled up by external resistor to 3.3V  
or 5V if used.  
Digital  
open-drain output  
SDATA  
Host Control Interface  
Digital  
bi-directional  
open-drain output  
Schmitt trigger  
5V tolerant input  
I2C bus data. Must be pulled up by  
external resistor.  
SDA  
SCL  
48  
49  
3mA  
N/A  
Digital  
Schmitt trigger  
5V tolerant input  
I2C bus clock. Must be pulled up by  
external resistor.  
Digital  
CMOS input  
A1  
A0  
97  
98  
N/A  
N/A  
I2C bus address (variable part)  
I2C bus address (variable part)  
Digital  
CMOS input  
Programmable general interrupt pin.  
Must be pulled up by external resistor to  
3.3V or 5V.  
Digital  
open-drain output  
INTRPTN  
41  
12mA  
Testability and Evaluation Interface  
63, 62, 61, Digital  
60, 59, 56, bi-directional  
55, 54, 53, tristate output  
IOL = 4mA  
IOH = –2mA  
ADC digital bypass port for connection  
of an external ADC.  
DT[9:0]  
52  
5V tolerant input  
Digital  
output  
DTCLK  
TRST  
TDO  
TDI  
87  
8mA  
N/A  
4mA  
N/A  
N/A  
N/A  
ADC clock for use with DT[9:0].  
JTAG test reset input.  
JTAG test data output.  
JTAG test data input.  
JTAG test mode select.  
JTAG test clock.  
Digital  
input with pull-up  
93  
15  
94  
95  
96  
Digital  
tristate output  
Digital  
input with pull-up  
Digital  
input with pull-up  
TMS  
TCK  
Digital  
input  
1, 2, 3, 4,  
5, 8, 9, 10,  
11, 12  
Digital  
output  
TEVAL[9:0]  
4mA  
Test data bus.  
– 5 –  
CXD1958Q  
Name  
Pin No.  
Type  
Drive  
Function  
Power Supplies  
6, 13, 18,  
25, 33, 46,  
51, 57, 64, Power  
84, 85, 91,  
99  
DVDD  
Digital supply. (+3.3V)  
7, 14, 19,  
26, 34, 40,  
DVSS  
47, 50, 58, Ground  
67, 83, 86,  
Digital ground. (0V)  
90, 100  
68, 69, 80,  
Ground  
81, 82  
AVSS  
AVDD  
Analog ground. (0V)  
70, 71, 72,  
Power  
Analog supply. (+3.3V)  
78, 79  
– 6 –  
CXD1958Q  
Description of Functions  
I
VIN  
40-Tap  
Equalizer  
ADC  
Symbol Number  
FEC Lost Lock  
MPEG-2 Data  
Q
TSDISABLE  
Pre-  
Processor  
Preproc Lock  
Symbol Valid  
TSVALID  
TSCLK  
TSSYNC  
TSLOCK  
TSERR  
DA[9:0]  
AGC  
FEC  
INTRPTN  
Symbol Number  
Trellis  
Sigma  
RFAGC  
Decoder  
Delta  
Modulator  
RAM  
XTALI  
30MHz  
OSC  
I2C bus  
Register  
Interface  
XTALO  
SCLK  
SDATA  
SEN0  
SEN1  
Clock & Test  
Control  
JTAG  
Config  
Data  
3-Wire Bus  
Interface  
RESETn  
Fig. 2. Block Diagram  
1. ADC  
Input to the CXD1958Q is a single-ended IF signal centred at 36.125MHz. An integrated 8-bit ADC is clocked  
at 30MHz and used to directly band-pass sample the IF signal. The 8-bit ADC is self biased by connecting  
reference pins VRTS to VRT and reference pins VRBS to VRB. An option is provided to allow bypass of the  
internal ADC if an external converter up to 10 bits is desired.  
2. Pre-Processor and Equalizer  
PRE-PROCESSOR  
Image/  
EQUALIZER  
IF to  
Baseband  
(ITB)  
Decision  
Feedback  
Equalizer  
To FEC  
Differential  
Decoder  
digitised IF  
Matched  
Filter  
DC  
Correction  
Decision  
Device  
From ADC  
To VGA  
Decimation  
Filters  
Interpolator  
To Trellis  
Decoder  
Timing  
Recovery  
PLL  
Automatic  
Gain Control  
Equalizer  
Adaption  
Carrier  
Recovery  
PLL  
Various Control  
Signals  
Fig. 3. Pre-Processor and Equalizer Block Diagram  
– 7 –  
CXD1958Q  
2-1. Automatic Gain Control – External  
This block monitors the signal level at the output of the ADC and provides a pulse width-modulated control  
signal (IF-AGC) to drive an external (analog) variable gain amplifier (VGA). The polarity of this signal is I2C bus  
programmable. This circuit operates as an automatic gain control loop and is normally configured to maximize  
ADC dynamic range. Only a single external RC filter is required. It is possible to read the level being output on  
the IF-AGC signal via I2C bus to allow a separate RF-AGC sigma-delta output to be programmed for dual loop  
AGC systems.  
2-2. IF to Baseband Conversion  
The IF to Baseband block translates the received digitized IF signal to a complex baseband signal.  
Subsequent processing is performed in parallel on in-phase (I) and quadrature (Q) data paths.  
2-3. Decimation Filter  
Sample rate conversion in the Decimation Filter block is used to optimize the operation of the timing loop over  
the symbol rate range.  
2-4. Timing Recovery Loop  
Symbol timing recovery is implemented using an all-digital PLL comprised of Interpolator, Matched Filter and  
Timing Recover PLL blocks in Fig. 3. This allows the sample rate to be unrelated to the symbol rate – sampling  
is asynchronous. The loop operates over the range (5 – 5.304) Mbaud with minimal performance degradation,  
surpassing the capability of an equivalent analog loop. The matched filter implements a square-root raised  
cosine function, matched to the equivalent transmitter filter for rejection of intersymbol interference (ISI).  
2-5. Decision Feedback Equalizer  
Adaptive equalization is performed using a Decision Feedback Equalizer implementation to remove echoes  
arising from channel multipath characteristics and any remaining ISI not removed by the matched filter in the  
pre-processor. The DFE filter structure has a feedforward (10 tap) and feedback (30 tap) section. The 30 tap  
feedback section removes post-cursive ISI up to 6ms delay which is sufficiently robust to remove long echoes  
in MMDS.  
During acquisition of the QAM constellation, the adaptive equalizer steps through several modes of operation  
to achieve lock. The equalizer initially operates using a blind error signal to converge tap coefficients as no  
training sequence is provided in the QAM input data stream. The equalizer then switches to a decision-directed  
mode of operation where QAM data is used to generate the error signal to optimize convergence of tap  
coefficients.  
An all-digital PLL is implemented for removal of carrier frequency and phase offsets.  
2-6. DC Correction  
Modulator carrier leakage appears as a DC component in the QAM constellation which must be removed  
before correct decisions can be made in Decision Device block. The DC Correction block completely removes  
this offset.  
– 8 –  
CXD1958Q  
2-7. Decision Device  
The Decision Device block performs data slicing and symbol/bit mapping for 16, 64 and 256 QAM  
constellations. This block can also automatically or manually compensate for an inverted IF spectrum under  
I2C bus control. Modulation scheme recognition can be preset via I2C bus for fast acquisition.  
2-8. Configuration and Control  
Configuration and control is handled by a register bank accessible to an external processor over an I2C serial  
bus.  
A pre-processor state machine controls the initial acquisition process until synchronisation is achieved. Once  
the pre-processor has acquired lock to the input symbol rate the equalizer section is enabled. Once enabled,  
Equalizer operation is also controlled by a state machine. Once Equalizer acquisition is achieved the condition  
is then maintained based upon acquisition and mode control information, supplied from the configuration  
registers, and MPEG Transport Stream status data from the FEC block.  
3. Post-Processor  
Post-processing on the demodulated QAM/TCM signal implements the DAVIC MMDS standard. This includes  
differential decoding of the two most significant symbol bits (QAM mode only), mapping of decoded symbols  
onto bytes, Forney convolutional de-interleaving of the bytes (I = 12, and I = 204) to remove burst errors,  
Reed-Solomon (255, 239) error correction, MPEG-2 sync byte inversion and data stream de-randomization.  
Finally a baseband interface is included that provides an MPEG-2 compliant transport stream to the device  
output.  
Sliced  
Unsliced I Q  
Values from  
Equalizer  
Symbols  
from  
Equalizer  
BER  
Figures  
Lock  
Flag  
Lost Lock  
Flag  
SYNC Detect & Loss  
FEC Register Bank  
(FRB)  
Differential  
Decoder  
BER  
Measurement  
TCM Decoder  
&
ISYNC Detect  
Inverted  
SYNC Flag  
m-tuple  
mapper  
&
SYNC  
Detect  
Reed  
Solomon  
Decoder  
Energy  
Dispersal  
Removal  
De-  
Interleaver  
Baseband  
Interface Stream Data  
Transport  
BB0  
BB1  
BB2  
BB3  
SYNC  
Flag  
SYNC  
Flag  
SYNC  
Flag  
SYNC  
Flag  
Fig. 4. Post-Processor Block Diagram  
– 9 –  
CXD1958Q  
3-1. Differential Decoder  
In QAM mode, this decodes the MSB of the received QAM signal according to the equations given in the  
DAVIC MMDS standard. In TCM mode, the differential decoding is performed by the TCM decoder block.  
3-2. TCM Decoder  
The TCM decoder reduces the signal power required for robust reception in difficult channels whenever trellis  
coded modulation is used at the transmitter. TCM mode is selected by an I2C bus register bit. The TCM  
decoder block takes the equalized I/Q symbols as input data, and provides 7-bit (16-TCM), 11-bit (64-TCM),  
and 15-bit (256-TCM) outputs for each TCM symbol. Two I/Q pairs are required for each TCM symbol. The  
TCM block performs an internal synchronization sequence to ensure that the correct pair of QAM symbols is  
selected. There are several I2C bus registers to allow user configuration and monitoring of the synchronization  
sequence.  
3-3. Symbol to Byte Mapper  
The postprocessor maps differentially decoded symbols to bytes. The byte boundaries are determined by  
correlating the input symbols with the expected locations of the sync bytes. The number of consecutive  
successful correlations is compared against a threshold (SYNC_LADDER_LENGTH), and the symbol stream  
is flagged as locked when that threshold is achieved.  
3-4. De-interleaver and Reed Solomon Error Correction  
DAVIC compatible forney type convolutional de-interleavering (I = 12, N = 204, M = 17) or (I = 204, N = 204, M  
= 1), where M = N/I) is applied to the bytes. I = 12 is used for 16/64 QAM/TCM modes. Either I = 12 or I = 204  
can be programmed for 256 QAM/TCM modes. The resulting byte stream is corrected by a standard  
DAVIC/DVB (204, 188) Reed Solomon decoder (GF generation polynomial p (x) = x8 + x4 + x3 + x2 + 1) which  
can correct up to 8 erroneous bytes per MPEG2 packet.  
3-5. Sync Detection and Sync Loss  
After R/S correction, the byte stream is checked for the occurrence of n MPEG-2 sync bytes, where n is  
programmable from 2 to 7 via an I2C bus register. This sync byte detection is used to indicate transport stream  
lock by activation of the TSLOCK pin. There are two methods used to indicate loss of Transport Stream Lock,  
selectable by an I2C bus register. One method indicates loss of lock immediately a sync byte is lost. The other  
method decrements the sync byte counter down by 1 from n, and only indicates loss of lock when the counter  
reaches zero, thus providing a filtering capability to allow easier sync locking.  
– 10 –  
CXD1958Q  
3-6. Energy Dispersal De-randomiser  
The error-corrected bytes are de-randomized with a 15-stage PRBS (Pseudo Random Binary Sequence)  
generator, with polynomial 1 + X14 + X15 and start-up sequence “100101010000000”. Sync bytes are not de-  
scrambled, and when an inverted sync byte is detected, every 8th packet, the PRBS resets to the start-up  
sequence and the sync byte is re-inverted. The de-scrambled data is output through the TSDATA pins, along  
with a data clock and synchronization signal.  
3-7. BER Calculation  
In addition to the above functionality, the postprocessor includes comprehensive signal quality measurement  
logic. The Bit Error Rate (BER) of the received signal (before and after R/S correction) and a measure of the  
long-term signal quality are available via I2C bus registers. The calculated Bit Error Rate (BER) of the received  
signal is accurate for pre R/S BER figures better than 1 × 10–3.  
3-8. MPEG2 Baseband Interface  
Fig. 5 illustrates the relationship between the CXD1958Q MPEG2 transport stream interface signals. The  
transport stream clock (TSCLK) can be programmed for the external device to sample on the rising or falling  
edge (only rising edge sampling is shown here). The interface supports a number of additional signals, which  
indicate the integrity of the output data. Once the demodulator has achieved lock to the MPEG2 sync byte, the  
transport stream interface is activated. Fig. 5 shows a complete MPEG2 packet consisting of a sync byte (47h)  
data bytes (dd) and Reed Solomon bytes (rr). Note that all the interface control signals have individual  
programmable polarity; active high signals are shown in the diagram.  
TSCLK has two operating modes selected via I2C bus:  
Whole Packet Mode, where the clock is activated for all 204 bytes of the packet, requiring the external  
interface to use TSVALID to distinguish between data and 16 Reed Solomon bytes.  
Data Only Mode, where the clock is activated only for each of the 188 sync and data bytes, and remains  
inactive during the 16 Reed Solomon bytes.  
TSDATA[7:0] is the byte wide MPEG2-TS data with programmable MSB/LSB ordering. The default is  
TSDATA7 being the MSB.  
TSVALID has two operating modes selected via I2C bus:  
Data Only Mode: where TSVALID is set active during the 188 byte data portion of the packet, and reset  
inactive during the 16 Reed Solomon bytes. It is used by the external device as a clock enable to qualify  
when data is valid on TSDATA[7:0].  
Pulsed Mode: where TSVALID is set active during the MPEG2 sync byte and reset inactive for the remainder  
of the packet, and thus becomes equivalent to a sync byte indicator.  
TSSYNC is set active during the MPEG2 sync byte and reset inactive for the remainder of the packet.  
TSERR is only set active if the Transport Stream Error flag is set. This signal indicates that the Reed Solomon  
decoder was unable to correct all errors in the packet. There are 3 programmable modes for this signal:  
Whole Packet Mode: Active during the entire 204-byte packet  
Data Only Mode: Active during the 188 byte data portion of packet and inactive during the 16 Reed Solomon  
bytes  
Pulsed Mode: Pulsed active during sync byte period only  
– 11 –  
CXD1958Q  
TSCLK  
Whole Packet  
Tsu  
Th  
TSCLK  
Data Only  
TSDATA[7:0]  
rr  
47h  
dd  
dd  
dd  
dd  
rr  
rr  
rr  
rr  
dd  
47h  
TSVALID  
Data Only  
TSVALID  
Pulsed  
TSSYNC  
TSERR  
Whole Packet  
TSERR  
Data Only  
TSERR  
Pulsed  
Fig. 5. MPEG2 Transport Stream Output Configurations  
4. Tuner 3-Wire Bus Interface  
The interface allows two tuner synthesizers to be configured through the use of separate SEN0 and SEN1  
enable output signals. The polarity of SEN0 and SEN1 can be programmed both active high or both active low  
by the SEN_POL I2C bus register bit. There are two operating modes selected by I2C bus.  
• Mode 0 : The host CPU drives the 3-wire bus pins via the CPU interface pins TCLK, TDATA and TEN. These  
pins are connected to the CPU data bus and a decoded active low strobe is connected to the TWR_N input  
pin. On each rising edge of TWR_N, the data on TCLK, TDATA, and TEN is registered by the CXD1958Q  
demodulator, and driven out on the SCLK, SDATA and SEN0 or SEN1 pins respectively. The I2C bus register  
bit SEL selects whether SEN0 or SEN1 is activated during this transfer. Thus the transfer rate on the 3-wire  
bus interface in this mode is determined by the rate of CPU accesses. The operation of this mode is shown in  
Fig. 6.  
– 12 –  
CXD1958Q  
• Mode 1 :The CPU loads 4 I2C bus registers inside the TCM demodulator with 28 bits of data. The CPU  
selects which SEN0 or SEN1 output should be used by programming the I2C bus register bit (SEL), and then  
commands (by setting an I2C bus register bit SEND) the 3-wire bus state machine to transmit these 28 bits  
out of the 3-wire interface as shown in Fig. 7. When the transmission is complete, the I2C bus register bit  
(SEND) is reset to zero by the 3-wire bus state machine. This allows the CPU to poll the SEND bit to  
determine when it is able to write further data to the 3 I2C bus registers if it is necessary to send more data.  
The rate of transmission is fixed at 10.67µs per bit when using a 30MHz crystal oscillator on the CXD1958Q  
demodulator IC. The bit ordering of transmission starts with bit 27.  
sampling of  
CPU pins  
TCLK  
TDATA  
TEN  
TWR_N  
SCLK  
SDATA  
SEN0[1]  
Fig. 6. 3-Wire Bus : Mode 0 Operation  
SCLK  
SDATA  
27  
26  
25  
24  
23  
22  
21  
7
6
5
4
3
2
1
0
SEN0[1]  
–305µs  
Fig. 7. 3-Wire Bus : Mode 1 Operation  
– 13 –  
CXD1958Q  
5. I2C Bus Interface  
The CXD1958Q includes an I2C bus compatible host interface, to enable access to the internal control  
registers. This supports accesses via an offset register at bit rates of up to 400Kbit/s. The 7-bit slave address  
for this device is [0, 0, 1, 1, 1, A1, A0], where A1 and A0 are set externally via device pins.  
A summary of the CXD1958Q internal register set which can be accessed via I2C bus is defined in Table 2. A  
full description of the registers is presented in "Control Register Definitions".  
Table 2. I2C bus Interface Registers  
Value on reset of type  
Sub-  
address  
Width  
bytes  
Name  
R/W  
R
Description  
Device  
version/revision  
information  
H/W  
Cold  
Warm  
20h  
0
CHIP_INFO  
1
20h  
20h  
Device reset  
register  
1
2
3
RST_REG  
RW  
RW  
R
1
1
1
F4h  
0
F4h  
0
F1h  
Interrupt source  
register  
INTERRUPT_SOURCE  
TSMSTATUS  
Pre-processor  
status  
0
0
4
5
ESMSTATUS  
FEC_STATUS  
R
R
1
1
Equalizer status  
FEC status  
01h  
10h  
01h  
10h  
QAM level  
configuration  
6
QAMCONFIG  
RW  
R
1
1
1
2
3
2
1
1
1
1
84h  
0
84h  
0
Detected  
frequency offset  
7
CARRIEROFFSET  
DETECTEDQAM  
DETECTEDSYMRATE  
Detected QAM  
level  
8
R
0
0
Symbol rate at  
which locked  
9 – 0AH  
R
0
0
Bit Error Rate  
estimate  
0BH – 0DH BER_EST  
R
0
0
Codeword reject  
count  
0EH – 0FH CWRJCT_CNT  
R
0
0
Interrupt mask  
register  
10H  
11H  
12H  
13H  
INTERRUPT_MASK  
RW  
RW  
RW  
RW  
0
0
Pre-processor  
configuration  
PRECONFIG  
AGCCTRL  
89h  
0
89h  
03h  
External AGC  
control  
Equalizer  
configuration  
EQUCONFIG  
03h  
– 14 –  
CXD1958Q  
Value on reset of type  
Sub-  
address  
Width  
bytes  
Name  
R/W  
Description  
H/W  
32h  
Cold  
Warm  
14H  
FEC_PARAMS  
RW  
RW  
1
2
FEC configuration  
Symbol rate  
table entry  
0AABh  
0AABh  
15H – 16H SYMRATETRIAL0  
17H – 18H SYMRATETRIAL1  
19H – 1AH SYMRATETRIAL2  
1BH – 1CH SYMRATETRIAL3  
1DH – 1EH SYMRATETRIAL4  
1FH – 20H SYMRATETRIAL5  
21H – 22H SYMRATETRIAL6  
23H – 24H SYMRATETRIAL7  
5Msym/s  
5Msym/s  
Symbol rate  
table entry  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
2
2
2
2
2
2
2
1
1
0
0
0
0
Symbol rate  
table entry  
Symbol rate  
table entry  
0
0
Symbol rate  
table entry  
0
0
Symbol rate  
table entry  
0
0
Symbol rate  
table entry  
0
0
Symbol rate  
table entry  
0
0
FEC sync detect  
thresholds  
25H  
26H  
SET_SYNC_DETECT  
1Dh  
04h  
1Dh  
04h  
Long term  
quality threshold  
LT_QLTY_THRESHOLD RW  
Bit error rate  
measurement  
period  
27H  
28H  
BER_EST_PERIOD  
ADC_CAL_PERIOD  
RW  
RW  
RW  
RW  
R
1
1
2
1
1
0Eh  
0Eh  
Not used in this  
application  
FFh  
FFh  
Nominal frequency  
of receive local  
oscillator  
32EFh  
36.125MHz 36.125MHz  
32EFh  
29H – 2AH ITBFREQ  
Equalizer tap  
address number  
2BH  
2CH  
EQUTAPSELECT  
0
0
0
0
In-phase  
component of  
equalizer tap  
EQUTAPI  
Quadrature  
component  
equalizer tap  
2DH  
EQUTAPQ  
R
1
0
0
In-phase  
equalizer output  
2EH  
2FH  
CONSTELLATIONI  
CONSTELLATIONQ  
R
R
1
1
0
0
0
0
Quadrature-phase  
equalizer output  
– 15 –  
CXD1958Q  
Value on reset of type  
Sub-  
address  
Width  
bytes  
Name  
R/W  
R
Description  
H/W  
Cold  
Warm  
IF external gain  
control integrator  
output level  
30H – 31H AGCIFINTG  
2
0
0
32H – 33H RFAGC  
RW  
RW  
2
4
RF gain control  
0
0
Tuner interface  
control I/F  
34H – 37H TUNER_CTRL  
0h  
0h  
TCM  
configuration and  
synchronization  
control  
38H  
TCM_CONFIG  
RW  
1
ABh  
ABh  
Transport stream  
output control  
39H  
3AH  
3BH  
TS_MODE  
RW  
R
1
1
1
B4h  
0
B4h  
0
Estimate of SNR  
in channel  
SNRESTIMATE  
LMSMUTRACK  
Equalizer adaption  
constant  
RW  
03h  
03h  
Maximum  
frequency offset  
carrier loop  
acquires  
3CH  
83H  
SWEEPRNG  
AGCTGT  
RW  
RW  
1
1
80h  
69h  
80h  
69h  
External gain  
control target  
signal level  
6. JTAG Test Interface  
A JTAG test interface is provided using the pins TDI, TDO, TMS, TRST and TCK. The Interface conforms to  
the IEEE1149.1 standard and provides access to the device boundary scan chain.  
– 16 –  
CXD1958Q  
Electrical Characteristics  
1. Absolute Maximum Ratings  
(Ta = 25°C, AVss = 0V, DVss = 0V)  
Item  
Symbol  
DVDD  
Condition  
Min.  
Max.  
+4.6  
+4.6  
Unit  
V
DVss – 0.5  
AVss – 0.5  
Digital power supply  
Analog power supply  
AVDD  
V
Pins TRST, TDI, TMS, TCK, A1, DVss – 0.5 DVDD + 0.5  
A0, VRT, VIN, VRB, XTALI  
Input voltage: –3.3V only  
input pins  
VI  
V
Pins SCL, SDA, RESETN, TEN, DVss – 0.5 DVSS + 5.5  
TCLK, TDATA, TWR_N,  
Input voltage: –5V tolerant  
input pins  
TSDISABLE, DT[9:0]  
Pins TEVAL[9:0], TDO, TVALID, DVss – 0.5 DVDD + 0.5  
TSLOCK, TSERR, TSDATA[7:0],  
TSCLK, TSSYNC, XTALO,  
Output voltage: –3.3V only  
pins  
DTCLK, AGC, RFAGC, VRTS,  
VRBS  
VO  
V
Pins INTRPTN, SEN0, SEN1,  
SCLK, SDATA, SDA, DT[9:0]  
DVss – 0.5 DVSS + 5.5  
–55 +150  
Output voltage: –5V tolerant  
input pins  
TSTG  
°C  
Storage temperature  
Notes:  
1. The device must be operated within the limits of the absolute maximum ratings. If the device is operated  
outside these conditions, the device may be permanently damaged.  
2. Functional operation at or outside any of the conditions indicated in the absolute maximum ratings is not  
implied.  
3. Exposure of the device to the absolute maximum rating condition for extended periods can affect system  
reliability.  
4. 5V tolerant inputs and outputs are only 5V tolerant while the device power is applied. If no device power is  
applied there in no protection to 5V levels and the device may be permanently damaged. It is important to  
observe the conditions for 5V protection when sequencing power supplies in the application.  
2. Recommended Operating Conditions  
Item  
Symbol  
DVDD  
Condition  
Min.  
3.0  
3.0  
30  
Typ.  
3.3  
Max.  
3.6  
3.6  
30  
Unit  
V
Digital power supply  
Analog power supply  
Crystal oscillator frequency  
DVss = 0V  
AVss = 0V  
AVDD  
3.3  
V
fXTAL  
MHz  
Ambient temperature  
range  
Ta  
0
+70  
°C  
– 17 –  
CXD1958Q  
3. DC Electrical Characteristics  
0°C < Ta < 70°C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V  
Item  
Input low voltage  
Input low voltage  
Input high voltage  
Symbol  
Condition  
Except pins SCL, SDA  
Pins SCL, SDA  
Min.  
Typ.  
Max. Unit  
VIL  
0.2DVDD  
0.3DVDD  
V
V
V
VIL  
VIH  
0.7DVDD  
Pins RESETN, TSDISABLE,  
TEN, TCLK, TDATA, TWR_N,  
SDA, SCL  
Input voltage hysteresis  
VHYST  
0.5  
V
Input low current  
Input low current  
IIL  
IIL  
Vin = DVSS, pins TCK, A1, A0  
–10  
µA  
µA  
Vin = DVSS, pins TMS, TDI,  
TRST  
–240  
–100  
–40  
Vin = DVss, pins SCL, SDA,  
RESETN, TEN, TCLK, TDATA,  
TWR_N, TSDISABLE, DT[9:0]  
Input low current  
Input high current  
Input high current  
IIL  
IIH  
IIH  
–40  
µA  
µA  
µA  
Vin = DVDD, pins TRST, TDI,  
TMS, TCK, A1, A0  
+10  
+40  
Vin = 5.5V, pins SCL, SDA,  
RESETN, TEN, TCLK, TDATA,  
TWR_N, TSDISABLE, DT[9:0]  
IOL = 2mA, pins AGC, RFAGC  
IOL = 3mA, pin SDA  
IOL = 4mA, pins TSVALID,  
TSERR, TDATA[7:0], TSCLK,  
TSSYNC, DT[9:0], TDO,  
TEVAL[9:0]  
Output voltage LOW  
VOL  
0.4  
V
IOL = 8mA, pins TSLOCK,  
DTCLK  
IOL = 12mA, pins SEN0, SEN1,  
SCLK, SDATA, INTRPTN  
IOH = –2mA, pins AGC, RFAGC,  
DT[9:0]  
IOH = –4mA, pins TSVALID,  
TSERR, TDATA[7:0], TSCLK,  
TSSYNC, TDO, TEVAL[9:0]  
IOH = –8mA, pins TSLOCK,  
DTCLK  
Output voltage HIGH  
Output voltage HIGH  
VOH  
DVDD – 0.4  
V
VOH  
VRB  
IOH = –2mA, pins DT[9:0]  
2.4  
V
V
ADC bottom reference  
voltage  
VRT connected to VRTS and  
VRB connected to VRBS  
0.33DVDD  
0.66DVDD  
VRT connected to VRTS and  
VRB connected to VRBS  
ADC top reference voltage  
VRT  
V
ADC input dynamic range  
Supply current  
VIADC  
IDD  
0.33DVDD  
V
Total current AVDD + DVDD  
330  
mA  
– 18 –  
CXD1958Q  
4. AC Electrical Characteristics  
4-1. Transport Stream Interface  
(4)  
(3)  
TSCLK  
TSDATA[7:0]  
TSSYNC  
(2)  
0x47  
0xmm  
0xnn  
(5)  
TSVALID,  
TSERR  
TSLOCK  
(1)  
Fig. 8. Transport Stream AC Timing  
Table 3. Transport Stream AC Timing Parameters  
0°C < Ta < 70°C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V  
Timing parameter  
Description  
Min.  
Typ.  
33.33  
Max.  
Unit  
ns  
tXTAL,  
Clock period defined by crystal oscillator  
tTSLOCKSU,  
TSLOCK valid setup time to TSSYNC, TSVALID  
and TSERR  
1
2
3
3 × tXTAL  
ns  
ns  
ns  
tTSJIT,  
tXTAL  
transport stream clock jitter  
tTSSU,  
transport stream TSDATA, TSSYNC, TSVALID  
and TSERR setup time to TSCLK active edge  
2 × tXTAL  
tTSHD,  
transport stream TSDATA, TSSYNC, TSVALID  
and TSERR hold time from TSCLK active edge  
4
5
2 × tXTAL ns  
tTSPW,  
2 × tXTAL  
ns  
transport stream TSCLK pulse width  
– 19 –  
CXD1958Q  
4-2. Tuner 3-Wire Bus Interface  
TEN,  
TCLK,  
TDATA  
TWR_N  
(6)  
(7)  
(8)  
Fig. 9. Tuner 3-Wire Bus Mode 0 AC Timing  
Table 4. Tuner 3-Wire Bus Mode 0 AC Timing Parameters  
0°C < Ta < 70°C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V  
Timing parameter  
6
Description  
Min.  
Typ.  
Max.  
40  
Unit  
ns  
tHCPUSU,  
host CPU TEN, TCLK, and TDATA setup time  
to TWR_N rising edge  
tHCPUHD,  
host CPU TEN, TCLK, and TDATA hold time  
from TWR_N rising edge  
7
8
10  
40  
ns  
ns  
tHCPUPW,  
host CPU TWR_N pulse width  
SCLK  
SDATA  
27  
26  
25  
24  
23  
22  
21  
7
6
5
4
3
2
1
0
SEN0[1]  
(15)  
(9)  
(13)  
(14)  
(10)  
(11)  
(12)  
SCLK  
SDATA  
SEN0[1]  
Fig. 10. Tuner 3-Wire Bus Mode 1 AC Timing  
– 20 –  
CXD1958Q  
Table 5. Tuner 3-Wire Bus Mode 1 AC Timing Parameters  
0°C < Ta < 70°C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V  
Timing parameter  
Description  
Min.  
Typ.  
Max.  
Unit  
ns  
tXTAL,  
33.33  
clock period defined by crystal oscillator  
tSENSU,  
3-wire bus SEN0 or SEN1 active setup time to  
SCLK rising edge  
9
192 × tXTAL  
64 × tXTAL  
256 × tXTAL  
ns  
ns  
ns  
tSDATASU,  
3-wire bus SDATA setup time to SCLK rising  
edge  
10  
11  
tSDATAHD,  
3-wire bus SDATA hold time from SCLK rising  
edge  
tSCLKPW,  
12  
13  
64 × tXTAL  
ns  
ns  
3-wire bus SCLK high pulse width  
tSCLKPER,  
3-wire bus SCLK period  
320 × tXTAL  
tSENHD,  
3-wire bus SEN0 or SEN1 hold time active after  
final SDATA bit  
14  
15  
64 × tXTAL  
ns  
ns  
tSENPW,  
9152 × tXTAL  
3-wire bus SEN0 or SEN1 active pulse width  
– 21 –  
CXD1958Q  
4-3. I2C Interface  
(17)  
(18)  
(18)  
P
S
(19)  
(22)  
(20)  
(23)  
(21)  
(24)  
Sr  
P
Fig. 11. I2C Interface AC timing  
Table 6. I2C Interface AC timing parameters  
0°C < Ta < 70°C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V  
Timing parameter  
16  
Description  
Min.  
Typ.  
Max.  
400  
Unit  
kHz  
fSCL,  
0
SCL clock frequency  
tSDABUF,  
Bus free time between a STOP (P) and  
START (S) condition  
17  
18  
1.3  
µs  
µs  
tSTAHD,  
Hold time (repeated) START condition. After this  
period, the first clock pulse is generated.  
0.6  
tSCLLOW,  
LOW period of SCL clock  
19  
20  
21  
22  
23  
24  
1.3  
0.6  
0.6  
0
µs  
µs  
µs  
µs  
ns  
µs  
tSCLHIGH,  
HIGH period of SCL clock  
tSTASU,  
Setup time for a repeated START condition  
tSDAHD,  
SDA data hold time  
0.9  
tSDASU,  
SDA data setup time  
100  
0.6  
tSTOSU,  
Setup time for STOP condition  
– 22 –  
CXD1958Q  
Control Register Definitions  
1. Notation  
Addresses and constant values are defined using decimal or hexadecimal numbers. Where they are used,  
hexadecimal numbers are prepended with “0x”.  
Register definitions are given in the following format:  
REGISTERNAME  
ADDRESS  
ACCESS MODE  
CORE  
DEFAULT VALUE  
7
6
5
4
3
2
1
0
Where,  
REGISTERNAME: Name of the register (e.g. EQUCONFIG)  
ACCESS MODE: Read (R), Write (W) or Read/Write (RW)  
CORE:  
Which register group it belongs to.  
ADDRESS:  
I2C bus address used to access register  
DEFAULT VALUE: Value after chip reset or software equivalent  
The most significant bit of each field is positioned to the left.  
Where logical registers occupy more than a single 8-bit physical register (for example where a parameter field  
requires more than 8 bits of precision) they are defined together and allocated successive (byte) addresses.  
2. Number Format  
Numerical values which can be positive or negative, use 2's complement number format. Numerical values  
which can be only positive, use plain unsigned binary representation.  
– 23 –  
CXD1958Q  
3. Register Definitions  
3-1. TSMSTATUS  
TSMSTATUS  
READ  
CORE  
ADDRESS: 0x03  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
AGC locked  
Reserved  
TSM status  
Bits 3 to 0:  
Current state of pre-processor state machine coded as follows:  
TSM status  
Synchronization state  
Cold reset  
State identifier  
RST  
0
1
2
3
4
5
6
Initialize  
INI  
Coarse timing acquisition  
Fine timing acquisition A  
Fine timing acquisition B  
Tracking  
CTA  
FTA  
FTB  
TRK  
Pre-processor lost lock  
PLL  
Bits 3 to 6:  
Bit 7:  
Reserved  
Set by the pre-processor when the AGC is in lock. Refer to the description of registers  
AGCTGT and AGCLKTHR.  
– 24 –  
CXD1958Q  
3-2. ESMSTATUS  
ESMSTATUS  
READ  
CORE  
ADDRESS: 0x04  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Reserved  
Current state of equalizer state machine coded as follows:  
ESM status  
Bits 3 to 0:  
ESM status  
Synchronisation state  
Reset  
State identifier  
0
1
RESET  
WPL  
FGA  
BLE1  
BLE2  
CFR  
DCC  
BDE  
SDE  
DDE  
CSI  
Wait for Pre-processor to Lock  
Fine Gain Adjustment  
Blind Linear Equalisation (1)  
Blind Linear Equalisation (2)  
Carrier Frequency Recovery  
DC Correction  
2
3
4
5
6
7
Blind DFE Equalisation  
S&G DFE Equalisation  
DD DFE Equalisation  
Check Spectral Inversion  
Tracking  
8
9
10  
11  
12  
TRK  
ELL  
Equalizer Lost Lock  
Bits 4 to 7:  
Reserved  
– 25 –  
CXD1958Q  
3-3. QAMCONFIG  
QAMCONFIG  
READ/WRITE  
CORE  
ADDRESS: 0x06  
DEFAULT : 0x84  
7
6
5
4
3
2
1
0
256 QAM  
Mapping  
256 QAM  
Enable  
128 QAM  
Enable  
64 QAM  
Enable  
32 QAM  
Enable  
16 QAM  
Enable  
Reserved  
Bits 0 to 4:  
Clear appropriate bit to prevent the demodulator from attempting to synchronize with the  
specified QAM. The default value is such that lock is only attempted with 64 QAM. If more  
than one QAM level is specified the equalizer attempts lock at each of the specified QAM  
levels until lock is achieved. This increases the lock time compared to setting the QAM level  
if known.  
Bits 5 to 6:  
Bit 7:  
Reserved  
Clear this bit to use the DVB 256 QAM mapping. The default value of 1 means that, in 256  
QAM mode, the MMDS mapping is used.  
3-4. CARRIEROFFSET  
FREQOFFSET  
READ  
CORE  
ADDRESS: 0x07  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Detected Carrier Offset  
Bits 0 to 7:  
Holds the detected coarse carrier frequency offset. This is a combination of any frequency  
offset correction applied in the pre-processor to allow symbol timing lock and the carrier  
frequency offset detected by the carrier recovery loop in the equalizer. It is encoded as  
follows:  
Fs  
Foff = CarrierOffset ·  
256  
Where Foff is the frequency offset from the nominal IF (or alias) and Fs is the ADC sample  
rate (nominally 30MHz). The maximum carrier frequency offset that can be accommodated  
is currently fixed at 512kHz although there may be SNR degradation for large offsets  
depending on the SAW filter used.  
– 26 –  
CXD1958Q  
3-5. DETECTEDQAM  
DETECTEDQAM  
ADDRESS: 0x08  
READ  
CORE  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Reserved  
Detected QAM Level  
Bits 0 to 3:  
Once the equalizer has lock this register contains the QAM level for which the equalizer  
locked and is decoded as follows:  
Register value  
QAM level  
0
1
2
3
4
16  
32  
64  
128  
256  
Bits 3 to 7:  
Reserved  
3-6. DETECTEDSYMRATE  
DETECTEDSYMRATE  
ADDRESS: 0x09 to 0A  
READ  
CORE  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Reserved  
TrialSRate  
TrialSRate  
Bits 0 to 3 & 0 to 7: Holds the last symbol rate at which the timing recovery PLL locked and which  
subsequently lead to valid MPEG packets being decoded by the FEC block. This symbol  
rate is restored as the trial symbol rate when the demodulator performs a hot reset and is  
encoded as follows:  
TrialSRate  
SymbolRate =  
· Fs  
16384  
Where Fs is the ADC sample rate (nominally 30MHz).  
– 27 –  
CXD1958Q  
3-7. PRECONFIG  
PRECONFIG  
READ/WRITE  
CORE  
ADDRESS: 0x11  
DEFAULT: 0x89  
7
6
5
4
3
2
1
0
Discrete  
Search  
ADC Offset  
Binary  
ADC  
External  
AGC Hold  
Hot Reset  
Reserved  
Bit 0:  
When set this enables a hot reset when the FEC block indicates that it has lost sync. This  
causes the pre-processor state machine to resume operation at a point where it can exploit  
prior knowledge of the received signal format gained whilst the chip was in lock.  
Specifically, a hot reset causes the PSM to restore values for IF carrier frequency offset  
and symbol rate used when the FEC last indicated that valid MPEG code words were being  
received. This facility is provided to minimize the time required for re-acquisition of sync in  
applications using a single symbol rate and can only be invoked from the state where the  
demodulator once had lock and subsequently lost it.  
Bit 1:  
Set to hold the AGC output at its current value following a warm reset rather than being  
reset to mid-range. This may reduce AGC acquisition times following a channel switch if  
signal levels are similar.  
Bit 2:  
Bit 3:  
Set to select the output of an external A/D converter for connection to the pre-processor  
instead of the (default) internal A/D.  
The signal processing elements of the pre-processor assume 2’s complement data is being  
supplied. Setting this bit inverts the top bit of the ADC output, converting the data format  
from offset binary to 2’s complement.  
Bits 4 to 6:  
Bit 7:  
Reserved  
Set to enable a symbol rate search at the discrete frequencies specified in the table  
SYMBRATETRIAL0 – SYMBRATETRIAL7. In this mode, the pre-processor attempts to  
recover symbol synchronization at the specified symbol rates only. If lock is not achieved  
within the time limit specified by CTATIMEOUT acquisition is attempted at the next  
frequency.  
– 28 –  
CXD1958Q  
3-8. AGCCTRL  
AGCCTL  
READ/WRITE  
CORE  
ADDRESS: 0x12  
DEFAULT : 0x00  
7
6
5
4
3
2
1
0
Reserved  
Invert AGC  
AGC Time Constant  
Bits 0 to 1:  
This controls the time constant of the AGC loop. The hardware reset value of 0 disables the  
AGC. A nominal setting of 2 should be programmed following power-up. This will allow the  
PWM average output to slew from its mid-range value to full scale in approximately 11ms.  
A setting of 1 doubles the time constant to 22ms and 3 halves it. A subsequent setting of 0  
locks the AGC output at its current level. The AGC control loop will be disabled at power-up  
with the AGC output pin giving a 50% duty cycle output. The host microprocessor should  
set the correct sense for the control loop and enable the AGC by setting AGC_TC to 2. A  
subsequent warm or cold reset will not reset either of these parameters.  
Bit 2:  
This controls the sense of the AGC loop. The default value of "0" will give a decreasing  
control output when the input is overloaded. A value of "1" will give an increasing value.  
3-9. EQUCONFIG  
EQUCONFIG  
READ/WRITE  
CORE  
ADDRESS: 0x13  
DEFAULT : 0x03  
7
6
5
4
3
2
1
0
Invert  
Spectrum  
Reserved  
Disable CSI Hot Reset  
Bit 0:  
When set this enables a hot reset when the FEC block indicates that it has lost lock. This  
causes the equalizer state machine to resume operation at a point where it can exploit prior  
knowledge of the received signal format gained whilst the chip was in lock. Specifically, a  
hot reset causes the ESM to restore the last values for QAM order and spectral inversion  
used before the FEC indicated loss of lock.  
Bit 1:  
The device will automatically toggle the input spectrum once the equalizer has locked if the  
FEC has not locked. This toggling feature can be disabled by setting this bit.  
Set this to invert the spectrum of the input signal. It is not inverted by default. The setting of  
this bit is dependent upon the frequency plan used in the tuner.  
Bit 2:  
Bits 3 to 7:  
Reserved  
– 29 –  
CXD1958Q  
3-10. SYMRATETRIAL0  
SYMRATETRIAL0  
READ/WRITE  
CORE  
ADDRESS: 0x15 & 0x16  
DEFAULT: 0xAAB  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Reserved  
Trial Symbol Rate 0  
Trial Symbol Rate 0  
Bits 0 to 7 & 0 to 3: The SYMRATETRIAL0 – SYMRATETRIAL7 registers control the frequencies at which the  
timing loop attempts to lock. Their function depends upon the setting of the discrete  
search bit (bit 7) in the PRECONFIG register.  
When disabled (i.e. set to zero) the pre-processor performs a continuous symbol rate  
search which extends from the frequency specified in SYMRATETRIAL0 down to that  
specified in SYMRATETRIAL1. The search must be performed downwards in frequency  
and so SYMRATETRIAL0 defines the high frequency limit of the search range.  
When discrete search is enabled (i.e. set to one) the pre-processor attempts to  
synchronize at each of up to 8 discrete frequencies specified in SYMRATETRIAL0 –  
SYMRATETRIAL7. In this case SYMRATETRIAL0 defines the first symbol rate to test. If a  
discrete rate is set to zero then this causes the search to reset to TRIAL0 and start again.  
Therefore if a known single symbol rate is used then SYMRATETRIAL0 should be set  
appropriately and SYMRATETRIAL1 should be set to zero.  
For both modes the register setting is given by:  
Fsym  
SYMRATETRIAL0 =  
· 16384  
Fs  
Where Fsym is the symbol rate and Fs is the ADC sample rate (nominally 30MHz). The  
default value of 2731 corresponds to 5Msym/s with a 30MHz sample clock.  
3-11. SYMRATETRIAL1  
SYMRATETRIAL1  
READ/WRITE  
CORE  
ADDRESS: 0x17 & 0x18  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Reserved  
Trial Symbol Rate 1  
Trial Symbol Rate 1  
See SYMRATETRIAL0 register description.  
– 30 –  
CXD1958Q  
3-12. SYMRATETRIAL2  
SYMRATETRIAL2  
READ/WRITE  
CORE  
ADDRESS: 0x19 & 0x1A  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
7
7
7
7
6
6
6
6
5
5
5
5
4
3
2
1
1
1
1
0
Reserved  
Trial Symbol Rate 2  
Trial Symbol Rate 2  
See SYMRATETRIAL0 register description.  
3-13. SYMRATETRIAL3  
SYMRATETRIAL3  
READ/WRITE  
CORE  
ADDRESS: 0x1B & 0x1C  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
4
3
2
0
0
0
Reserved  
Trial Symbol Rate 3  
Trial Symbol Rate 3  
See SYMRATETRIAL0 register description.  
3-14. SYMRATETRIAL4  
SYMRATETRIAL4  
READ/WRITE  
CORE  
ADDRESS: 0x1D & 0x1E  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
4
3
2
Reserved  
Trial Symbol Rate 4  
Trial Symbol Rate 4  
See SYMRATETRIAL0 register description.  
3-15. SYMRATETRIAL5  
SYMRATETRIAL5  
READ/WRITE  
CORE  
ADDRESS: 0x1F & 0x20  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
4
3
2
Reserved  
Trial Symbol Rate 5  
Trial Symbol Rate 5  
See SYMRATETRIAL0 register description.  
– 31 –  
CXD1958Q  
3-16. SYMRATETRIAL6  
SYMRATETRIAL6  
READ/WRITE  
CORE  
ADDRESS: 0x21 & 0x22  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
7
7
7
6
6
6
5
5
5
4
3
2
1
1
1
0
Reserved  
Trial Symbol Rate 6  
Trial Symbol Rate 6  
See SYMRATETRIAL0 register description.  
3-17. SYMRATETRIAL7  
SYMRATETRIAL7  
READ/WRITE  
CORE  
ADDRESS: 0x23 & 0x24  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
4
3
2
0
Reserved  
Trial Symbol Rate 7  
Trial Symbol Rate 7  
See SYMRATETRIAL0 register description.  
3-18. ITBFREQ  
ITBFREQ  
READ/WRITE  
CORE  
ADDRESS: 0x29 & 0x2A  
DEFAULT: 0x32EF  
7
6
5
4
3
2
1
0
4
3
2
0
Reserved  
ITB Downconversion Frequency  
ITB Downconversion Frequency  
Bits 0 to 5 & 0 to 7: Nominal frequency of the receive local oscillator, encoded as follows:  
Fc  
ITBFREQ = –16384 ·  
Fs  
Where Fc is the centre frequency of the IF (or alias) and Fs is the ADC sample rate  
(nominally 30MHz). The setting of a negative value for ITBFREQ implies no spectrum  
inversion, whereas a positive value inverts the spectrum. This register sets the nominal  
received local oscillator frequency. Any frequency offsets are recovered separately within  
the device and fed back to the local oscillator.  
The default value of –3345 corresponds to a nominal frequency of 36.125MHz which  
aliases to 6.125MHz.  
– 32 –  
CXD1958Q  
3-19. EQUTAPSELECT  
TAPSELECT  
READ/WRITE  
CORE  
ADDRESS: 0x2B  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Reserved  
Tap Select  
Bits 0 to 5:  
Set this register to select tap number whose values are loaded into the TAPI and TAPQ  
registers. The feedforward taps are numbered 0 to 9 with the main tap being tap 9. The  
feedback taps are numbered 10 to 39 with 10 being the first feedback tap.  
Reserved  
Bits 6, 7:  
3-20. EQUTAPI  
TAPREAL  
READ  
CORE  
ADDRESS: 0x2C  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Tap value (in-phase)  
Bits 0 to 7:  
Contains the real (in-phase) component of the equalizer tap specified by the TAPSELECT  
register. This must be read before the EQUTAPQ register.  
3-21. EQUTAPQ  
TAPQUAD  
READ  
CORE  
ADDRESS: 0x2D  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Tap value (in-phase)  
Bits 0 to 7:  
Contains the imaginary (quadrature-phase) component of the equalizer tap specified by the  
TAPSELECT register. The process of reading this register automatically loads the next tap  
values into the EQUTAPI and EQUTAPQ registers (i.e. the TAPSELECT register need only  
be set once to obtain all the tap values).  
– 33 –  
CXD1958Q  
3-22. CONSTELLATIONI  
CONSTELLATIONI  
ADDRESS: 0x2E  
READ  
CORE  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Equalizer Constellation Output (In-phase)  
Bbus its 0 to 7:  
Contains the real (in-phase) component of the equalizer output before the decision device.  
Due to the speed limitations of the I2C bus this data is not continuous but is a sub-sampled  
version of the equalizer output. Even so, because of the random nature of the data, a  
constellation plot can still be formed from this data.  
3-23. CONSTELLATIONQ  
CONSTELLATIONQ  
ADDRESS: 0x2F  
READ  
CORE  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
Equalizer Constellation Output (Quadrature-phase)  
Bits 0 to 7:  
Contains the imaginary (quadrature-phase) component of the equalizer output before the  
decision device. Due to the speed limitations of the I2C bus this data is not continuous but  
is a sub-sampled version of the equalizer output. Even so, because of the random nature of  
the data, a constellation plot can still be formed from this data.  
3-24. AGCIFINTG  
AGCIFINTG  
READ  
CORE  
ADDRESS: 0x30 & 0x31  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
AGC  
integrator  
AGC integrator  
Reserved  
Bits 0 to 7 & 6 to 7: Contains the setting of the IF external AGC integrator. Note that the data format allows a  
single byte read if 8-bit resolution is sufficient. It is expected that the AGC range will be  
approximately 80dB, hence 8 bits should give better than 0.5dB resolution.  
– 34 –  
CXD1958Q  
3-25. RFAGC  
RFAGC  
READ/WRITE  
CORE  
ADDRESS: 0x32 & 0x33  
DEFAULT: 0x0  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
RFAGC  
integrator  
RFAGC integrator  
Reserved  
Bits 0 to 7 & 6 to 7: Allows setting of an RF external AGC level to the RF AGC PWM output. Note that the RF  
AGC is simply a register controlled PWM output and not a feedback loop. It is intended  
that the host software should monitor the AGCIFINTG register and manually set the  
RFAGC to optimize system performance. Note that the data format allows a single byte  
write if 8 bit resolution is sufficient.  
3-26. SNRESTIMATE  
SNRESTIMATE  
READ  
CORE  
ADDRESS: 0x3A  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
SNR Estimate  
Bits 0 to 7:  
Once the equalizer has locked this register contains a value from which the channel SNR  
can be estimated. The register value is based upon a moving average of the MSE of the  
constellation. The equation below shows the relation between the register value and the  
SNRo at the output of the equalizer. The estimate can be improved by averaging the  
contents of this register.  
SN Re stimate  
SNRo = –9.5ln [  
]
760  
3-27. LMSMUTRACK  
LMSMUTRACK  
READ/WRITE  
CORE  
ADDRESS: 0x3B  
DEFAULT: 0x03  
7
6
5
4
3
2
1
0
Reserved  
DDE MU  
Bits 0, 1:  
Sets the adaption constant of the equalizer during DDE and TRK states. A value of zero  
gives the largest adaption constant and tracks fast changes in the channel at the expense  
of steady-state behaviour whilst a value of three gives the lowest steady-state loss at the  
expense of dynamic tracking capability. Even the default value of 3 gives significant  
tracking capability.  
Bits 2 to 7:  
Reserved  
– 35 –  
CXD1958Q  
3-28. SWEEPRNG  
SWEEPRNG  
READ/WRITE  
CORE  
ADDRESS: 0x3C  
DEFAULT: 0x80  
7
6
5
4
3
2
1
0
Carrier Recovery Loop Sweep Range  
Bits 0 to 7:  
Sets the maximum frequency offset (positive and negative) over which the device acquires.  
The offset is twice the register value so, for example, the default value of 128 allows  
frequency offsets of ±256kHz to be acquired.  
3-29. CHIP_INFO  
CHIP_INFO  
READ  
CORE  
ADDRESS: 0x00  
DEFAULT: 0x20  
7
6
5
4
3
2
1
0
MMDS Version  
Major Revision Number  
Minor Revision Number  
Holds the revision information for the MMDS. Will always return 0x20.  
3-30. RST_REG  
RST_REG  
READ/WRITE  
CORE  
DEFAULT: 0xF4  
ADDRESS: 0x01  
7
6
5
4
3
2
1
0
ADC RST  
PRE RST  
EQU RST  
FEC RST  
Reserved  
HARD  
COLD  
WARM  
A hardware reset will occur when the RESETN pin to the IC is driven active. The RST_REG register shall  
record this action by setting the HARD flag to denote that a hardware reset has occurred.  
In a typical application RST_REG may be polled by a microprocessor via the I2C bus in order to detect whether  
a hardware reset has occurred. Once detected, the HARD flag may be reset via the I2C bus by writing 0x00 to  
the RST_REG.  
The microprocessor may also invoke two additional types of software reset (designated COLD and WARM) by  
writing directly to the RST_REG register as defined below.  
ADC RST PRE RST EQU RST FEC RST  
HARD  
(Bit 2)  
COLD  
(Bit 1)  
WARM  
(Bit 0)  
Meaning  
(Bit 7)  
(Bit 6)  
(Bit 5)  
(Bit 4)  
(Bit 3)  
X
Clear  
register  
X
X
X
X
X
X
X
0
0
1
0
1
X
WARM  
Reset  
ADC RST PRE RST EQU RST FEC RST  
ADC RST PRE RST EQU RST FEC RST  
X
X
COLD  
Reset  
– 36 –  
CXD1958Q  
RST_REG in WRITE mode  
The target blocks for the reset are specified via bits 4 to 7. To reset a block the appropriate bit must be set to  
1. For example, writing 1001XX10b to RST_REG would initiate a cold reset to the ADC and FEC blocks.  
Note that, as before, a write of 0x00 will clear the register.  
When the register has been written to, the appropriate reset signals shall be generated. Cold or warm resets  
are terminated by writing to the RST_REG to clear the associated bit.  
Note that bit 2 is unaffected by a software reset, and will remain 0, unless a separate reset occurred in the interim.  
3-31. INTERRUPT_SOURCE  
INTERRUPT_SOURCE  
ADDRESS: 0x02  
READ  
CORE  
DEFAULT: 0x01  
7
6
5
4
3
2
1
0
TS_ERR_ LLCK_  
SRC FLAG_SRC FLAG_SRC SRC  
TS_LOCK_ EQM_LCK_ PRE_LCK_ AGC_LCK_  
SRC SRC  
Reserved  
ES_SRC  
When the MMDS signals an interrupt by driving the INTRPTN pin low, a bit in the interrupt source register will  
be set to indicate the source of the interrupt. The expected system operation will be for the STB CPU to read  
this register to determine the interrupt source, clear the equivalent bit in the mask register so that another  
interrupt is not immediately re-flagged, and then clear the source register by writing 0x00 to it. When not in  
auto-clear mode (see "Description of Functions 3-6") this will result in the MMDS releasing the open-drain  
INTRPTN pin, allowing it to be pulled high by an external resistor.  
The possible interrupt sources are:  
ES_SRC:  
Errored second detected. When 1 or more 204-byte packet is uncorrectable in a second (due to more than 8  
errored bytes) an errored second is flagged.  
TS_ERR_SRC:  
Transport stream error detected. When a 204-byte packet is output with errors (due to more than 8 errored  
bytes) the transport error indicator in the 4-byte MPEG2 header is set and the TSERR output is driven.  
LLCK_FLAG_SRC:  
Lost lock. When transport stream lock has been achieved, but is then subsequently lost due to n dropped sync  
bytes (where n is programmable in SET_SYNC_DETECT).  
TS_LOCK_SRC:  
Transport stream LOCK. Valid MPEG2 data has started being output from the MMDS.  
EQM_LCK_SRC:  
Equalizer LOCK. The equalizer is in tracking mode.  
PRE_LCK_SRC:  
Pre-processor LOCK. The pre-processor is in tracking mode.  
AGC_LCK_SRC:  
AGC LOCK. The external gain control loop has converged with the input signal in the correct range.  
Note that this register must be cleared for INTRPTN to be released when not in auto-clear mode.  
– 37 –  
CXD1958Q  
3-32. FEC_STATUS  
FEC_STATUS  
READ  
CORE  
ADDRESS: 0x05  
DEFAULT: 0x10  
7
6
5
4
3
2
1
0
SEVERELY  
ERRORED  
SECOND  
NEW_  
TCM_  
SYNC_  
ERROR  
ERRORED  
SECOND  
LCK_FLAG LLCK_FLAG TS_LOCK ERRORED_ TCM_LOCK  
SECOND  
This register reflects the current status of the FEC. During normal operation this should return 0x28 to indicate  
both lock and transport stream lock. Note that the initial value is 0x10 to indicate that lock is lost – or in fact not  
yet gained.  
SEVERELY ERRORED SECOND:  
Severely errored second detected. When n or more 204-byte packets are uncorrectable in a second (due to  
more than 8 errored bytes, with n programmable in LT_QLTY_THRESHOLD) an errored second is flagged.  
ERRORED SECOND:  
Errored second detected. When 1 or more 204-byte packet is uncorrectable in a second (due to more than 8  
errored bytes) an errored second is flagged.  
LCK_FLAG:  
Lock gained. When n sync bytes have been detected (where n is programmable in SET_SYNC_DETECT).  
LLCK_FLAG:  
Lost lock. When transport stream lock has been achieved, but is then subsequently lost due to n dropped sync  
bytes (where n is programmable in SET_SYNC_DETECT).  
TS_LOCK:  
Transport stream LOCK. Valid MPEG2 data has started being output from the MMDS.  
NEW_ERRORED_SECOND:  
This bit is high when the errored second and severely errored second values have been updated and not yet  
read. After FEC_STATUS has been read, this bit will return to zero until the values are next updated. The  
CWRJCT_COUNT register is updated over the same period as the errored seconds, so NEW_ERRORED_  
SECOND could also be polled to determine when CWRJCT_COUNT holds a new value.  
TCM_LOCK:  
TCM symbol synchronization LOCK. This bit is high when TCM symbol synchronization is achieved.  
TCM_SYNC_ERROR:  
This bit is set when the TCM symbol synchronization cannot lock in the current channel conditions.  
– 38 –  
CXD1958Q  
3-33. BER_EST  
BER_EST  
READ  
CORE  
ADDRESS: 0x0B & 0x0C & 0x0D  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
New_  
Estimate  
Reserved  
Overflow  
Bit Error Estimate  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Bit Error Estimate  
Bit Error Estimate  
This register is big endian, with the MSByte at address 0x0B and the LSByte at address 0x0D.  
The MSByte actually contains the top nibble of the BER value, together with a new_estimate flag. This flag is  
set at the end of the BER measurement period, to indicate that an unread BER value is in the register. It is  
reset after a read to the register has been performed to indicate that the BER value has been read.  
The BER value is either an estimate, or measurement depending upon the setting in the FEC_PARAMS  
register.  
If more than 2097151 errors have been seen in the measurement period then the OVERFLOW flag will be set  
to indicate that the BER_EST reading is invalid. To prevent an overflow, the user should decrease the value in  
the BER_EST_PERIOD register.  
3-34. CWRJCT_CNT  
CWRJCT_CNT  
READ  
CORE  
ADDRESS: 0x0E & 0x0F  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Codeword reject count  
Codeword reject count  
CWRJCT_CNT stands for codeword reject count. A codeword is one 204-byte packet. If such a packet  
contains more than 8 byte errors, the Reed Solomon will be unable to correct it successfully, and this is termed  
a rejected codeword. Therefore this register returns the count of rejected codewords in one second. It is  
intended that this register may be accessed when a severely errored second is flagged, if additional  
information is required regarding the degree of the severity.  
This register is big endian, with the MSByte at address 0x0E and the LSByte at address 0x0F.  
– 39 –  
CXD1958Q  
3-35. INTERRUPT_MASK  
INTERRUPT_MASK  
ADDRESS: 0x10  
READ/WRITE  
CORE  
DEFAULT: 0x00  
7
6
5
4
3
2
1
0
TS_ERR_ LLCK_  
MSK FLAG_MSK FLAG_MSK MSK  
TS_LOCK_ EQM_LCK_ PRE_LCK_ AGC_LCK_  
MSK MSK  
AUTO_CLR ES_MSK  
This register should be programmed by setting the bit corresponding to each required interrupt source. It  
defaults to 0x00, so no conditions will signal an interrupt. If one or more of the bits are set, then when that  
condition occurs, an interrupt will be by driving the INTRPTN pin low.  
With AUTO_CLR turned off once an interrupt has been signalled, the bit corresponding to the interrupt source  
in INTERRUPT_MASK must be reset to prevent an interrupt being continually signalled. Once this has been  
done, the INTERRUPT_SOURCE register can also be reset to release the open-drain INTRPTN pin, allowing  
it to be pulled high by an external resistor.  
With AUTO_CLR turned on, when an interrupt occurs the INTRPTN pin goes low for 4 clocks (133ns) and then  
returns high. The source of the interrupt is latched in the INTERRUPT_SOURCE register, and the INTRPTN  
pin will go low again each time the interrupt occurs. By this method, for example, an exact count of lock losses,  
errored seconds or transport stream errors could be gained. Also acquisition times can be easily measured by  
interrupting on AGC_LCK_MSK and TS_LOCK_MSK with AUTO_CLR on.  
The possible interrupt sources are:  
ES_MSK:  
Errored second detected. When 1 or more 204-byte packet is uncorrectable in a second (due to more than 8  
errored bytes) an errored second is flagged.  
TS_ERR_MSK:  
Transport stream error detected. When a 204-byte packet is output with errors (due to more than 8 errored  
bytes) the transport error indicator in the 4-byte MPEG2 header is set and the TSERR output is driven.  
LLCK_FLAG_MSK:  
Lost lock. When transport stream lock has been achieved, but is then subsequently lost due to n dropped sync  
bytes (where n is programmable in SET_SYNC_DETECT).  
TS_LOCK_MSK:  
Transport stream LOCK. Valid MPEG2 data has started being output from the MMDS.  
EQM_LCK_MSK:  
Equalizer LOCK. The equalizer is in tracking mode.  
PRE_LCK_MSK:  
Pre-processor LOCK. The pre-processor is in tracking mode.  
AGC_LCK_MSK:  
AGC LOCK. The external gain control loop has converged with the input signal in the correct range.  
Note that if the bit corresponding to the interrupt condition is not reset in this register and just the  
INTERRUPT_SOURCE register is written to (to clear the interrupt), the INTRPTN pin will not trigger an  
addition interrupt if the interrupt condition is no longer true.  
For example, if an interrupt were configured by setting the LLCK_FLAG_ MSK bit, a lost lock condition would  
be signalled via an interrupt. The interrupt could be cleared by writing to the LLCK_FLAG_ SRC bit in the  
INTERRUPT_SOURCE register, and in the meantime if the MMDS had regained lock , the interrupt condition  
would no longer be true and the INTRPTN pin would remain open-drain.  
– 40 –  
CXD1958Q  
3-36. FEC_PARAMS  
FEC_PARAMS  
READ/WRITE  
CORE  
ADDRESS: 0x14  
DEFAULT: 0x32  
7
6
5
4
3
2
1
0
TS_CLK_  
POSEDGE_  
LATCHING  
MEASURE TRI_  
TS_LOCK_ NO_DEEP_  
ACTIVE_HI DEINT  
RS_  
DISABLE  
Reserved  
MENT_  
STATE_  
SELECT  
OUTPUTS  
TS_CLK_POSEDGE_LATCHING:  
Defaults to one, which strobes TSCLK such that TSDATA should be latched on its positive edge by any logic  
interfacing to the MMDS. When zero, TSDATA should be latched on the negative edge of TSCLK.  
NO_DEEP_DEINT:  
When this bit is set, it prevents a de-interleave depth of I=204 on 256QAM or TCM. A de-interleave depth of I = 12  
is used instead.  
MEASUREMENT_SELECT:  
When this bit is set, the MMDS will be configured to measure the BER, assuming that ETSI standard NULL  
packets are being transmitted. When set, the RS_DISABLE bit must be set to enable pre Reed Solomon BER  
measurements to be made or the RS_DISABLE bit must be cleared to enable post Reed Solomon BER  
measurements to be made. When reset, the MMDS will estimate the BER by measuring the number of bit  
corrections which the Reed Solomon makes. Note that although termed an estimate, this value should be very  
accurate until the BER rises to 10–4 , where the limits of the Reed Solomon are neared.  
TRI_STATE_OUTPUTS:  
When this bit is set, all the transport stream pins, TSVALID, TSSYNC, TSERR, TSCORR and TSDATA will go  
tristate. This is the default reset condition for the MMDS so that in a combined DVB-C / DVB-S or DVB-T  
system, the transport stream outputs may be simply wired together thereby eliminating the need for any off-  
chip tri-state buffers.  
RS_DISABLE:  
When this bit is set the Reed Solomon decoder is disabled, so that the transport stream data retains any  
errors. This bit MUST be set if the MEASUREMENT_SELECT bit is set to enable BER measurement. When  
reset the Reed Solomon decoder corrects errors.  
– 41 –  
CXD1958Q  
3-37. SET_SYNC_DETECT  
SET_SYNC_DETECT  
ADDRESS: 0x25  
READ/WRITE  
CORE  
DEFAULT: 0x1D  
7
6
5
4
3
2
1
0
SYNC_  
CNTR_  
MODE  
TSSYNC_  
CNTR_  
MODE  
Sync_loss_ladder_length  
Sync_ladder_length  
All the bits in this register are used to control the lock and lost lock mechanisms in the MMDS FEC. There are  
two stages of FEC lock: LOCK and TSLOCK.  
LOCK indicates sync byte lock. The FEC hunts for either the MPEG2 sync byte (0x47) or inverted sync byte  
(0xB8) in the received byte stream. Once either is detected, a search is started 204 bytes later for the next  
one. Every time a sync byte or inverted sync byte is successfully detected 204 bytes from the previous one a  
count is incremented. If neither a sync byte nor an inverted sync byte are detected when expected the count is  
either decremented or reset to zero. The former mode of operation is termed up/down and the latter reset.  
TSLOCK indicates transport stream lock. This occurs using a similar mechanism to that described above,  
except the TSLOCK logic operates upon the post error-corrected data. This ensures that the lock mechanism,  
and more importantly the lost-lock mechanism gains the benefit of operating on data with a lower BER. This  
enables the MMDS to remain in lock under conditions where otherwise despite the Reed Solomon being able  
to successfully correct errors, lock is lost due to errored sync bytes.  
The LOCK and TSLOCK logic searches for n consecutive sync or inverted sync bytes where n is given by :  
n = SYNC_LADDER_LENGTH – SYNC_LOSS_LADDER_LENGTH.  
SYNC_CNTR_MODE:  
When this bit is set, the LOCK logic operates in up/down mode. When reset it operates in reset mode.  
TS_SYNC_CNTR_MODE:  
When this bit is set, the TSLOCK logic operates in up/down mode. When reset it operates in reset mode.  
SYNC_LOSS_LADDER_LENGTH[2:0]:  
By varying SYNC_LOSS_LADDER_LENGTH, losing sync lock can be made easier (SYNC_LADDER_  
LENGTH-1) or harder (small value). SYNC_LOSS_LADDER_ LENGTH must have a value less than  
SYNC_LADDER_LENGTH.  
SYNC_LADDER_LENGTH[2:0]:  
By varying SYNC_LADDER_LENGTH, sync lock can be made easier (small value) or harder (large value) to  
achieve. SYNC_LADDER_LENGTH must have a minimum value of 2.  
– 42 –  
CXD1958Q  
3-38. LT_QLTY_THRESHOLD  
LT_QLTY_THRESHOLD  
ADDRESS: 0x26  
READ/WRITE  
CORE  
DEFAULT: 0x04  
7
6
5
4
3
2
1
0
Long term Quality Threshold  
The MMDS retains a count of the number of codewords rejected by the Reed Solomon in one second (where a  
codeword is one 204-byte packet). This count is compared to the value in LT_QLTY_THRESHOLD and if it  
exceeds it, a severely errored second is flagged. The default value is one.  
3-39. BER_EST_PERIOD  
BER_EST_PERIOD  
ADDRESS: 0x27  
READ/WRITE  
CORE  
DEFAULT: 0x0E  
7
6
5
4
3
2
1
0
Reserved  
BER Estimation Measurement Period  
BER_EST_PERIOD sets the BER estimation/measurement period, governed by the equation:  
Estimation/measurement period = 2BER_EST_PERIOD 204-byte packets  
Note that the internal counter supports values of between 0x01 and 0x1f to yield a measurement period  
between 1 and 2 × 109 204-byte packets. Over the range of QAM levels and data rates this results in a  
maximum measurement period of 22 hours (256QAM, 7Mbaud). The default is 0x0e, which is 16000 packets.  
3-40. TUNER_CTL  
TUNER_CTL  
READ/WRITE  
CORE  
ADDRESS: 0x34 to 0x37  
DEFAULT: 0x00000000  
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Sen_  
pol  
Mode Send Sel  
SDATA[27:24]  
SDATA[23:16]  
SDATA[7:0]  
SDATA[15:8]  
MODE:  
This selects the source of control data for the tuner interface. If MODE=0 the data driven over the tuner  
interface is sourced from the CPU interface pins TCLK, TDATA, TEN, TWR_N. This is the default mode after  
reset. If MODE = 1 SDATA in the TUNER_CTRL register is transmitted over the tuner interface.  
SEND:  
When this bit is set the SDATA transmission over the tuner interface is initiated. This bit is cleared when the  
transmission terminates.  
– 43 –  
CXD1958Q  
SEL:  
This bit selects the active tuner PLL pin. If SEL = 0 transmission is active using the SEL0 pin. If SEL = 1  
transmission is active using the SEL1 pin.  
SEN_POL:  
This bit selects the polarity of the SEN outputs. If SEN_POL = 0 the SEN outputs are active low. If SEN_POL =  
0 the SEN outputs are active high.  
SDATA[27:0]:  
Holds data for transmission over the tuner interface.  
When the tuner interface is controlled via the CPU pins, during reset the active channel SEN output is low and  
thereafter it follows the TEN CPU input pin. The inactive channel SEN is set to its inactive state during reset  
according to the polarity selection of SEN_POL.  
When the tuner interface is controlled via the I2C bus SEND control both the active and inactive SEN pins are  
driven according to the SEN_POL control.  
3-41. TCM_CONFIG  
TCM_CONFIG  
READ/WRITE  
CORE  
ADDRESS: 0x38  
DEFAULT: 0xAB  
7
6
5
4
3
2
1
0
TCM_  
ENABLE  
FEC_  
AUTO_LOCK  
Reserved  
Reserved  
Equalizer State Threshold  
TCM_ENABLE:  
This control is used to select between QAM decoding and TCM decoding. When set TCM decoding is enabled.  
FEC_AUTO_LOCK:  
This control, if set, enables the FEC lock status to automatically control re-acquisition in the equalizer. If this bit  
is not set re-acquisition in the equalizer is controlled by software reset.  
EQU_STATE_THRES:  
This controls when the TCM decoder starts its synchronization to TCM symbols. This control can be  
programmed to one of the equivalent states in the ESM_STATUS register. When programmed to an equivalent  
state of the equalizer the TCM decode starts synchronizing when the equalizer reaches that state. If a state is  
programmed in this control which does not exist in the equalizer the TCM decoder will not synchronize to the  
input data and no FEC lock can be achieved.  
– 44 –  
CXD1958Q  
3-42. TS_MODE  
TS_MODE  
READ/WRITE  
CORE  
ADDRESS: 0x39  
DEFAULT: 0xB4  
7
6
5
4
3
2
1
0
TSVALID_ TSSYNC_  
ACTIVE_HI ACTIVE_HI ACTIVE_HI SEL_MSB PULSE  
TSERR_  
OUTPUT_ TSVALID_  
TSERR_  
PULSE  
TSERR_  
FULL  
TSCLK_  
FULL  
TSVALID_ACTIVE_HI:  
When this bit is set, the TSVALID pin will function in active high mode. When reset, it will be active low.  
TSSYNC_ACTIVE_HI:  
When this bit is set, the TSSYNC pin will function in active high mode. When reset, it will be active low.  
TSERR_ACTIVE_HI:  
When this bit is set, the TSERR pin will function in active high mode. When reset, it will be active low.  
OUTPUT_SEL_MSB:  
When this bit is set, the MSB for the TSDATA output will be TSDATA[7]. When reset, the TSDATA output MSB  
will be TSDATA[0].  
TSVALID_PULSE:  
Determines whether the TSVALID signal is pulsed or constant. Pulsed when set.  
TSERR_PULSE:  
Determines whether the TSERR signal is pulsed or constant. Pulsed when set.  
TSERR_FULL:  
Determines whether the TSERR signal is valid for 204 bytes or for 188 bytes. Valid only when TSERR_PULSE  
is not set. Valid for 204 bytes when set.  
TSCLK_FULL:  
Determines whether the TSCLK signal is valid for 204 bytes or 188 bytes. Valid for 204 bytes when set.  
3-43. AGCTGT  
AGCTGT  
READ/WRITE  
EXPERT  
ADDRESS: 0x83  
DEFAULT: 0x69  
7
6
5
4
3
2
1
0
AGC Target Level  
Bits 0 to 7:  
Sets the target signal level used by the external gain control (AGC) loop. It sets the required  
mean level of the input IF signal which corresponds to approximately the Peak to Peak  
range in bits divided by 8. An AGC_TGT setting of 128 corresponds with the onset of  
clipping when a 256 QAM signal is applied to the 10-bit input.  
The gain control loop is deemed to have settled when the integrated magnitude error falls  
below a threshold value for a period greater than 136ms. The status of the loop is indicated  
by the AGCLOCK flag in the TSM_STATUS register.  
The default value of 105 corresponds to the pk-pk value approximately 3dB below full scale  
on the ADC in a clear channel. This margin is required to cope with the increased peak to  
mean signal levels in a multipath channel.  
– 45 –  
CXD1958Q  
Application Circuit Diagrams  
The following circuit diagrams show examples of how to interface to the CXD1958Q. Fig. 12 shows a typical  
circuit configuration where the tuner section is controlled via I2C bus.  
Reset  
Control  
HOST CPU  
5V  
SDA  
SCL  
DVDD  
DVSS  
VRTS  
VRT  
VRB  
TSDISABLE  
TSLOCK  
TSERR  
VRBS  
AVSS  
AVSS  
TSSYNC  
TSVALID  
TSCLK  
LPF  
CXD1958Q  
Optional external RF AGC loop  
SAW  
RFAGC  
I2C  
Synth  
Filter  
AGC  
Cable  
VIN  
TSDATA  
XAGC  
Tuner  
Module  
LPF  
IF = 36.125MHz  
30MHz  
DVSS  
JTAG Control  
DVSS  
Fig. 12. Typical Circuit for CXD1958Q  
If the tuner is controlled via I2C bus it is preferable to prevent general I2C bus traffic from reaching the tuner  
and only allow tuner specific commands to pass to the tuner. This can be done using the SEN0 pin, which is  
programmable via I2C bus by writing to the SEL bit in the TUNER_CTL register. The SEN0 pin is then used as  
a pass-FET control signal thereby isolating the I2C bus traffic from the tuner when not required by the tuner.  
Fig. 13 shows the connectivity of the tuner when using SEN0 as pass-FET control.  
The tuner can also be controlled via 3-wire bus. In this case there are two modes in which the 3-wire bus pins  
can be controlled. The first is to set the 3-wire bus outputs via the host CPU control lines (TWR_N, TEN, TCLK  
and TDATA). The second is to set the 3-wire bus outputs via I2C bus. Selection of these two modes is done via  
the TUNER_CTL register (see "Control Register Definitions" 3-40. TUNER_CTL). Fig. 14 shows the  
connectivity of the tuner using 3-wire bus pins.  
– 46 –  
CXD1958Q  
5V  
5V  
HOST CPU  
d
d
s
s
g
g
5V  
DVSS  
LPF  
Optional external RF AFC loop  
RFAGC  
CXD1958Q  
SAW  
Filter  
I2C  
Synth  
VIN  
Cable  
IF = 36.125MHz  
Tuner Module  
AGC  
LPF  
Fig. 13. Interface to Tuner using SEN0 as Pass-FET Control  
HOST CPU  
5V  
DVSS  
Optional enable for 2nd PLL Synth  
SEN1  
SCLK  
SDATA  
SEN0  
LPF  
RFAGC  
CXD1958Q  
SAW  
Filter  
3-wire  
Synth  
interface  
Cable  
VIN  
IF = 36.125MHz  
Tuner Module  
AGC  
LPF  
Fig. 14. 3-Wire Bus Interface to Tuner  
– 47 –  
CXD1958Q  
Package Outline  
Unit: mm  
100PIN QFP (PLASTIC)  
23.9 ± 0.4  
+ 0.1  
0.15 – 0.05  
+ 0.4  
20.0 – 0.1  
80  
51  
50  
81  
A
31  
100  
1
30  
+ 0.15  
0.3 – 0.1  
0.65  
+ 0.35  
2.75 – 0.15  
0.13  
0.15  
M
+ 0.2  
0.1 – 0.05  
0° to 10°  
DETAIL A  
PACKAGE STRUCTURE  
PACKAGE MATERIAL  
LEAD TREATMENT  
EPOXY RESIN  
SOLDER PLATING  
QFP-100P-L01  
QFP100-P-1420  
SONY CODE  
EIAJ CODE  
LEAD MATERIAL  
PACKAGE MASS  
42/COPPER ALLOY  
1.7g  
JEDEC CODE  
– 48 –  

相关型号:

CXD1959

Set-Top Box Using the Sony CXD1959
ETC

CXD1961AQ

DVB-S Frontend IC (QPSK demodulation + FEC)
SONY

CXD1961Q

DVB-S Front-end IC (QPSK demodulator + FEC)
SONY

CXD1968AR

DVB-T Demodulator
SONY

CXD1969

CableCARDTM INTERFACE CONTROLLER
SONY

CXD2011Q

TV/Video Filter
ETC

CXD2018AQ

Vertical Processor/Deflector
ETC

CXD2024AQ

TV/Video Filter
ETC

CXD2027Q

DBS Audio Signal Processor
SONY

CXD2027Q/R

DBS Audio Signal Processor
ETC

CXD2027R

DBS Audio Signal Processor
SONY