demodulation for different standards, simultaneously
with 1-channel FM demodulation
• Near Instantaneous Companded Audio Multiplex
(NICAM) decoding (B/G, D/K, I and L standard)
• 2-carrier multi-standard FM demodulation (B/G, D/K,
I and M standard)
• Single carrier high deviation FM mono demodulation
mode
• Decoding for three analog multi-channel systems (A2)
and satellite sound
• Adaptive de-emphasis for satellite
• Programmable identification (B/G, D/K and M standard)
and different identification times
• FM pilot carrier presence detector
• Optional AM demodulation for L standard,
simultaneously with NICAM
• Monitor selection for FM/AM demodulator outputs and
FM and NICAM signals with peak option
• Automatic FM dematrixing option
• Digital crossbar switch
• I2S-bus serial audio output with matrix, level adjust and
mute
• Dual audio Digital-to-Analog Converter (DAC) from
digital crossbar switch to analog crossbar switch,
bandwidth 15 kHz
• Automatic Volume Level (AVL) control
• Analog crossbar switch with inputs for mono and stereo
• Output selection of mono, stereo, dual, dual A or dual B
• Additional mono output with automatic select
• 20 kHz bandwidth for analog path
• Standby mode
• Automatic output selection for TV applications.
2GENERAL DESCRIPTION
The TDA9874A is a single-chip Digital TV Sound
Demodulator/Decoder (DTVSD) for analog and digital
multi-channel sound systems in TV/VCR sets and satellite
receivers.
2.1Supported standards
The multi-standard/multi-stereo capability of the
TDA9874A is of interest in Europe, Hong Kong/PR China
and South East Asia. This includes B/G, D/K, I, M and
L standards. In other application areas there exist subsets
of the standard combinations or only single standards are
transmitted.
All A2 (analog 2-carrier) and NICAM systems are
supported. M standard (with mono or BTSC stereo sound)
can be received and processed in mono sound mode.
TheAM sound of L/L’ standard is normally demodulated in
the1st soundIF.The resulting AF signal has to be entered
into the mono audio input of the TDA9874A. A second
possibility is to use the internal AM demodulator stage
(with 6.5 MHz intercarrier), which gives limited
performance.
Korea has a stereo sound system similar to Europe which
is supported by the TDA9874A. Differences include
deviation, modulation contents and identification. It is
based on M standard.
For all FM standards a high deviation mode for a single
carrier monaural sound demodulation is selectable.
An overview of the supported standards, sound systems
and their key parameters is given in Tables 1 to 3.
The analog multi-channel systems are sometimes also
referred to as 2-carrier systems (2CS).
The pin numbers given in parenthesis refer to the TDA9874AH.
Fig.1 Block diagram.
2000 Aug 046
CROSSBAR
MONO
CHANNEL
OUTPUT
BUFFERS
5 (43)
OUTM
ANALOG
SWITCH
OUTL OUTR
2-CHANNEL
OUTPUT
BUFFERS
7 (1)8 (2)
(39) 1
(40) 2
(38) 42
MHB584
EXTIR
EXTIL
MONOIN
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
5PINNING
SYMBOL
DESCRIPTION
SDIP42QFP44
EXTIR139external audio input right channel
EXTIL240external audio input left channel
PIN
V
ref2
341analog reference voltage for DAC and operational amplifiers
P2442second general purpose I/O pin
OUTM543analog output mono
V
SSA4
644analog ground supply 4 for analog back-end circuitry
OUTL71analog output left
OUTR82analog output right
V
V
V
V
V
DDA1
SSA1
SSD1
DDD1
SSD2
93analog supply voltage 1; back-end circuitry 5 V
104analog ground supply 1; back-end circuitry
115digital ground supply 1; core circuitry
126digital supply voltage 1; core voltage regulator circuitry
137digital ground supply 2; core circuitry
n.c.−8not connected
TP2149additional test pin 2; connected to V
SSD
NICAM1510serial NICAM data output (at 728 kHz)
TP11611additional test pin 1; connected to V
SSD
PCLK1712NICAM clock output (at 728 kHz)
ADDR11813first I
2
C-bus slave address modifier input
XTALO1914crystal oscillator output
XTALI2015crystal oscillator input
TP3−16additional test pin 3; connected to V
TEST22117test pin 2; connected to V
I
ref
ADDR22319second I
V
SSA2
V
DEC
2218resistor for reference current generation; front-end circuitry
2
C-bus slave address modifier input
2420analog ground supply 2; analog front-end circuitry
2521analog front-end circuitry supply voltage decoupling
TEST12622test pin 1; connected to V
SSD
SSD
SSD
for normal operation
for normal operation
SIF22723sound IF input 2
V
ref1
2824reference voltage; for analog front-end circuitry
SIF12925sound IF input 1
CRESET3026capacitor for Power-on reset
V
SSA3
V
DDA3
SCL3329I
SDA3430I
SDO3531I
WS3632I
3127digital ground supply 3; front-end circuitry
3228analog front-end circuitry regulator supply voltage 3 (5 V)
2
C-bus serial clock input
2
C-bus serial data input/output
2
S-bus serial data output
2
S-bus word select input/output
for normal operation
for normal operation
for normal operation
2000 Aug 047
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
SYMBOL
PIN
SDIP42QFP44
SCK3733I2S-bus clock input/output
SYSCLK3834system clock output
V
V
DDD3
SSD3
3935digital supply voltage 3; digital I/O pads
4036digital ground supply 3; digital I/O pads
P14137first general purpose I/O pin
MONOIN4238analog mono input
6.1Description of the demodulator and decoder
section
6.1.1SIF INPUTS
Twoinputsareprovided,pin SIF1andpin SIF2. For higher
SIF signal levels the SIF input can be attenuated with an
internal switchable −10 dB resistor divider. As no specific
filters are integrated, both inputs have the same
specification giving flexibility in application. The selected
signal is passed through an AGC circuit and then digitized
by an 8-bit ADC operating at 24.576 MHz.
6.1.2AGC
The gain of the AGC amplifier is controlled from the ADC
output by means of a digital control loop employing
hysteresis. The AGC has a fast attack behaviour to
prevent ADC overloads, and a slow decay behaviour to
prevent AGC oscillations. For AM demodulation the AGC
must be switched off. When switched off, the control loop
is reset and fixed gain settings can be chosen
(see Table 14).
The AGC can be controlled via the I2C-bus; details are
given in Sections 7.3.2, 7.3.3 and 7.4.6.
6.1.3MIXER
The digitized input signal is fed to the mixers, which mix
one or both input sound carriers down to zero IF. A 24-bit
control word for each carrier sets the required frequency.
Access to the mixer control word registers is via the
I2C-bus (see Sections 7.3.5 and 7.3.6) or via Easy
Standard Programming (ESP, see Section 7.3.23). When
receiving NICAM programs, a feedback signal is added to
the control word of the second carrier mixer to establish a
carrier-frequency loop.
6.1.4FM AND AM DEMODULATION
An FM or AM input signal is fed through a switchable
band-limiting filter into a demodulator that can be used for
either FM or AM demodulation. Apart from the standard
(fixed) de-emphasis characteristic, an adaptive
de-emphasis is available for Wegener-Panda 1 encoded
satellite programs.
2000 Aug 049
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
6.1.5FM DECODING
A2-carrierstereodecoderrecoverstheleft and right signal
channels from the demodulated sound carriers. Both the
European and Korean stereo systems are supported.
AutomaticFM dematrixing is also supported,whichmeans
that the FM sound mode identification (mono, stereo or
dual) switches the FM dematrix directly. No loop via the
microcontroller is needed.
For highly overmodulated signals, a high deviation mode
for monaural audio sound single carrier demodulation can
be selected.
NICAM decoding is still possible in high deviation mode.
6.1.6FM IDENTIFICATION
The identification of the FM sound mode is performed by
AM synchronous demodulation of the pilot and
narrow-band detection of the identification frequencies.
Theresultisavailableviathe I2C-businterface.Aselection
can be made via the I2C-bus for B/G, D/K and M
standards, and for three different time constants that
representdifferenttrade-offsbetweenspeedandreliability
ofidentification.Apilotdetectorallowsthecontrolsoftware
to identify an analog 2-carrier (A2) transmission within
approximately 0.1 s.
Automatic FM dematrixing, depending on the
identification, is possible.
6.1.7NICAM DEMODULATION
The NICAM signal is transmitted in a DQPSK code at a bit
rate of 728 kbits/s. The NICAM demodulator performs
DQPSK demodulation and passes the resulting bitstream
and clock signal to the NICAM decoder and, for evaluation
purposes, to various pins.
Atimingloopcontrolsthefrequencyof the crystal oscillator
to lock the sampling instants to the symbol timing of the
NICAM data.
6.1.8NICAM DECODING
The device performs all decoding functions in accordance
with the
the frame alignment word, the data is descrambled by
applying the defined pseudo-random binary sequence.
The device then synchronizes to the periodic frame flag
bit C0.
“EBU NICAM 728 specification”
. After locking to
The status of the NICAM decoder can be read outfrom the
NICAMstatusregisterbytheuser(seeSection 7.4.2). The
OSB bit indicates that the decoder has locked to the
NICAM data. The VDSP bit indicates that the decoder has
locked to the NICAM data and that the data is valid sound
data. The C4 bit indicates that the sound conveyed by the
FM mono channel is identical to the sound conveyed by
the NICAM channel.
Theerrorbytecontainsthe number of soundsampleerrors
(resulting from parity checking) that occurred in the past
128 msperiod.TheBitErrorRate(BER)canbecalculated
using the following equation:
BER
6.1.9NICAM AUTO-MUTE
This function is enabled by setting bit AMUTE to logic 0
(see Section 7.3.12). Upper and lower error limits may be
definedbywritingappropriatevaluestotwo registers in the
I2C-bus section (see Sections 7.3.14 and 7.3.15). When
thenumberoferrorsina128 ms period exceeds the upper
error limit, the auto-mute function will switch the output
sound from NICAM to whatever sound is on the first sound
carrier (FM or AM) or to the analog mono input. When the
error count is smaller than the lower error limit, the NICAM
sound is restored.
The auto-mute function can be disabled by setting
bit AMUTE to logic 1. In this case clicks become audible
when the error count increases. The user will hear a signal
of degrading quality.
If no NICAM sound is received, the outputs are switched
from the NICAM channel to the 1st sound carrier.
A decision to enable or disable the auto-mute is taken by
the microprocessor based on an interpretation of the
application control bits C1, C2, C3 and C4, and possibly
any additional strategy implemented by the user in the
microcontroller software.
When the AM sound in NICAM L systems is demodulated
in the 1st sound IF and the audio signal connected to the
mono input of the TDA9874A, the controlling
microprocessor has to ensure switching from NICAM
receptiontomonoinput,ifauto-mutingisdesired.Thiscan
be achieved by setting bit AMSEL = 1 and bit AMUTE = 0.
bit errors
----------------------total bits
error byte 1.74×10
5–
×≈=
2000 Aug 0410
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
6.1.10CRYSTAL OSCILLATOR
The digital controlled crystal oscillator (DCXO) is fully
integrated. Only an external 24.576 MHz crystal is
required.
6.1.11TEST PINS
All test pins are active HIGH. In normal operation of the
device they can be left open-circuit, as they have internal
pull-down resistors. Test functions are for manufacturing
tests only and are not available to customers.
6.1.12POWER FAIL DETECTOR
The power fail detector monitors the internal power supply
for the digital part of the device. If the supply has
temporarily been lower than the specified lower limit, the
power failure register bit PFR in subaddress 0 (see
Section 7.4.1), will be set to logic 1. Bit CLRPFR, slave
register subaddress 1 (see Section 7.3.3), resets the
Power-on reset flip-flop to logic 0. If this is detected, an
initialization of the TDA9874A has to be performed to
ensure reliable operation.
6.1.13POWER-ON RESET
The reset is active LOW. In order to perform a reset at
power-up, a simple RC circuit may be used which consists
of an integrated passive pull-up resistor and an external
capacitor connected to ground. The pull-up resistor has a
nominal value of 50 kΩ, which can easily be measured
between pins CRESET and V
. Before the supply
DDD3
voltage has reached a certain minimum level, the state of
the circuit is completely undefined and remains in this
undefined state until a reset is applied.
The reset is guaranteed to be active when:
• The power supply is within the specified limits
(4.5 to 5.5 V)
• The crystal oscillator (DCXO) is functioning
• The voltage at pin CRESET is below 0.3V
V
= 5.0 V, typically below 1.8 V).
DDD
DDD
(1.5 V if
The required capacitor value depends on the gradient of
the rising power supply voltage. The time constant of the
RC circuit should be clearly larger than the rise time of the
power supply [to make sure that the reset condition is
always satisfied (see Fig.4)], even when considering
tolerance spreading. To avoid problems with a too slow
discharging of the capacitor at power-down, it may be
helpful to add a diode from pin CRESET to V
DDD
.
It should be noted that the internal ESD protection diode
does not help here as it only conducts at higher voltages.
Under difficult power supply conditions (e.g. very slow or
non-monotonic ramp-up), it is recommended to drive the
reset line from a microcontroller port or the like.
handbook, halfpage
V
5
1.5
V
DDD
> 4.5 V
V
CRESET
reset active
guaranteed
MHB587
< 0.3V
DDD
t
Fig.4 Reset at Power-on.
6.2Description of the DSP
6.2.1LEVEL SCALING
All input channels to the digital crossbar switch are
equipped with a level adjustment facility to change the
signal level in a range of ±15 dB. Adjusting the signal level
is intended to compensate for the different modulation
parameters of the various TV standards. Under nominal
conditions it is recommended to scale all input channels to
be 15 dB below full-scale. This will create sufficient
headroom to cope with overmodulation and avoids
changes of the volume impression when switching from
FM to NICAM or vice versa.
6.2.2NICAM PATH
The NICAM path has a switchable J17 de-emphasis.
6.2.3NICAM AUTO-MUTE
If NICAM is received, the auto-mute is enabled and the
signalqualitybecomes poor. The digital crossbar switches
automatically to FM, channel 1 or the analog mono input,
as selected by bit AMSEL. This automatic switching
depends on the NICAM bit error rate. The auto-mute
function can be disabled via the I2C-bus.
2000 Aug 0411
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
6.2.4FM (AM) PATH
A high-pass filter suppresses DC offsets from the
FM demodulator that may occur due to carrier frequency
offsets, and supplies the FM monitor function with DC
values, e.g. for the purpose of microprocessor controlled
carrier search or fine tuning functions.
An adaptive de-emphasis is available for
Wegener-Panda 1 encoded satellite programs.
The de-emphasis stage offers a choice of settings for the
supported TV standards.
The 2-channel decoder performs the dematrixing of
1
⁄2(L + R), R to L and R signals of1⁄2(L + R) and1⁄2(L − R)
to L and R signals or of channel 1 and channel 2 to
L and R signals, as demanded by the different TV
standards or user preferences.
Automatic FM dematrixing is also supported.
Using the high deviation mode, only channel 1 (mono) can
be demodulated. The scaling is −6 dB compared to
2-channel decoding.
6.2.5MONITOR
This function provides data words from the
FM demodulator outputs and FM and NICAM signals for
external use, such as carrier search or fine tuning.
The peak level of these signals can also be observed.
Source selection and data read out are performed via the
I2C-bus.
6.2.6DIGITAL CROSSBAR SWITCH
The input channels are derived from the FM and NICAM
paths,while the output channels comprise I2S-bus and the
audio DACs to the analog crossbar switch. It should be
noted that there is no connection from the external analog
audio inputs to the digital crossbar switch.
6.2.7DIGITAL AUDIO OUTPUT
The digital audio output interface comprises an I2S-bus
output port and a system clock output. The I2S-bus port is
equipped with a level adjustment facility that can change
the signal level in a ±15 dB range in 1 dB steps. Muting is
possible,too,andoutputscan be disabled toimproveEMC
performance.
TheI2S-busoutputmatrixprovidesthe functions for forced
mono, stereo, channel swap, channel 1 or channel 2.
Automatic selection for TV applications is possible. In this
case the microcontroller program only has to provide a
user controlled sound A or sound B selection.
6.2.8STEREO CHANNEL TO THE ANALOG CROSSBAR PATH
A level adjustment function is provided with control
positions of 0 dB, +3 dB, +6 dB and +9 dB in combination
with the audio DACs. The Automatic Volume Level (AVL)
function provides a constant output level of
−20 dB (full-scale) for input levels between
0 dB (full-scale) and −26 dB (full-scale). There are some
fixed decay time constants to choose from, i.e.
2, 4 or 8 seconds.
Automatic selection for TV applications is possible. In this
case the microcontroller program only has to provide a
user controlled sound A or sound B selection.
6.2.9GENERAL
The level adjustment functions can provide signal gain at
multiple locations. Great care has to be taken when using
gain with large input signals, e.g., due to overmodulation,
inorder not to exceed the maximum possible signal swing,
which would cause severe signal distortion. The nominal
signal level of the various signal sources to the digital
crossbar switch should be 15 dB below digital full-scale
(−15 dB full-scale).
2000 Aug 0412
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2000 Aug 0413
handbook, full pagewidth
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
NICAM
FM
DC
FILTER
FIXED
DE-EMPHASIS
ADAPTIVE
DE-EMPHASIS
FIXED
DE-EMPHASIS
2-CHANNEL
DECODER
LEVEL
ADJUST
LEVEL
ADJUST
DIGITAL
CROSSBAR
SELECT
MATRIX
MONITOR
LEVEL
ADJUST
LEVEL
ADJUST
LEVEL
ADJUST
stereo DACs
mono DAC
2
I
S-bus
2
C-bus
I
MHB588
Fig.5 DSP data flow diagram.
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
6.3Description of the analog audio section
6.3.1ANALOG CROSSBAR SWITCH AND ANALOG MATRIX
The TDA9874A has one external analog stereo input, one
mono input, one 2-channel and one single-channel output
port. Analog source selector switches are employed to
provide the desired analog signal routing capability, which
is done by the analog crossbar switch section.
The basic signal routing philosophy of the TDA9874A is
that each switch handles two signal channels at the same
time (e.g. left and right, language A and B) directly at the
source. For an overview of the signal flow see Fig.7.
Each source selector switch is followed by an analog
matrix to perform further selection tasks, such as putting a
signal from one input channel, say language A, to both
output channels or for swapping left and right channels.
The analog matrix provides the functions given in Table 5.
Automatic matrixing for TV applications is also supported.
All switches and matrices are controlled via the I2C-bus.
6.3.2EXTERNAL AND MONO INPUTS
The external and mono inputs accept signal levels of up to
1.4 V (RMS). By adding external series resistors to
provide suitable attenuation, the external input could be
used as a SCART input. Whenever the external or mono
input is selected, the output of the DAC is muted to
improve the crosstalk performance.
6.3.3AUDIO DACS
The TDA9874A comprises a 2-channel audio DAC and an
additional single-channel audio DAC for feeding signals
fromtheDSPsectiontotheanalogcrossbarswitch.These
DACs have a resolution of 15 bits and employ four-times
oversampling and noise shaping.
6.3.4AUDIO OUTPUT BUFFERS
The output buffers provide a gain of 0 dB and offer a
muting possibility. The post filter capacitors of the audio
DACs are connected to the buffer outputs.
6.3.5STANDBY MODE
The standby mode (see Section 7.3.3) disables most
functions and reduces power dissipation of the
TDA9874A. It provides no other function.
Internal registers may lose their information in standby
mode. Therefore, the device needs to be initialized on
returningtonormaloperation.Thiscan be accomplished in
the same way as after a Power-on reset.
handbook, full pagewidth
mono (AM)
EXTIL
EXTIR
DACL
DACR
DACM
source select
Fig.6 Switch diagram for the analog audio section.
2000 Aug 0414
matrix
OUTL
OUTR
OUTM
MHB589
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2000 Aug 0415
mono
external
NICAM
FM/AM
NICAM
DEMODULATOR
FM/AM
DEMODULATOR
NICAM
DECODER
ADAPTIVE
DE-EMPHASIS
DE-EMPHASIS
FIXED
DE-EMPHASIS
2-CHANNEL
DECODER
handbook, full pagewidth
LEVEL
ADJUST
LEVEL
ADJUST
DIGITAL
CROSSBAR
SELECT
LEVEL
ADJUST
AVL
DACs
ANALOG
CROSSBAR
SWITCH
MATRIX
MATRIX
MATRIX
BUFFER
BUFFER
LEVEL
ADJUST
STEREO
OUTPUT
MONO
OUTPUT
2
I
S-bus
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
Fig.7 Audio signal flow.
MHB590
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
7I2C-BUS CONTROL
7.1Introduction
The TDA9874A is controlled only via the I2C-bus. Control
is exercised by writing data to one or more internal
registers. Status information can be read from an array of
registers to let the controlling microprocessor determine
whether any action is required.
The device has an I2C-bus slave transceiver in
accordance with the fast-mode specification with a
maximum speed of 400 kbits/s. Information about the
I2C-bus can be found in brochure
it”
(order number 9398 393 40011). To avoid conflicts in a
real application with other ICs providing similar or
complementing functions, there are four possible slave
addresses available, which can be selected by
pins ADDR1 and ADDR2 (see Table 6).
Table 6 Possible slave addresses
ADDR2 ADDR1
00 1011000
01 1011001
10 1011010
11 1011011
The I2C-bus interface remains operational in the standby
mode of the TDA9874A to allow the device to be
reactivated via the I2C-bus.
The device will not respond to a ‘general call’ on the
I2C-bus, i.e. when a slave address of 0000 000 is sent by
a master.
A6 A5A4 A3 A2A1 A0
“I2C-bus and how to use
SLAVE ADDRESS
7.2Power-up state
After Power-on reset respectively at power-up the device
is in the following state:
• All outputs muted
• No sound carrier frequency loaded
• General purpose I/O pins ready for input (HIGH)
• Input SIF1 selected with:
– AGC on
– SIF 10 dB attenuator off
– Small hysteresis.
• Demodulators for both sound carriers set to FM with:
– Identification for B/G, D/K, identification mode ‘slow’
– Level adjustment set to 0 dB
– De-emphasis 50 µs
– Dematrix set to mono
– Adaptive de-emphasis off.
• Analog outputs are muted and connected to DACs
• Digital audio interface all outputs off
• Monitor set to carrier 1 DC output.
After Power-on reset or power-up, a device initialization
has to be performed via the I
into the proper mode of operation, in accordance with the
desired TV standard, etc. This can be done by writing to all
registers with a single I2C-bus transmission (such as a
refresh operation) or by writing selectively only to those
registers, the contents of which need to be changed with
regardtothepower-upstate. Easy StandardProgramming
(ESP) can also be used.
2
C-bus to put the TDA9874A
2000 Aug 0416
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
7.3Slave receiver mode
As a slave receiver, the TDA9874A provides 26 registers
for storing commands and data. Each register is accessed
via a so-called subaddress. A subaddress can be thought
of as a pointer to an internal memory location.
Detailed descriptions of the slave receiver registers are
given in Sections 7.3.2 to 7.3.21.
It is allowed to send more than one data byte per
transmission to the TDA9874A. In this event, the
subaddress is automatically incremented after each data
byte, resulting in storing the sequence of data bytes at
successive register locations, starting at SUBADDRESS.
A transmission can start at any valid subaddress. Each
byte that is properly stored, is acknowledged with
A (acknowledge).
2
Table 7 I
SSLAVE ADDRESS0ASUBADDRESSADATAAP
Table 8 Explanation of Table 7
C-bus; slave address, subaddress, data format
If an attempt is made to write data to a non-existing
subaddress, the device acknowledges with A (not
acknowledge),thereforetellingtheI2C-busmastertoabort
the transmission. There is no ‘wrap-around’ of
subaddresses.
Commands and data will be processed as soon as they
have been received completely. Functions requiring more
than one byte will thus be executed only after all bytes for
that function have been received. If the transmission is
terminated (STOP condition) before all bytes have been
received, the incomplete data for that function is ignored.
Data patterns sent to the various subaddresses are not
checked for being illegal or not at that address, except for
the level adjustment functions.
Detection of a STOP condition without a preceding
acknowledge bit is regarded as a bus error. In this case,
the last operation will not be executed.
BITFUNCTION
SSTART condition
SLAVE ADDRESS7-bit device address
0data direction bit (write to device)
Aacknowledge
SUBADDRESSaddress of register to write to
DATAdata byte to be written into register
PSTOP condition
Table 9 Format for a transmission employing auto-increment of subaddresses
SSLAVE ADDRESS0ASUBADDRESSADATA
BYTE A
Note
1. n data bytes with auto-increment of subaddresses.
7.3.1PROGRAMMING VIA THE I2C-BUS
The TDA9874A can be programmed in the same way as
its predecessor (TDA9874H) using the
subaddresses 0 to 24 or by using ESP.
7.3.1.1Programming via subaddresses 0 to 24
While programming the TDA9874A, by writing to
subaddresses 0 to 24, it is not allowed to access
subaddress 255. Writing data to subaddress 255 will
overwrite the data previously written to subaddresses
3 to 10. This may cause unwanted effects.
DATAAP
(1)
2000 Aug 0417
Philips SemiconductorsProduct specification
Digital TV sound demodulator/decoderTDA9874A
7.3.1.2Using Easy Standard Programming (ESP)
This facility simplifies programming by reducing the
amount of data to be set-up and transferred via the
I2C-bus.
Subaddress 255givescontrolof most standarddependent
settings of the IC; see ESP register in Section 7.3.23.
When using ESP it is recommended not to write data to
subaddresses 3 to 10.
A possible programming flow for using ESP and automatic
FM dematrixing (bit TVSM = 1 and bit IDSWFM = 1) is
shown in Table 10. It should be noted that the NICAM
configurationregisterandtheleveladjustmentregistersfor
FM and NICAM are not affected by ESP.
Table 10 Programming the TDA9874A by using ESP and automatic FM dematrixing
REGISTER
CONTENT OF REGISTER
NUMBERNAME
0AGCGRSet AGCGR = 20H for using the −10 dB attenuator at the SIF input, otherwise write a 00H to
this register.
1GCONRSelect the chosen SIF input pin by writing data to bit SIFSEL (bit 0) and choose the AGC
decay time corresponding to your application by writing the appropriate data to
bit AGCSLOW (bit 2).
2MSRset this register according to your sound mode detection algorithm
3to10−do NOT write data to these registers while using ESP
11FMMRset FMMR = 80H to choose automatic FM dematrixing
12C1OLARsee Table 36
13C2OLARsee Table 37
14NCONRset NCONR = 04H to select FM source automatically if NICAM is not available
15NOLARsee Table 40
16NLELRset NLELR = 14H (default setting after Power-on reset) if no other value is chosen
17NUELRset NUELR = 50H (default setting after Power-on reset) if no other value is chosen
18AMCONRset AMCONR = F9H to enable all analog outputs
19SDACOSR set SDACOSR = 81H to select +6 dB gain (see Table 46) and NICAM or FM output
20AOSRTo select an internal source set AOSR = 80H to select dual A or set AOSR = C0H to select
dual B (if dual mode is transmitted) to all analog outputs. For selecting an external source
see Section 7.3.18.
21DAICONRuse only for I
2
22I
23I
SOSRuse only for I2S-bus output, see detailed description in Section 7.3.20
2
SOLARuse only for I2S-bus output, see detailed description in Section 7.3.21
2
S-bus output, see detailed description in Section 7.3.19
24MDACOSR Set MDACOSR = 82H to select dual A or set MDACOSR = 83H to select dual B (if dual
mode is transmitted) to all analog outputs. For selecting an external source see
Section 7.3.22.
255ESPsee detailed description in Section 7.3.23
2000 Aug 0418
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
7.3.2AGC GAIN REGISTER (AGCGR)
If the AGC function is switched off in the general
configuration register (see Section 7.3.3), the contents of
thisregisterdefinesafixedgainoftheSIFinputstage.The
input voltages given are meant to generate a nearly
full-scale output from the SIF ADC. If the AGC is on, the
AGC gain setting is ignored. After switching off the AGC
function, the latest gain control setting is copied to the
AGC gain register.
Table 12 AGC gain register (subaddress 0)
76543210
00AGCLEVAGCB4AGCB3AGCB2AGCB1AGCB0
Table 13 Description of the AGC gain register bits
BITNAMEDESCRIPTION
7−this bit is not used and should be set to a logic 0
6−this bit is not used and should be set to a logic 0
5AGCLEVIf the AGC input level shift bit AGCLEV = 1 the input signal is scaled with −10 dB.
Bit AGCLEV is also active if the automatic gain function is enabled.
4AGCB4Ifthe automatic gain control function is switched off in the general configuration register,
3AGCB3
2AGCB2
1AGCB1
0AGCB0
the contents of this register will define a fixed gain of the AGC stage.
If the AGC input level shift bit AGCLEV is set to logic 1 the
input signal is scaled with −10 dB. The bit AGCLEV is also
active if the AGC function is enabled.
The default setting after Power-on reset is 0000 0000.
In Table 14 the stated step number corresponds with the
SIF level read from subaddress 7 (see Section 7.4.6); the
inputvoltagesshouldbeconsideredasapproximate target
values.
2000 Aug 0421
Loading...
+ 47 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.