ChipFind - документация

Электронный компонент: TDA7333

Скачать:  PDF   ZIP

Document Outline

1/21
TDA7333
January 2005
1
Features
3
rd
ORDER HIGH RESOLUTION SIGMA
DELTA CONVERTER FOR MPX SAMPLING
DIGITAL DECIMATION AND FILTERING
STAGES
DEMODULATION OF EUROPEAN RADIO
DATA SYSTEM (RDS)
DEMODULATION OF USA RADIO
BROADCAST DATA SYSTEM (RBDS)
AUTOMATIC GROUP- AND BLOCK
SYNCHRONIZATION WITH FLYWHEEL
MECHANISM
ERROR DETECTION AND CORRECTION
PROGRAMMABLE INTERRUPT SOURCE
(RDS BLOCK,TA)
I
2
C/SPI BUS INTERFACE
COMMON QUARTZ FREQUENCY 8.55 MHz
or 8.664MHz
3.3V POWER SUPPLY, 0.35 m CMOS
TECHNOLOGY
2
Description
The TDA7333 is a RDS/RDBS signal processor,
intended for recovering the inaudible RDS/RBDS
informations which are transmitted on most FM ra-
dio broadcasting stations.
RDS/RBDS PROCESSOR
Figure 2. Block Diagram
INTN
SIGMA DELTA
converter
BANDPASS
filter
SINC4
filter
RDS
demodulator &
synchronisation
INTERPOLATOR
TEST LOGIC
&
PIN MUX's
I2C/SPI
interface
OSCILLATOR
MPX
MPX
sinc4reg
INTN
MPX
SCL_CLK
SDA_DATAIN
SA_DATAOUT
CSN
XTI
XTO
TM
RESETN
resetn
tm
VDDA
VDDD
VSS
Cxti
Cxto
Cmpx
sdaout
sdain
sck
spi
testreg
10
REF1
REF3
REF2
Cref
Cref
Cref
4
3
2
16
9
1
5
7
15
8
6
14
13
12
11
16pF
16pF
Figure 1. Package
Table 1. Order Codes
Part Number
Package
TDA7333
TSSOP16
TSSOP16
Rev. 1
TDA7333
2/21
3
Pin Connection
Figure 3. Pin Connection (Top view)
4
PIN DESCRIPTION
Table 2. Pin Description
Pin No.
Pin Name
Function
1
VDDA
Analog Supply Voltage
2
REF3
Reference voltage 3 of A/D Converter (2.65V)
3
REF2
Reference voltage 2 of A/D Converter (1.65V)
4
REF1
Reference voltage 1 of A/D Converter (0.65V)
5
VSS
Common Ground
6
TM
Testmode Selection (scan test)
7
VDDD
Digital Supply Voltage
8
RESETN
External Reset Input (active low)
9
XTI
Oscillator Input
10
XTO
Oscillator Output
11
SCL_CLK
Clock Signal for I2C and SPI modes
12
SDA_DATAIN
Data Line in I2C mode, Data Input in SPI mode
13
SA_DATAOUT
Slave Address in I2C mode, Data output in SPI mode
14
CSN
Chip Select (1=I2C mode, 0=SPI mode)
15
INTN
Interrupt output (active low), prog. at buff.not empty,buff. full, block A,B,D ,TA, TA EON
16
MPX
Multiplex Input Signal
1
8
7
5
6
TDA7333
3
2
16
9
10
12
11
13
14
15
4
VDDA
REF2
REF3
XTI
XTO
VDDD
VSS
MPX
RESETN
TM
INTN
CSN
SA_DATAOUT
SDA_DATAIN
SCL_CLK
REF1
3/21
TDA7333
5
Quick Reference
Table 3. Quick Reference (T
amb
= 25C, VDDA/VDDD = 3.3V, fosc = 8.55 MHz)
6
Electrical Specifications
6.1
Absolute Maximum Ratings
Table 4. Absolute Maximum Ratings
6.2
General Interface Electrical Characteristics
Table 5. General Interface Electrical Characteristics
Symbol
Parameter
Values
Unit
Min.
Typ.
Max.
General
V
DDA
/V
DDD
Analog/Digital Power Supply
3.0
3.3
3.6
V
T
amb
Operating temperature
-40
+85
C
f
osc
Quartz Frequency
8.55 or
8.664
MHz
I
dd
Total Supply Current
10
mA
P
d
Power Dissipation
33
mW
S
RDS
RDS Input Sensitivity
1
mVrms
V
MPX
Input Range of MPX Signal
750
mVrms
f
SP
i
Maximum Speed in SPI mode
1
MHz
f
i2c
Maximum Speed in I
2
C mode
400
kHz
Symbol
Parameter
Test Conditions
Values
Unit
Min.
Typ.
Max.
V
DD
3.3 V Power Supply Voltages
-0.5
4
V
V
in
Input Voltage
5V tolerant inputs
-0.5
5.5
V
V
out
Output Voltage
5V tolerant output buffers in tri-state
-0.5
5.5
V
V
peak
Maximum Peak Voltage
6
V
Symbol
Parameter
Test Conditions
Values
Unit
Min.
Typ.
Max.
I
il
Low Level Input Current
V
i
=0V
1
A
I
ih
High Level Input Current
V
i
=V
DD
1
A
I
oz
Tri-state Output leakage
V
o
=0V or V
DD
1
A
V
o
=5.5V
1
3
A
TDA7333
4/21
6.3
Electrical Characteristics
T
amb
= -40 to +85 C, V
DDA
/V
DDD
= 3.0 to 3.6 V, f
osc
= 8.55 MHZ, unless otherwise specified
V
DDD
and V
DDA
must not differ more than 0.15 V
Table 6. Electrical Characteristics
Symbol
Parameter
Test Conditions
Values
Unit
Min.
Typ.
Max.
Supply (pin 1,5,7)
V
DDD
Digital Supply Voltage
3.0
3.3
3.6
V
V
DDA
Analog Supply Voltage
3.0
3.3
3.6
V
I
DDD
Digital Supply Current
2
mA
I
DDA
Analog Supply Current
8
mA
P
d
Total Power Dissipation
33
mW
Digital Inputs( pin 6,8,11,12,13,14)
V
il
Low level input voltage
0.8
V
V
ih
High level input voltage
2.0
V
V
ilhyst
Low level threshold input falling
1.0
1.15
V
V
ihhyst
High level threshold input rising
1.5
1.7
V
V
hst
Schmitt trigger hysteresis
0.4
0.7
V
Digital Outputs (pin 12,13,15) are open drains
V
oh
High level output Voltage
open drain, depends on external
circuitry
V
DDD
V
V
ol
Low level output Voltage
I
ol
=4mA, takes into account 200mV
drop in the supply voltage
0.4
V
Analog Inputs (pin 16)
V
MPX
Input Range of MPX Signal
0.75
Vrms
S
RDS
RDS Detection Sensitivity
1
mVrms
R
MPX
Input Impedance of MPX pin
55k
Ohm
Crystal parameters
f
osc
Quartz Frequency
8.55 or
8.664
MHz
t
su
Start up Time
10
ms
g
m
Transconductance
0.0006
A/V
C
xti
,C
xto
Load Capacitance
16
pF
Sigma Delta Modulator
F
s
Sample Rate
f
osc
=8.55 MHz
4.275
MHz
OVR
Oversampling Ratio
f =57 kHz
38
THD+N
Relative Total Harmonic Dist.
plus Noise
BW= 54.5 .. 59.5 kHz, unweigted,
V
rds
= 3mVrms
27
dB
Sinc4/16 Decimation Filter
f
s
Decimated Sample Rate
f
osc
= 8.55 MHz
267.2
kHz
A57
Attenuation at 57 kHz
-2.6
dB
Attenuation Difference
BW= 54.5 .. 59.5 kHz
0.4
dB
Bandpass Filter
f
s
Sample Rate
f
osc
=8.55 MHz
267.2
kHz
f
p
Passband Frequencies
55.6
58.4
kHz
5/21
TDA7333
7
Functional Description
7.1 Overview
The new RDS/RBDS processor contains all RDS/RBDS relevant functions on a single chip. It recovers the
inaudible RDS/RBDS information which are transmitted on most FM radio broadcasting stations.
Due to an integrated 3rd order sigma delta converter, which samples the MPX signal, all further processing
is done in the digital domain and therefore very economical. After filtering the highly oversampled output
of the A/D converter, the RDS/RBDS demodulator extracts the RDS DataClock , RDS Data Signal and
the Quality information. A next RDS/RBDS decoder will synchronize the bitwise RDS stream to a group
and block wise information. This processing includes an error detection and error correction algorithm. In
addition, an automatic flywheel control avoids exhaustive data exchange between the RDS/RBDS proces-
sor and the host.
The device operates in accordance with the EBU (European Broadcasting Union) specifications.
7.2 Sigma Delta Converter
The Sigma Delta Modulator is a 3rd order (second order-first order cascade) structure. Therefore a multibit out-
put (2 bit streams) represents the analog input signal. A next digital noise canceller will take the 2 bit streams
and calculates a combined stream which is then fed to the decimation filter. The modulator works at a sampling
frequency of XTI/2. The oversampling factor in relation to the band of interest (57 kHz +- 2.4 kHz) is 38.
7.3 Sinc4/16 Decimation Filter
The oversampled data delivered from the modulator are decimated by a value of 16 with a 4th order Sinc Filter.
This is considered to be the optimum solution for high decimation factors and for a 3rd order sigma delta mod-
ulator.
Symbol
Parameter
Test Conditions
Values
Unit
Min.
Typ.
Max.
R
p
Passband Ripple
-0.5
+0.5
dB
f
stop
Stopband Corner Frequencies
53.0
61
kHz
R
s
Stopband Attenuation
-43
dB
M
i
Interpolation Factor
32
I
2
C
f
I2C
clock frequency in I
2
C mode
400
kHz
SPI
f
SPI
clock frequency in SPI mode
1
MHz
t
ch
clock high time
450
ns
t
cl
clock low time
450
ns
t
csu
chip select setup time
500
ns
t
csh
chip select hold
500
ns
t
odv
output data valid
250
ns
t
oh
output hold
0
ns
t
d
deselect time
1000
ns
t
su
data setup time
200
ns
t
h
data hold time
200
ns
Table 6. Electrical Characteristics (continued)
TDA7333
6/21
The architecture is a very economical implementation because digital multipliers are not required. It is imple-
mented by cascading 4 integrators operating at full sampling rate (XTI/2) followed by 4 differentiators operating
at the reduced sampling rate (XTI/2/16). Also wrap around logic is allowed and the internal overflow will not af-
fect the output signal as long as a minimum required bit width is maintained.
The transfer function of this Sinc4/16 filter is:
with K = 4, M = 16
and its frequency response is:
with
Figure 4. Transfer function of a 4th order Sinc Filter, decimation factor is 16.
H z
( )
1
M
-----
1
z M
1
z 1
--------------------
K
=
H ej
(
)
1
M
-----
M
2
---------
sin
2
----
sin
-----------------------
K
=
2
f
fs
-----
=
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
x 10
6
100
90
80
70
60
50
40
30
20
10
0
Sinc4/16 Transfer Function
Frequency [Hz]
Magnitude [dB]
7/21
TDA7333
Figure 5. Magnitude Response of Sinc4/16 Filter in RDS Band
7.4 RDS Bandpass Filter and Interpolator
The 8th order digital RDS bandpass filter is of type Tschebyscheff and centered at 57 kHz. With linear phase
characteristics in the passband and approximately flat group delay it guarantees best filter function of the RDS
and ARI signal. Four biquads are cascaded working at a common sampling frequency of XTI/2/16.
Figure 6. Transfer Function of RDS Bandpass Filter
5.4
5.5
5.6
5.7
5.8
5.9
6
x 10
4
5
4.5
4
3.5
3
2.5
2
1.5
1
0.5
0
Sinc4/16 Transfer Function (RDS Band)
Frequency [Hz]
Magnitude [dB]
4
4.5
5
5.5
6
6.5
7
x 10
4
100
90
80
70
60
50
40
30
20
10
0
10
Transfer Function of RDS Filter
Frequency [Hz]
Magnitude [dB]
TDA7333
8/21
Figure 7. Phase Response of the RDS Bandpass Filter
The output sample of the bandpass filter is picked up from a linear interpolator with sinc2 characteristics. The
interpolation factor is 32. A zero cross detection is simply formed by taking the sign bit of the interpolated signal.
This signal which contains only phase informations is processed by the RDS Demodulator.
7.5 Demodulator
The demodulator includes :
RDS quality indicator with selectable sensitivity
Selectable time constant of 57kHz PLL
Selectable time constant of bit PLL
time constant selection done automatically or by software
Figure 8. Demodulator Block Diagram
5.6
5.65
5.7
5.75
5.8
x 10
4
3
2
1
0
1
2
3
Phase of RDS Filter
Frequency [Hz]
Phase [Radians]
to RDS group and block synchronisation
module:
from RDS group and block synchronisation
module:
RD
RDSDAT
RDSQUAL
AR_RES
mclk
(8,550 or 8,664 MHz)
MPX
Input-stage
(digital Filter)
ARI-indicator
57 kHz PLL
frequency
offset comp.
Clock Generator
Half Wave
Integrator
Half Wave
Extractor
RDS Quality
Extractor
RDS Data
Extractor
1187.5Hz
PLL
mclk
Sine comp.
Cosine comp.
9/21
TDA7333
The demodulator is fed by the 57 KHz bandpass filter and interpolated multiplex signal. The input signal
passes a digital filter extracting the sinus and cosinus components, to be used for further processing.
The sign of both channels are used as input for the ARI indicator and for the 57 KHz PLL.
A fast ARI indicator determines the presence of an ARI carrier. If an ARI carrier is present, the 57 KHz
PLL is operating as a normal PLL, else it is operating as a Costas loop.
One part of the PLL is compensating the integral offset (frequency deviation between oscillator and input
signal).
One channel of the filter is fed into the half wave integrator. Two half waves are created, with a phase
deviation of 90 degrees. One wave represents the RDS component, whereas the other wave represents
the ARI component. The sign of both waves are used as reference for the bit PLL (1187.5 Hz).
The RDS wave is then fed into the half wave extractor. This leads into an RDS signal, which after integra-
tion and differential decoding represents the RDS data.
In a similar way a quality bit can be calculated. This is useful to optimize error correction.
The module needs a fixed clock of 8.55 MHz. Optionally an 8.664 Mhz clock may be used by setting the
corresponding bit in rds_bd_ctrl register (cf page 13).
In order to optimize the error correction in the group and block synchronization module, the sensitivity level
of the quality bit can be adjusted in three steps (cf page15). Only bits marked as bad by the quality bit are
allowed to be corrected in the group and block synchronization module. Thus the error correction is directly
influenced by this setup.
The time constant of the 57KHz PLL and the 1187.5Hz PLL may be influenced by software (cf page13).
This is useful in order to achieve a fast synchronization after a program resp. frequency change (fast time
constant) and to get a maximum of noise immunity after synchronization (slow time constant).
The user may choose between 2 possibilities via bit rds_bd_ctrl[1] (cf page13):
a: Hardware selected time constant - In this case both pll time constants are reset to the fastest one with
a reset from the group and block synchronization module. If the software decides to resynchronize, it
generates a reset . Both PLL are set to the fastest time constant, which is automatically increased to
the slowest one. This is done in four steps within a total time of 215.6ms (256 RDS clocks).
b: Software selected time constant - In this case the time constant of both PLL can be selected individually
by software.PLL time constants can be set independently.
TDA7333
10/21
7.6 Group and block synchronization module
The group and block synchronization module has the following features :
Hardware group and block synchronization
Hardware error detection
Hardware error correction using the quality bit information of the demodulator
Hardware synchronization flywheel
TAinformation extraction
reset by software (ar_res)
Figure 9. Group and block synchronization block diagram
This module is used to acquire group and block synchronization of the received RDS data stream, which is pro-
vided in a modified shortened cyclic code. For the theory and implementation of the modified shortened cyclic
code, please refer to the specification of the radio data system (RDS) EN50067.
It further detects errors in the data stream. Depending on the quality bit information of the demodulator an error
correction is made.
The RDS data bytes are available to the software together with status bits giving an indication on the reliability
of the data.
It also extracts TA information which can be used as interrupt source (cf page 12).
S(4:0)
RDSCLK
RDSDAT
RDSQAL
rds_bd_h,rds_bd_l
rds_corrp
rds_qu
rds_int
RDSDAT(15:0)
Q(3:0)
CP(9:5)
Correct. pat.
Syndrome register
S(9:0)
Correction
logic
Corrected
Data_OK
Block
missed
QU(0:3)
RDS block counter
ABH
DBH
BLOCKE detected
Syndrom zero
Group & Block Synchronization Control Block
set
set
new
Block
available
next
RDS
bit
int
bit_int
TA
res
s
y
nc
h.
AR
_
R
E
S
AR_RES
read only
read only
read only
read/write
BLOCK A
Quality bit counter
from RDS
Demodulator
TA
E
O
N
BL
O
C
K
B
BL
O
C
K
D
BL
O
C
K
A
BLOCK B
BLOCK D
TAEON
TA
11/21
TDA7333
7.7 Programming through Serial bus interface
The serial bus interface is used to access the different registers of the chip. It is able to handle both I2C and SPI
transfer protocols, the selection between the two modes is done thanks to the pin CSN :
if the pin CSN is high, the interface operates as an I2C bus.
if the pin CSN is asserted low, the interface operates as a SPI bus.
In both modes, the device is a slave, i.e the clock pin SCL_CLK is only an input for the chip.
Depending on the transfer mode, external pins have alternate functions as following:
Table 7.
Eight registers are available with read or read/write access rights as following :
Table 8.
The meaning of each bit is described below :
pin
function in
SPI mode (CSN=0)
function in
I2C mode (CSN=1)
SCL_CLK
CLK (serial clock)
SCL (serial clock)
SDA_DATAIN
DATAIN (data input)
SDA (data line)
SA_DATAOUT
DATAOUT (data output)
SA (slave address)
register
access rights
function
rds_int[7:0]
read/write
interrupt source setting,synch., bne information
rds_qu[7:0]
read
quality counter, actual block name
rds_corrp[7:0]
read
error correction status, buffer ovf information
rds_bd_h[7:0]
read
high byte of current RDS block
rds_bd_l[7:0]
read
low byte of current RDS block
rds_bd_ctrl[7:0]
read/write
frequency, quality sensitivity, plls setting
sinc4reg[7:0]
read/write
sinc4 filter settings (for internal use only)
testreg[7:0]
read/write
test modes (for internal use only)
TDA7333
12/21
Note : when changing the interrupt mode, one has to
perform a reset of the module (i.e set the bit "ar_res" at
one)
(3) qu[3..0] is a counter of the quality bit information coming
from the RDS demodulator. It is counting the number of bits
which are marked as bad by the demodulator. Only those bits
are allowed to be corrected. Thus the quality bit counter indi-
cates the maximum possible number of bits being corrected.
interrupt bit. It is set to one on every programmed interrupt. It
is reset by reading rds_int register.
interrupt source
itsrc[2:0] select the interrupt source (1)
synchronization information.
1: the module is already synchronized.
0: the module is synchronizing
It is used to force a resynchronization. If it is set to one, the
RDS modules are forced to resynchronization state.
The bit is automatically reset. So it is always read as zero.
RDS block.
if 1, one block has been detected
rds_int and rds_bd_ctrl write order (when in SPI mode)
1: rds_int and rds_bd_ctrl are updated with data shifted in.
0: rds_int and rds_bd_ctrl are not updated.
It indicates if the error correction was successfull.
1: the syndrome was zero after the error correction.
0: the syndrome did not become zero and therefore the
correction was not successfull.
1: a block E is detected.This indicates a paging block
which is defined in the RBDS specification used in the
united states of America.
0: an ordinary RDS block A, B, C, cor D is detected, or no
valid syndrome was found.
bit 0 of block counter (2)
bit 1 of block counter (2)
bit 0 of quality counter
(3)
bit 1 of quality counter
(3)
bit 2 of quality counter
(3)
bit 3 of quality counter
(3)
bit name
access
bit 7
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
r
r/w
r
r/w
r
r/w
r/w
r/w
itsrc0
int
ar_res
bne
itsrc1
synch
write
reset value
0
0
0
0
0
0
0
0
itsrc2
(1)
itsrc2
0
0
itsrc1
interrupt source
itsrc0
block B
block A
block D
TA
TA EON
no interrupt
0
0
1
0
0
1
1
1
1
0
1
1
1
1
0
1
rds_int
RDS Block
0
0
1
bit name
access
bit 7
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
r
r
r
r
r
r
r
r
synz
e
qu0
qu3
qu1
qu2
blk1
blk0
blk1
1
0
0
0
blk0
block A
block name
block D
1
block C,C'
0
block B
1
1
(2)
reset value
0
0
0
0
0
0
0
0
rds_qu
13/21
TDA7333
(*) (refer to: Specification of the radio data system EN50067
of CENELEC, ANNEX B). When bits 4...0 of the syndrome
register are all zero a possible error burst is stored in this
bits. With the help of the correction pattern(bits 9..5 of the
syndrome register), the type of error can be measured in or-
der to classify the reliability of the correction.
It is an information about a correct syndrome after recep-
tion resp. after an error correction routine.
1: a correct syndrome was detected.
0: the syndrome was wrong. The current RDS data cannot
be used.
It is an information about error correction.
1: an error correction was made.
0: the actual RDS block is detected as error free.
bit 5 of the syndrome register(*)
bit 6 of the syndrome register(*)
bit 7 of the syndrome register(*)
bit 8 of the syndrome register(*)
bit 9 of the syndrome register(*)
bit 15 of the actual RDS 16bits information
bit 14 of the actual RDS 16bits information
bit 13 of the actual RDS 16bits information
bit 12 of the actual RDS 16bits information
bit 11 of the actual RDS 16bits information
bit 10 of the actual RDS 16bits information
bit 9 of the actual RDS 16bits information
bit 8 of the actual RDS 16bits information
bit 7 of the actual RDS 16bits information
bit 6 of the actual RDS 16bits information
bit 5 of the actual RDS 16bits information
bit 4 of the actual RDS 16bits information
bit 3 of the actual RDS 16bits information
bit 2 of the actual RDS 16bits information
bit 1of the actual RDS 16bits information
bit 0 of the actual RDS 16bits information
bit name
access
bit 7
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
r
r
r
r
r
r
r
r
-
dat_ok
cp6
cp9
cp7
cp8
cp5 correct
reset value
0
0
0
0
0
0
0
0
rds_corrp
bit name
access
bit 7
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
r
r
r
r
r
r
r
r
m8
m9
m12
m15
m13
m14
m11 m10
access
bit 7
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
r
r
r
r
r
r
r
r
m0
m1
m4
m7
m5
m6
m3
m2
reset value
0
0
0
0
0
0
0
0
reset value
0
0
0
0
0
0
0
0
bit name
rds_bd_h
rds_bd_l
TDA7333
14/21
(3) select sensitivity of quality bit.
00: minimum (reset value)
11: maximum
Note :
Sinc4reg and testreg are reserved registers dedicated to testing and evaluation.
select PLL's time constants by software or hardware:
1: software. Time constants are selected by pllb[1:0] resp.
pllf
0: hardware. (reset value) Time constants automatically
increase after a reset.
set the 57kHz pll time constant (1)
bit 0 of 1187.5Hz pll time constant (2)
bit 1 of 1187.5Hz pll time constant (2)
bit 0 of quality sensitivity (3)
bit 1 of quality sensitivity (3)
select oscillator frequency:
1: 8.664MHz
0: 8.55MHz (reset value)
bit name
access
bit 7
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
r
r/w
r/w
r/w
r/w
r/w
r/w
r/w
shw
-
pllb1
freq
qsens0
qsens1
pllb0
pllf
pllb1
1
0
0
0
pllb0
1
0
1
1
(2)
lock time needed for 90 deg deviation
5 ms (reset status)
15 ms
35 ms
76 ms
reset value
1
0
0
0
0
0
0
0
pllf
(1)
0
1
lock time needed for 90 deg deviation
2 ms
10 ms
rds_bd_ctrl
15/21
TDA7333
8
I
2
C Transfer Mode
This interface consists of three lines: a serial data line (SDA), a bit clock (SCL), and a slave address select (SA).
The interface is capable of operating in fast mode (up to 400kbits/s) but also at lower rates (<100kbits/s).
Data transfers follow the format shown in Fig.8 . After the START condition (S), a slave address is sent. The
address is 7 bits long followed by an eighth bit which is a data direction bit (R/_W).
A 'zero' indicates a transmission (WRITE), a 'one' indicates a request for data (READ).
The slave address of the chip is set to 001000S, where S is the least significant bit of the slave address set
externally via the pin SA_DATAOUT. This allows to choose between two addresses in case of conflict with an-
other device of the radio set.
Each byte has to be followed by an acknowledge bit (SDA low).
Data is transfered with the most significant (MSB) bit first.
A data transfer is always terminated by a stop condition (P) generated by the master.
Figure 10. I
2
C data transfer
8.1 Write transfer
Figure 11. I
2
C write transfer
Figure 12. I
2
C write operation example : write of rds_int and rds_bd_ctrl registers
S
P
1-7
8
9
1-7
8
9
1-7
8
9
SDA
SCL
START
CONDITION
STOP
CONDITION
ADDRESS
R/W
ACK
DATA
ACK
DATA
ACK/ACK
S
S la ve a dd ress
rd s_ int
A
A
A
sin c4 re g
A
P
W
te streg
r d s_ b d _c trl
from master to slave
from slave to master
W = write mode
Slave address = 001000S ( where S is the level of the pin
SA_DATAOUT)
A = acknowledge bit
P = stop condition
S = start condition
A
S
SDA
SCL
START
CONDITION
W
ACK
rds_int[7:0]
rds_bd_ctrl[7:0]
P
STOP
CONDITION
ACK
ACK
SA
CSN
1
0
SLAVE ADDRESS
TDA7333
16/21
8.2 Read transfer
Figure 13. I
2
C read transfer
Eight bytes can be read at a time (please refer to the to the pages ??? to ??? for the meaning of each bit).
The master has always the possibility to read less than eight registers by not sending the acknowledge bit
and then generating a stop condition after having read the needed amount of registers.
There are two typical read access :
read only the first register rds_int to check the interrupt bit.
read the first five registers rds_int, rds_qu, rds_corrp, rds_bd_h, rds_bd_l to get the RDS data
The registers are read in the following order : rds_int, rds_qu, rds_corrp, rds_bd_h,rds_bd_l, rds_bd_ctrl,
sinc4reg, testreg.
Figure 14. I
2
C read access example 1: read of 5 bytes
Figure 15. I
2
C read access example 2: read of 1 byte
R
S
S la ve a d d re ss
rd s_ in t
A
rd s_ q u
A
A
te stre g
A
P
from master to slave
from slave to master
S = start condition
Slave address = 001000S ( where S is the level of the pin
SA_DATAOUT)
A = acknowledge bit
P = stop condition
R = read mode
S
SDA
SCL
START
CONDITION
R ACK
rds_int[7:0]
rds_qu[7:0]
ACK
ACK
SA
CSN
1
0
SLAVE ADDRESS
rds_corrp[7:0]
rds_bd_h[7:0]
rds_bd_l[7:0]
P
STOP
CONDITION
ACK
ACK
ACK
S
SDA
SCL
START
CONDITION
R
ACK
rds_int[7:0]
SA
CSN
1
0
SLAVE ADDRESS
P
STOP
CONDITION
ACK
17/21
TDA7333
8.3 SPI mode
Figure 16. SPI data transfer
This interface consists of four lines. A serial data input (DATAIN), a serial data output (DATAOUT), a chip select
input (CSN) and a bit clock input (CLK).
The chip select input signals the begin and end of the data transfer. If the data transfer starts, at each
bit clock one bit is clocked out via the serial data output and one bit is clocked in via the serial data input.
When chip enable signals the begin of the data transfer the internal 64 bits shift register is updated with the cur-
rent registers content of the V324.
When chip enable signals the end of the data transfer the registers with write access can be updated with the
bits which have been last shifted in.
The last byte on DATAIN input is always rds_int[7:0] and the former last one is rds_bd_ctrl[7:0]. In other words,
the master has to take in account the amount of bytes transmitted when intending to perform a write operation
so that the last two bytes sent on DATAIN are rds_bd_ctrl[7:0] and rds_int[7:0].
If the update of both rds_int and rds_bd_ctrl registers is actually taking place depends on the MSB of rds_int,
i.e. rds_int[7] = 0 - no update, rds_int[7] = 1 update of both registers.
Hereafter you can find typical read/write access in spi mode :
Figure 17. write rds_int and rds_bd_ctrl registers in spi mode,reading RDS data and related flags
CSN
DATAIN
DATAOUT
CLK
rds_int[0]
rds_int[1]
2
64
63
8
7
6
5
4
3
1
rds_int[7]
testreg[0]
rds_int[6]
rds_int[0]
rds_int[1]
rds_int[2]
rds_int[3]
rds_int[4]
rds_int[5]
testreg[1]
shift of DATAIN
in shiftregister
update of
shiftregister with
registers content
update of registers
with shiftregister
content if requested
t
csu
t
su
t
h
t
odv
t
oh
t
csh
t
cl
t
ch
t
d
CSN
DATAIN
DATAOUT
CLK
rds_int[7:0]
rds_qu[7:0]
rds_corrp[7:0]
rds_bd_h[7:0]
rds_bd_l[7:0]
{1,rds_int[6:0]}
rds_bd_ctrl[7:0]
TDA7333
18/21
Figure 18. read out RDS data and related flags, no update of rds_int and rds_bd_ctrl registers
Figure 19. write rds_int registers in spi mode,reading 1 register
The content of the rds registers is clocked out on DATAOUT pin in the following order:
rds_int[7:0], rds_qu[7:0], rds_corrp[7:0], rds_bd_l[7:0], rds_bd_h[7:0], rds_ctrl[7:0], sinc4reg[7:0], testreg[7:0]
For the meaning of the single bits please refer to the pages 13 to 15 .
Note : After 40 bit clocks the whole RDS data and flags are clocked out.
9
Application Notes
A typical rds data transfer could work like this:
1. The micro sets the interrupt source to "RDS block" interrupt by setting itsrc[2:0] to 001.
2. The micro continuously checks the rds_int[7:0] bits for the first interrupt ( rds_int[0] goes high). If
there is no interrupt it stops the transfer after these 8 bits. No update of the rds_int[7:0] is per-
formed.
3. Once there is an interrupt detected the micro will also clock out all the other RDS bits (rds_qu[7:0],
rds_corrp[7:0], rds_bd_h[7:0], rds_bd_l[7:0]).
4. The next interrupt can not be expected before 22ms.
The above example is working by polling the rds_int[0] bit. An easier and better application is possible by
checking the RDS interrupt pin INTN ( see below ) and starting the transfer only when this interrupt is
present.
The output pin INTN acts as an interrupt pin. The source of interrupt is programmable through the register
rds_int ( cf page 11), the value on the pin is the inverted value of the bit rds_int[0] ( i.e this interrupt pin is active
low). With the help of this pin an interrupt driven request of the rds data is possible (The external processor only
starts the transfer if an interrupt is active).
CSN
DATAIN
DATAOUT
CLK
rds_int[7:0]
rds_qu[7:0]
rds_corrp[7:0]
rds_bd_h[7:0]
rds_bd_l[7:0]
{0,x,x,x,x,x,x,x}
CSN
DATAIN
DATAOUT
CLK
rds_int[7:0]
{1,rds_int[6:0]}
19/21
TDA7333
10 Package Information
Figure 20. TSSOP16 Mechanical Data & Package Dimensions
OUTLINE AND
MECHANICAL DATA
DIM.
mm
inch
MIN.
TYP.
MAX.
MIN.
TYP.
MAX.
A
1.200
0.047
A1
0.050
0.150
0.002
0.006
A2
0.800
1.000
1.050
0.031
0.039
0.041
b
0.190
0.300
0.007
0.012
c
0.090
0.200
0.005
0.009
D (1)
4.900
5.000
5.100
0.114
0.118
0.122
E
6.200
6.400
6.600
0.244
0.252
0.260
E1 (1)
4.300
4.400
4.500
0.170
0.173
0.177
e
0.650
0.026
L
0.450
0.600
0.750
0.018
0.024
0.030
L1
1.000
0.039
k
0 (min.) 8 (max.)
aaa
0.100
0.004
Note:
1. D and E1 does not include mold flash or protrusions.
Mold flash or potrusions shall not exceed 0.15mm
(.006inch) per side.
TSSOP16
0080338 (Jedec MO-153-AB)
(Body 4.4mm)
TDA7333
20/21
11 Revision History
Table 9. Revision History
Date
Revision
Description of Changes
January 2005
1
First Issue
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics.
All other names are the property of their respective owners
2005 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
21/21
TDA7333