- SELECTABLEINPUT GAIN FOR OPTIMAL
ADAPTIONTO DIFFERENTSOURCES
INPUTANDOUTPUTFOREXTERNAL
EQUALIZER OR NOISE REDUCTION SYSTEM
VOLUMECONTROL IN 1.25dBSTEPS
TREBLEAND BASS CONTROL
FOURSPEAKERATTENUATORS:
- 4 INDEPENDENTSPEAKERSCONTROL
IN 1.25dB STEPS FOR BALANCEAND
FADERFACILITIES
- INDEPENDENTMUTE FUNCTION
ALL FUNCTIONS PROGRAMMABLE VIASE-
2
RIALI
CBUS
DESCRIPTION
The TDA7318 is a volum e, tone (bass and treble)
balance (Left/Ri ght) and fader (front/rear) processor
for quality audio applications in car radio and Hi-Fi
systems.
TDA7318
DIP28SO28
ORDERING NUMBERS:
TDA7318TDA7318D
Selectabl e input gain is provided. Control is ac co mplishedbyserialI
TheACsignalsettingisobtainedbyresistornetwo rks
andswitchescombinedwithoperationalamplifiers.
Thanks to the used BIP OLAR / C MOS Tec nol ogy ,
LowDistortion, LowNoiseandLow DC steppingare
obtained.
2
Cbusmicroprocessorinterface.
PIN CONNECTION (Topview)
November 1999
1/14
TDA7318
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
Storage Temperature Range-55 to +150°C
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 Control1.25dBstep-38.750dB
Input Gain6.25dB step018.75dB
Mute Attenuation100dB
C
°
2/14
BLOCK DIAGRAM
TDA7318
BUS
C17
5.6KR2
2.7nF
C15
100nF
C14
100nF
ATT
SPKR
TREBLE(L)
4
BIN(L)
18
19
BOUT(L)
OUT
LEFT FRONT
25
RB
MUTE
ATT
SPKR
TREBLE
BASS
VOL
OUT
LEFT REAR
23
MUTE
SCL
SDA
282726
C BUS DECODER + LATCHES
2
I
DIGGND
ATT
SPKR
VOLBASSTREBLE
OUT
RIGHT FRONT
24
MUTE
ATT
SPKR
OUT
22
RB
RIGHT REAR
MUTE
TREBLE(R)
5
2120
BOUT(R)BIN(R)
D95AU265
C13
100nF
C12
100nF
C16
2.7nF
5.6KR1
C11 2.2µF
1716
OUT(L)IN(L)
INPUT
+ GAIN
SELECTOR
L1 15L1L2 14L2L3 13L3L4 12
4x
2.2µF
C1
C2
C3
LEFT
INPUTS
C4
L4
R4 8R4R3 9R3R2 10
C5
C6
R2
C7
RIGHT
INPUTS
11R1
R1
C8
4x
2.2µF
SUPPLY
76
OUT(R)IN(R)
AGNDCREF
V
231
C10 2.2µF
22µFC9
CC
3/14
TDA7318
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
(1) Bass and Trebleresponse seeattached diagram(fig.19). 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
Output Voltage SDA
IO= 1.6mA0.4V
A
µ
Acknowledge
Figure 1: Noisevs. Volume/GainSettings
Figure2: Signalto Noise Ratio vs. Volume
Setting
5/14
TDA7318
Figure 3: Distortion& Noise vs. FrequencyFigure4: Distortion& Noisevs. Frequency
Figure 5: Distortionvs. Load Resistance
Figure 7: InputSeparation(L1 → L2, L3, L4) vs.
Frequency
Figure6: Channel Separation (L → R) vs.
Frequency
Figure8: SupplyVoltage Rejection vs.
Frequency
6/14
TDA7318
Figure 9: OutputClipping Levelvs. Supply
Voltage
Figure 11: SupplyCurrentvs. Temperature
Figure10: QuiescentCurrent vs. Supply Voltage
Figure12: Bass Resistance vs. Temperature
Figure 13: TypicalTone Response(with the ext.
components indicatedin thetest
circuit)
7/14
TDA7318
I2C BUS INTERFACE
Data transmission from microprocessor to the
TDA7318 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. 14, 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.15 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-
2
Figure 14: Data Validityon the I
CBUS
knowledgebit. The MSB is transferredfirst.
Acknowledge
The master(µP)putsa resistive HIGH level on the
SDA line during the acknowledgeclock pulse (see
fig. 16). 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 15: TimingDiagramof I
2
Figure 16: Acknowledgeon the I
8/14
CBUS
2
CBUS
TDA7318
SOFTWARESPECIFICATION
Interface Protocol
The interface protocol comprises:
A start condition (s)
A chip address byte, containing the TDA7318
TDA7318 ADDRESS
MSBfirst byteLSBMSBLSBMSBLSB
S10001000
ACK = Acknowledge
S = Start
P = Stop
MAX CLOCK SPEED 100kbits/s
ACKDATAACKDATAACK P
Data Transferred (N-bytes + Acknowledge)
address(the 8th bit ofthe bytemust be 0). The
TDA7318must always acknowledgeat theend
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
TDA7318
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
Audio Switch
MSBLSBFUNCTION
010G1G0S2S1S0Audio Switch
0
0
0
0
1
1
1
1
0
0
1
1
0
1
0
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Stereo 1
Stereo 2
Stereo 3
Stereo 4
Not allowed
Not allowed
Not allowed
Not allowed
+18.75dB
+12.5dB
+6.25dB
0dB
For example to select the stereo 2 input with a gain of +12.5dB the 8bit stringis:
01001001
Bass andTreble
TDA7318
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
C1
C1
0
0
1
1
0
0
1
1
1
1
0
0
1
1
0
0
C0
C0
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
Bass
Treble
-14
-12
-10
-8
-6
-4
-2
0
0
2
4
6
8
10
12
14
11/14
TDA7318
DIM.
MIN.TYP.MAX.MIN.TYP.MAX.
A2.650.104
a10.10.30.0040.012
b0.350.490.0140.019
b10.230.320.0090.013
C0.50.020
c145° (typ.)
D17.718.10.6970.713
E1010.650.3940.419
e1.270.050
e316.510.65
F7.47.60.2910.299
L0.41.270.0160.050
S8°(max.)
mminch
OUTLINE AND
MECHANICAL DATA
SO28
12/14
TDA7318
DIM.
MIN.TYP.MAX.MIN.TYP.MAX.
a10.630.025
b0.450.018
b10.230.310.009
b21.270.050
D37.341.470
E15.216.68 0.5980.657
e2.540.100
e333.021.300
F14.10.555
I4.4450.175
L3.30.130
mminch
0.012
OUTLINE AND
MECHANICAL DATA
DIP28
13/14
TDA7318
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
1999STMicroelectronics – Printed in Italy– All Rights Reserved