– four stereo inputs
– selectable input gain for optimal adaptation
to different sources
! Single stereo output
! Treble, mid-range and bass control in 2-dB
steps
! Volume control in 1-dB steps
! Two speaker attenuators:
– two independent speaker controls in 1-dB
steps for balance facility
– independent mute function
! All functions are programmable via serial bus.
TDA7439DS
SO28
processor for quality audio applications in
car-radio and Hi-Fi systems. Selectable input gain
is provided. All the functions are controlled by
serial bus.
The AC signal setting is obtained by resistor
networks and switches combined with operational
amplifiers.
Description
The TDA7439DS is a volume, tone (bass,
mid-range and treble) and balance (left/right)
Table 1. Device summary
Order codesPackagePackaging
TDA7439DSSO28Tube
TDA7439DS
13TRSO28Tape and Reel
The TDA7439DS employs BIPOLAR/CMOS
technology to provide low distortion, low noise
and DC stepping.
1. For bass, mid-range and treble response: the center frequency and the response quality can be set by the
external circuitry.
6/23
TDA7439DSElectrical specifications
Figure 3.Test circuit
2.7K5.6K
5.6nF
18nF22nF 100nF 100nF
0.47µF
0.47µF
0.47µF
0.47µF
0.47µF
0.47µF
0.47µF
0.47µF
L-IN1
L-IN2
L-IN3
L-IN4
R-IN1
R-IN2
R-IN3
R-IN4
4
100K
5
100K
6
100K
7
100K
3
100K
2
100K
1
100K
28
100K
MUXOUTL
G
0/30dB
2dB STEP
G
INPUT MULTIPLEXER
+ GAIN
MUXOUTR
TREBLE(L)
81817161415
VOLUME
VOLUME
9
TREBLE(R)
MIN(L)
MOUT(L)
BIN(L)
R
M
TREBLE
MIDDLE
BASS
I2CBUS DECODER + LATCHES
TREBLE
MIDDLE
BASS
R
M
19 1011121323
MOUT(R)BOUT(R)BIN(R)
MIN(R)
18nF22nF 100nF 100nF
5.6nF
2.7K5.6K
BOUT(L)
R
B
SPKR ATT
LEFT
SPKR ATT
RIGHT
V
REF
SUPPLY
R
B
CREF
10µF
LOUT
27
21
SCL
22
SDA
20
DIGGND
26
ROUT
24
V
S
25
AGND
D98AU886
7/23
Application suggestionsTDA7439DS
3 Application suggestions
The first and the last stages are volume control blocks. The control range is 0 to -47 dB and
mute for the first stage and 0 to -79 dB and mute for the last one. Both control blocks have a
step resolution of 1 dB.
This very high resolution allows the implementation of systems free from any noisy
acoustical effect.
The TDA7439DS audio processor provides 3 bands of tone control (bass, mid-range and
treble).
3.1 Tone control
3.1.1 Bass, mid-range stages
The bass and the mid-range cells have the same structure.
However, the bass cell has an internal resistor R
has an internal resistor R
of typically 25 kΩ.
M
of typically 44 kΩ whilst the mid-range cell
B
Several filter types can be implemented by connecting external components to the bass/mid
IN and OUT pins.
Typical responses are shown in Figure 8, Figure 9 and Figure 11.
Figure 4.Bass/mid-range filter implementation
Ri internal
OUTIN
R
2
D95AU313
C
2
C
1
Figure 4. refers to the basic T-type band-pass filter. Starting from the filter component values
(R1 (internal) and R2, C1, C2 (external)) then the centre frequency f
, the gain Av at
C
maximum boost and the filter Q factor are computed as follows:
The treble stage is a high-pass filter whose time constant is fixed by an internal resistor
(25 kΩ typically) and an external capacitor connected between treble pins and ground.
Typical responses are shown in Figure 10 and Figure 11.
3.2 Pin CREF
The suggested value of 10 µF for the reference capacitor (C
can be reduced to 4.7 µF if the application requires faster power-on.
Data transmission from the microprocessor to the TDA7439DS and vice versa takes place
through the 2-wire I
Pull-up resistors to the positive supply voltage must be used (there are no internal pull-ups).
2
C bus interface. This consists of the data and clock lines, SDA and SCL.
4.1 Data validity
The data on the SDA line must be stable during the high period of the clock as shown in
Figure 12. SDA is allowed to change only when SCL is low.
4.2 Start and stop conditions
As shown in Figure 13 a start condition is a high to low transition of SDA while SCL is high.
The stop condition is a low to high transition of SDA while SCL is high.
4.3 Byte format
Every byte transferred on the SDA line must contain 8 bits. The MSB is transferred first.
There is also provision for an acknowledge bit to follow each byte to indicate that the data
has been received.
4.4 Acknowledge
The master (µP) puts a resistive high level on SDA during the acknowledge clock pulse (see
Figure 14). The peripheral (audio processor) that acknowledges has to pull down (low) the
SDA line during this clock pulse.
The audio processor which has been addressed has to generate an acknowledge after the
reception of each byte, otherwise the SDA line 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.
4.5 Transmission without acknowledge
Suppressing the audio processor acknowledge detection enables the µP to use a simpler
transmission: it simply waits for one clock, without checking the slave acknowledging, and
then sends the new data.
This approach has, of course, less protection from transmission errors.
11/23
I2C bus interfaceTDA7439DS
Figure 12. Timing diagram of the data on the I2C bus
SCL
SDA
Data can changeData stable
when clock high when clock low
Figure 13. Timing diagram of the start/stop
SCL
SDA
Start
Figure 14. Timing diagram of the acknowledge
SCL
SDA
MSB
Start
4.6 Interface protocol
The interface protocol comprises:
"a start condition (S)
"a chip-address byte, containing the TDA7439DS address
"a sub-address byte including an auto address-increment bit
"a sequence of data bytes (N bytes + acknowledge)
"a stop condition (P).
Stop
1
2
6
7
8
9
Acknowledge
from receiver
Figure 15. SDA addressing and data
CHIP ADDRESS
MSB
S 1 0 0 0 1 0 0 0 ACKACKDATAACK P
D96AU420
S = Start, ACK = Acknowledge, B = Auto increment, P = Stop
LSBMSBLSBMSBLSB
12/23
SUBADDRESSDATA 1 to DATA n
XXB
X
DATA
TDA7439DSI2C bus transmission examples
5 I2C bus transmission examples
5.1 No address incrementing
The TDA7439DS receives a start condition followed by the correct chip address, then a sub
address with the bit B = 0 (for no address increment), then the data bytes to be sent to the
sub address and finally a stop condition.
Figure 16. SDA addressing and data for B = 0
CHIP ADDRESS
MSB
S 1 0 0 0 1 0 0 0 ACKACKDATAACK P
D96AU421
LSBMSBLSBMSBLSB
5.2 Address incrementing
The TDA7439DS receives a start condition followed by the correct chip address, then a sub
address with the B = 1 for address incrementing; now it is in a loop condition with an
automatic increase of the sub address up to D[3:0] = 0x7. That is, the data for sub
addresses from D[3:0] = 1000 (binary) to 1111 are ignored.
In Figure 17 below, DATA1 is directed to the sub address sent (that is, D[3:0]), DATA2 is
directed to the sub address incremented by 1 (that is, 1 + D[3:0]) and so forth until a stop
condition is received to terminate the transmission.
Figure 17. SDA addressing and data for B = 1
CHIP ADDRESS
MSB
S 1 0 0 0 1 0 0 0 ACKACKDATAACK P
D96AU422
LSBMSBLSBMSBLSB
SUBADDRESSDATA
0
X
D3
1
D3
D2 D1 D0
D2 D1 D0
X
X
SUBADDRESSDATA 1 to DATA n
X
X
X
Table 6.Power-on-reset conditions
ParameterPOR value
Input selectionIN2
Input gain28 dB
VolumeMUTE
Bass0 dB
Mid-range2 dB
Tr e bl e2 d B
SpeakerMUTE
13/23
I2C bus addresses and dataTDA7439DS
6 I2C bus addresses and data
6.1 Chip address byte
The TDA7439DS chip address is 0x88.
6.2 Sub-address byte
The function is selected by the 4-bit sub address as given in Ta bl e 7 . The three MSBs are
not used and bit D4 selects address incrementing (B = 1) or single data byte (B = 0).
Table 7.Function selection: sub-address byte
MSBLSB
Function
D7D6D5D4D3D2D1D0
XXXB0000Input selector
XXXB0001Input gain
XXXB0 0 1 0Volume
XXXB0 0 1 1Bass gain
XXXB0100Mid-range gain
XXXB0 1 0 1Treble gain
XXXB0110Speaker attenuation, R
XXXB0111Speaker attenuation, L
6.3 Data bytes
The function value is changed by the data byte as given in the following tables, Ta bl e 8 to
Ta bl e 1 4.
In the tables of input gain, volume and attenuation, not all values are shown. A desired
intermediate value is obtained by setting the three LSBs to the appropriate value.
Table 8.Input selector value (sub address 0x0)
MSBLSB
D7D6D5D4D3D2D1D0
XXXXXX0 0IN4
XXXXXX0 1IN3
XXXXXX1 0IN2
XXXXXX1 1IN1
Input multiplexer
14/23
TDA7439DSI2C bus addresses and data
Table 9.Input gain value (sub address 0x1)
MSBLSB
D7D6D5D4D3D2D1D0
Input gain
2-dB steps
XXXX0 0 0 00dB
XXXX0 0 0 12dB
XXXX0 0 1 04dB
XXXX0 0 1 16 dB
XXXX0 1 0 08dB
XXXX0 1 0 110dB
XXXX0 1 1 012dB
XXXX0 1 1 114dB
XXXX1 0 0 016dB
XXXX1 0 0 118dB
XXXX1 0 1 020dB
XXXX1 0 1 122dB
XXXX1 1 0 024dB
XXXX1 1 0 126dB
XXXX1 1 1 028dB
XXXX1 1 1 130dB
Table 10.Volume value (sub address 0x2)
MSBLSB
D7D6D5D4D3D2D1D0
Volume
1-dB steps
X00000000dB
X0000001-1dB
X0000010-2dB
X0000011-3dB
X0000100-4dB
X0000101-5dB
X0000110-6dB
X0000111-7dB
X0001000-8dB
X0010000-16dB
X0011000-24dB
X0100000-32dB
X0101000-40dB
XX1 1 1XXXMUTE
15/23
I2C bus addresses and dataTDA7439DS
Table 11.Bass gain value (sub address 0x3)
MSBLSB
D7D6D5D4D3D2D1D0
Bass gain
2-dB steps
XXXX0 0 0 0-14dB
XXXX0 0 0 1-12dB
XXXX0 0 1 0-10dB
XXXX0 0 1 1-8dB
XXXX0 1 0 0-6dB
XXXX0 1 0 1-4dB
XXXX0 1 1 0-2dB
XXXXX1 1 10dB
XXXX1 1 1 02dB
XXXX1 1 0 14dB
XXXX1 1 0 06dB
XXXX1 0 1 18dB
XXXX1 0 1 010dB
XXXX1 0 0 112dB
XXXX1 0 0 014dB
Table 12.Mid-range gain value (sub address 0x4)
MSBLSB
D7D6D5D4D3D2D1D0
Mid-range gain
2-dB steps
XXXX0 0 0 0-14dB
XXXX0 0 0 1-12dB
XXXX0 0 1 0-10dB
XXXX0 0 1 1-8dB
XXXX0 1 0 0-6dB
XXXX0 1 0 1-4dB
XXXX0 1 1 0-2dB
XXXXX1 1 10dB
XXXX1 1 1 02dB
XXXX1 1 0 14dB
XXXX1 1 0 06dB
XXXX1 0 1 18dB
XXXX1 0 1 010dB
XXXX1 0 0 112dB
XXXX1 0 0 014dB
16/23
TDA7439DSI2C bus addresses and data
Table 13.Treble gain value (sub address 0x5)
MSBLSB
D7D6D5D4D3D2D1D0
Treble gain
2-dB steps
XXXX0 0 0 0-14dB
XXXX0 0 0 1-12dB
XXXX0 0 1 0-10dB
XXXX0 0 1 1-8dB
XXXX0 1 0 0-6dB
XXXX0 1 0 1-4dB
XXXX0 1 1 0-2dB
XXXXX1 1 10dB
XXXX1 1 1 02dB
XXXX1 1 0 14dB
XXXX1 1 0 06dB
XXXX1 0 1 18dB
XXXX1 0 1 010dB
XXXX1 0 0 112dB
XXXX1 0 0 014dB
Table 14.Speaker attenuation value (sub address 0x6, 0x7)
MSBLSB
D7D6D5D4D3D2D1D0
Speaker attenuation
1-dB steps
X00000000dB
X00000011dB
X00000102dB
X00000113dB
X00001004dB
X00001015dB
X00001106dB
X00001117dB
X00010008dB
X001000016dB
X001100024dB
X010000032dB
X010100040dB
X011000048dB
X011100056dB
17/23
I2C bus addresses and dataTDA7439DS
Table 14.Speaker attenuation value (sub address 0x6, 0x7) (continued)
Updated titles to Figure 9 and Figure 10
Minor updates to presentation
22/23
TDA7439DS
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.