- SELECTABLEINPUT GAIN FOR OPTIMAL
ADAPTIONTO DIFFERENTSOURCES
LOUDNESSFUNCTION
VOLUMECONTROL IN 1.25dBSTEPS
TREBLEAND BASS CONTROL
FOURSPEAKERATTENUATORS:
- 4 INDEPENDENTSPEAKERSCONTROL
IN 1.25dB STEPS FOR BALANCEAND
FADERFACILITIES
- INDEPENDENTMUTE FUNCTION
ALL FUNCTIONS PROGRAMMABLE VIA SE-
2
RIAL I
DESCRIPTION
The TDA7313N is a vo l ume, tone (bass and treble)
balance (Left/Ri ght) and fader (front/rear) processor
for quality audio applications in car radio and Hi-Fi
systems.
Selectableinput gainand external loudnessfunction
C BUS
TDA7313N
WITH LOUDNESS
DIP28SO28
ORDERING NUMBERS:
TDA7313NTDA7313ND
are provided. Control is accomplished by serial
2
C busmic r oproces s orinterface.
I
TheACsignalsettingisobtainedbyresistornetwo rks
andswitchescombinedwithoperationalamplifiers.
Thanks to the used BIPOLAR/C MOS Tecnol ogy ,
LowDistortion, LowNoiseandLow DC steppingare
obtained.
PIN CONNECTION (Topview)
November 1999
1/14
TDA7313N
TEST CIRCUIT
THERMAL DATA
SymbolDescriptionSO28DIP28Unit
R
thj-pins
Thermal Resistance Junction-pinsmax8565°C/W
ABSOLUTE MAXIMUM RATINGS
SymbolParameterValueUnit
V
T
amb
T
stg
Operating Supply Voltage10.2V
S
Operating Ambient Temperature-40 to 85°C
Storage Temperature Range-55 to +150
QUICK REFERENCE DATA
SymbolParameterMin.Typ.Max.Unit
V
V
CL
THDTotal Harmonic DistortionV = 1Vrms f = 1KHz0.010.1%
S/NSignal to Noise Ratio106dB
S
Supply Voltage6910V
S
Max. input signal handling2Vrms
Channel Separation f = 1KHz103dB
C
Volume Control1.25dB step-78.750dB
Bass and TrebleControl2db step-14+14dB
Fader and Balance Control 1.25dB step-38.750dB
Input Gain 3.75dB step011.25dB
Mute Attenuation100dB
C
°
2/14
BLOCK DIAGRAM
TDA7313N
BUS
C17
5.6KR2
C11
2.7nF
100nF
100nF
100nF
TREBLE(L)
C15
BIN(L)
BOUT(L)
C14
LOUD(L)
SPKR
4
18
19
12
ATT
FRONT
OUT LEFT
25
RB
MUTE
ATT
SPKR
TREBLE
BASS
VOL
REAR
OUT LEFT
23
+ LOUD
MUTE
SCL
SDA
282726
SERIAL BUS DECODER + LATCHES
DIGGND
SPKR
RIGHT
OUT
24
ATT
BASSTREBLE
VOL
+ LOUD
FRONT
MUTE
ATT
SPKR
RIGHT
REAR
OUT
22
RB
MUTE
D98AU888
TREBLE(R)
5
BOUT(R) BIN(R)
2120
LOUD(R)
8
C13
100nF
C12
100nF
C16
2.7nF
5.6KR1
C10
100nF
C9 2.2µF
1716
OUT(L)IN(L)
INPUT
+ GAIN
SELECTOR
3x
2.2µF
L1 15L1L2 14L2L3 13
C1
C2
LEFT
INPUTS
C3
L3
R3 9R3R2 10R2R1 11
C4
C5
RIGHT
INPUTS
C6
R1
3x
2.2µF
76
OUT(R)IN(R)
SUPPLY
AGNDCREF
231
V
C8 2.2µF
22µFC7
S
3/14
TDA7313N
ELECTRICALCHARACTERISTICS (refer tothe test circuit T
R
= 600Ω, all controlsflat(G = 0), f = 1KHz unless otherwise specified)
Input Resistance203350kΩ
Control Range707580dB
Min. Attenuation-101dB
Max. Attenuation707580dB
Step Resolution0.51.251.75dB
Attenuation Set ErrorAv = 0 to -20dB
Av = -20 to -60dB
-1.25
-3
01.25
2
Tracking Error2dB
DC Stepsadjacent attenuation steps
From 0dB to Av max
0
0.5
3
7.5
SPEAKERATTENUATORS
µ
dB
dB
mV
mV
V
C
S
A
range
STEP
E
MUTE
V
DC
A
Control Range3537.540dB
Step Resolution0.51.251.75dB
Attenuation set error1.5dB
Output Mute Attenuation80100dB
DC Stepsadjacent att. steps
Clipping Leveld = 0.3%22.5Vrms
Output Load Resistance2KΩ
Output Load Capacitance10nF
Output resistance3075120Ω
DC Voltage Level4.24.54.8V
GENERAL
e
NO
S/NSignal to Noise Ratioall gains = 0dB; V
dDistortionA
ScChannel Separation left/right80103dB
Output NoiseBW = 20-20KHz, flat
output muted
all gains = 0dB
A curve all gains = 0dB3µV
O
=0,VIN= 1Vrms
V
A
= -20dB VIN= 1Vrms
Total Tracking errorA
V
= 0 to -20dB
V
V
= 0.3Vrms
IN
-20 to -60 dB
2.5
515
µ
µV
= 1Vrms106dB
0.01
0.09
0.04
0
0
0.1
0.3
1
2
%
%
%
dB
dB
V
BUS INPUTS
V
IL
V
IH
I
IN
V
O
Notes:
(1) Bass and Trebleresponse seeattached diagram(fig.16). The center frequencyand quality ofthe resonance behaviour can be choosen by
the external circuitry. A standard first order bass response can be realized by a standard feedback network
(2) The selected input is groundedthru the 2.2µF capacitor.
Input Low Voltage1V
Input High Voltage3V
Input Current-5+5µA
Output Voltage SDA
IO= 1.6mA0.4V
Acknowledge
Figure 1: Loudnessvs. VolumeAttenuation
Figure2: Loudnessvs. Frequency(C
100nF) vs. Volume Attenuation
LOUD
=
5/14
TDA7313N
Figure 3: Loudnessvs. ExternalCapacitors
Figure 5: Signalto Noise Ratio vs. Volume
Setting
Figure4: Noisevs.Volume/GainSettings
Figure6: Distortion& Noisevs. Frequency
Figure 7: Distortion& Noise vs. Frequency
6/14
Figure8: Distortionvs. Load Resistance
TDA7313N
Figure 9: ChannelSeparation(L → R) vs.
Frequency
Figure 11: SupplyVoltageRejection vs.
Frequency
Figure10: InputSeparation(L1→L2, L3, L4) vs.
Frequency
Figure12: OutputClipping Level vs. Supply
Voltage
Figure14: SupplyCurrent vs. TemperatureFigure 13: QuiescentCurrent vs. SupplyVoltage
7/14
TDA7313N
Figure 15: BassResistancevs. Temperature
I2C BUSINTERFACE
Data transmission from microprocessor to the
TDA7313N and viceversa takes place thru 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. 17, the data on the SDA line
must be stable during thehigh 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.18 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 acknowledgebit. The MSB is transferredfirst.
Figure16: TypicalTone Response (with theext.
components indicated in the test
circuit)
Acknowledge
The master(µP) puts a resistive HIGH level on the
SDA line during the acknowledgeclock pulse (see
fig. 19). The peripheral (audioprocessor) that acknowledges has to pull-down (LOW) the SDA line
during the acknowledge clock pulse, so that the
SDAlineisstableLOWduringthis clockpulse.
The audioprocessor 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 audioprocessor, the µP can use a simplier transmission: simply it waits one clock without checking
the slave acknowledging, and sends the new
data.
This approach of course is less protected from
misworkingand decreasesthe noise immunity.
Figure 17: Data Validityon the I
8/14
2
CBUS
Figure 18: TimingDiagramof I2CBUS
TDA7313N
Figure 19: Acknowledgeon the I
SOFTWARESPECIFICATION
Interface Protocol
The interface protocol comprises:
A start condition (s)
A chip address byte, containingthe TDA7313N
TDA7313N ADDRESS
MSBfirst byteLSBMSBLSBMSBLSB
S10001000
ACK = Acknowledge
S = Start
P = Stop
MAX CLOCK SPEED 100kbits/s
2
CBUS
ACK
address(the 8th bit ofthe bytemust be 0). The
TDA7313N must always acknowledge at the
end of each transmittedbyte.
A sequenceof data (N-bytes+ acknowledge)
A stopcondition (P)
Volume control
Speaker ATT LR
Speaker ATT RR
Speaker ATT LF
Speaker ATT RF
Audio switch
Bass control
Treble control
9/14
TDA7313N
SOFTWARESPECIFICATION (continued)
DATA BYTES (detailed description)
Volume
MSBLSBFUNCTION
00B2B1B0A2A1A0Volume 1.25dB steps
0
0
0
0
1
1
1
1
00B2B1B0A2A1A0Volume 10dB steps
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
For example a volume of -45dBis given by:
00100100
0
1
0
1
0
1
0
1
0
-1.25
-2.5
-3.75
-5
-6.25
-7.5
-8.75
0
-10
-20
-30
-40
-50
-60
-70
Speaker Attenuators
MSBLSBFUNCTION
1
1
1
1
0
0
1
1
0
1
0
1
B1
B1
B1
B1
0
0
1
1
11111Mute
B0
B0
B0
B0
0
1
0
1
A2
A2
A2
A2
0
0
0
0
1
1
1
1
A1
A1
A1
A1
0
0
1
1
0
0
1
1
A0
A0
A0
A0
0
1
0
1
0
1
0
1
Speaker LF
Speaker RF
Speaker LR
Speaker RR
For example attenuationof 25dBon speakerRF is given by:
10110100
0
-1.25
-2.5
-3.75
-5
-6.25
-7.5
-8.75
0
-10
-20
-30
10/14
TDA7313N
Audio Switch
MSBLSBFUNCTION
010G1G0S2S1S0AudioSwitch
0
0
1
0
1
0
0
1
1
0
1
0
1
1
0
1
0
1
For example to select the stereo 2 input with a gain of +7.5dBLOUDNESSON the 8bitstring is:
01001001
(*) Stereo 4 is connectedinternally,but not availableon pins.
Bass andTreble
Stereo 1
Stereo 2
Stereo 3
Stereo 4 (*)
LOUDNESS ON
LOUDNESS OFF
+11.25dB
+7.5dB
+3.75dB
0dB
0
0
1
1
1
1
0
1
C3
C3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
C2
C2
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
C3 = Sign
For example Bass at -10dB is obtainedby the following8 bit string:
01100010
Purchase of I2C Components of STMicroelectronics, conveys a license under the Philips I2C Patent
Rights to use these components in an I
2
C system, provided that the system conforms to the I2C
Standard Specificationsas definedby Philips.
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.
The ST logo is a registered trademark of STMicroelectronics
1999 STMicroelectronics – Printed in Italy – AllRights Reserved
STMicroelectronics GROUP OF COMPANIES
Australia - Brazil - China- Finland - France - Germany - HongKong - India - Italy - Japan - Malaysia - Malta- Morocco -