Control Range76dB
Step Resolution0.511.5dB
Attenuation Set ErrorAV= 0 to-20dB-1.501.5dB
A
= -20 to -56dB-202dB
V
Tracking ErrorAV= 0 to-24dB01dB
T
A
= -24 to -47dB02dB
V
DC Stepadjacent attenuation steps03mV
Mute Attenuation80100dB
mV
Ω
3/17
Page 4
TDA7438
ELECTRICALCHARACTERISTICS
(continued.)
SymbolParameterTest ConditionMin.Typ.Max.Unit
AUDIOOUTPUTS
VCLIPClippingLeveld = 0.3%2.12.6VRMS
R
L
R
O
DCDC Voltage Level3.8V
V
GENERAL
E
NO
Output Load Resistance2KΩ
Output Impedance104070
(Gain, Bass, Treble, Middle Controls Flat)
Output NoiseAll gains = 0dB;
515µV
BW = 20Hz to 20KHz flat
E
t
S/NSignal to Noise RatioAll gains 0dB; V
S
C
dDistortionA
Total Tracking Error
(Volume + SpeakerAttenuator)
AV= 0to -24dB01dB
A
= -24to -47dB02dB
V
A
= -47to -79dB03dB
V
O =1VRMS ;90106dB
Channel Separation Left/Right80100dB
=0;VI=1V
V
;0.010.08%
RMS
BUS INPUT
V
IL
V
IH
I
IN
Input Low Voltage1V
Input High Voltage3V
Input CurrentVIN= 0.4V-55
Ω
A
µ
TEST CIRCUIT
L-IN1
0.47µF
L-IN2
0.47µF
L-IN3
0.47µF
R-IN1
0.47µF
R-IN2
0.47µF
R-IN3
0.47µF
5.6nF
2.2µF
3
100K
4
100K
5
100K
2
100K
1
100K
28
100K
INPUT MULTIPLEXER
MUXOUTLINL
G
0/30dB
2dB STEP
G
+ GAIN
MUXOUTRINR TREBLE(R)
TREBLE(L)
671817161415
VOLUME
VOLUME
89191011121323
2.2µF
5.6nF
2.7K5.6K
18nF22nF 100nF100nF
MIN(L)
MOUT(L)
R
M
TREBLE
TREBLE
MIDDLE
I2CBUS DECODER + LATCHES
MIDDLE
R
M
MOUT(R)BOUT(R)BIN(R)
MIN(R)
18nF22nF 100nF100nF
2.7K5.6K
BIN(L)
BASS
BASS
BOUT(L)
R
B
SPKR ATT
LEFT
SPKR ATT
RIGHT
V
REF
R
SUPPLY
B
CREF
10µF
27
21
22
20
26
24
25
LOUT
SCL
SDA
DIGGND
ROUT
V
S
AGND
D96AU490A
4/17
Page 5
TDA7438
APPLICATIONSUGGESTIONS
The first and the last stages are volume control
blocks. The control range is 0 to -47dB (mute) for
the first one, 0 to -79dB (mute) for the last one.
Both of them have 1dB step resolution.
The very high resolutionallows the implementation
of systemsfreefromanynoisyacousticaleffect.
The TDA7438 audioprocessor provides 3 bands
tones control.
Bass, Middle Stages
The Bass and the middle cells have the same
structure.
The Bass cell has an internal resistor Ri = 44KΩ
typical.
The Middle cell has an internalresistor Ri = 25KΩ
typical.
Several filter types can be implemented, connecting external components to the Bass/Middle IN
and OUTpins.
Figure 1.
Ri internal
OUTIN
C
1
R
2
D95AU313
C
2
The fig.1 refers to basic T Type Bandpass Filter
starting from the filter component values (R1 internal and R2,C1,C2 external) the centre frequency Fc, the gain Av at max. boost and the filter Q factorare computedas follows:
=
F
C
1
2 ⋅ π ⋅√Ri, R2, C1, C2
R2 C2+R2 C1+Ri C1
A
=
V
R2 C1 + R2 C2
√Ri R2 + C1 C2
=
Q
R2 C1+R2 C2
Viceversa, once Fc, Av, and Ri internal value are
fixed, the external componentsvalues will be:
2
V
Q
A
V
−1) ⋅
2
−
⋅
C1
1Q
Q
2
C1 =
2 ⋅ π ⋅ R
=
R2
− 1
A
V
⋅ π ⋅C1⋅
2
− 1 − Q
V
F
C
C2 =
⋅ (
A
⋅ Q
i
A
TrebleStage
The treble stage is a high pass filter whose time
constant is fixed by an internal resistor (25KΩ
typical) and an external capacitor connected between treble pins andground
Typical responsesare reported in Figg. 10 to 13.
CREF
The suggested 10µF reference capacitor (CREF)
value can be reduced to 4.7µF if the application
requiresfasterpower ON.
Figure 2:
THD vs. frequency
Figure3:
THDvs. R
LOAD
5/17
Page 6
TDA7438
Figure 4:
Channelseparationvs. frequency
Figure 6: Middleresponse
=25kΩ
R
i
C9= 15nF (MIN)
C6- 22nF (MOUT)
R1 = 2.7kΩ
Figure5:
Bassresponse
Figure7: Trebleresponse
Ri= 44kΩ
C9 = C10 = 100nF (Bout,Bin)
R3 = 5.6kΩ
Figure 8:
6/17
Typicaltoneresponse
Page 7
TDA7438
2
C BUSINTERFACE
I
Data transmission from microprocessor to the
TDA7438 and vice versa takes place through the
2 wires I
2
C BUS interface, consisting of the two
lines SDA and SCL (pull-up resistors to positive
supply voltage must be connected).
Data Validity
As shown in fig. 3, thedata on the SDA line must
be stable during the high period of the clock. The
HIGH and LOW state of the data line can only
change when the clock signal on the SCL line is
LOW.
Start and Stop Conditions
As shown in fig.4 a start condition is a HIGH to
LOW transition of the SDA line while SCL is
HIGH. The stop condition is a LOW to HIGH transition of the SDA line while SCL is HIGH.
Byte Format
Every byte transferred on the SDA line must contain 8 bits. Each byte must be followed by an ac-
Figure 3:
Data Validityon theI
2
CBUS
knowledgebit. The MSB is transferredfirst.
Acknowledge
The master (µP)puts a resistiveHIGH level on the
SDA line during the acknowledgeclock pulse (see
fig. 5). The peripheral (audio processor) that acknowledges has to pull-down (LOW) the SDA line
duringthisclock pulse.
The audio processor which has been addressed
has to generate an acknowledge after the reception of each byte, otherwise the SDAline remains
at the HIGH level during the ninth clock pulse
time. In this case the master transmitter can generate the STOP information in order to abort the
transfer.
Transmissionwithout Acknowledge
Avoiding to detect the acknowledge of the audio
processor,the µP canuse a simplertransmission:
simply it waits one clock without checking the
slaveacknowledging,and sends the new data.
This approach of course is less protected from
misworking.
Figure 4:
TimingDiagram of I
Figure 5: Acknowledgeon the I
2
CBUS
2
CBUS
7/17
Page 8
TDA7438
SOFTWARESPECIFICATION
InterfaceProtocol
The interface protocol comprises:
A start condition (S)
address
A subaddressbytes
A sequenceof data (N byte + acknowledge)
A stopcondition (P)
A chip address byte, containing the TDA7438
CHIP ADDRESS
MSBLSBMSBLSBMSBLSB
S10001000ACKACKDATAACKP
D96AU420
SUBADDRESSDATA 1 to DATA n
XDATA
XXB
ACK = Acknowledge
S = Start
P = Stop
A = Address
B = Auto Increment
EXAMPLES
No IncrementalBus
rect chip address, a subaddress with the B = 0
(no incremental bus), N-data (all these data concern the subaddressselected),a stop condition.
The TDA7438 receives a start condition, the cor-
CHIP ADDRESS
MSBLSBMSBLSBMSBLSB
S10001000ACKACKDATAACKP
D96AU421
IncrementalBus
The TDA7438 receive a start conditions, the correct chip address, a subaddress with the B = 1
(incremental bus): now it is in a loop condition
with an autoincreaseof the subaddress whereas
CHIP ADDRESS
MSBLSBMSBLSBMSBLSB
S10001000ACKACKDATAACKP
D96AU422
SUBADDRESSDATA
XD3
XX0D2D1D0
SUBADDRESS from ”XXX1000” to ”XXX1111”of
DATAare ignored.
The DATA 1 concern the subaddress sent, and
the DATA 2 concern the subaddress sent plus
one in the loop etc, and at the end it receivers the
stop condition.
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. Specification mentioned in this publication are
subject to change without notice. This publicationsupersedes and replaces all informationpreviously supplied. STMicroelectronics products
are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
Australia - Brazil - Canada- China - France - Germany - Italy - Japan - Korea - Malaysia - Malta - Mexico - Morocco - The Netherlands-