TDA7404 Car radio signal processor Features ■ 4 stereo inputs ■ 1 mono input ■ Soft-step volume ■ Bass, Treble and Loudness control ■ Direct -mute and soft-mute ■ Internal beep ■ Four independent speaker outputs ■ Subwoofer stereo output ■ Digital control: – I2C bus interface – Audio filter characteristics programmable Description The TDA7404 is a high performance signal processor specifically designed for car radio applications. Table 1. SO-28 The device includes a high performance audioprocessor with fully integrated audio filters. The digital control allows a programming in a wide range of all the filter characteristics. By the use of a BiCMOS process and a linear signal processing low distortion and low noise are obtained. Device summary Order code Package Packing TDA7404D SO-28 Tube December 2008 Rev 2 1/35 www.st.com 1 Contents TDA7404 Contents 1 Detailed features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Block and pin description diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 Electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 3.1 Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 Thermal data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.3 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.4 ESD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Description of functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.1 Input stages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.2 AutoZero . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.2.1 4.3 Mixing stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.4 Loudness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4.1 Attenuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4.2 Center frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4.3 Low and high frequency boost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.5 Soft-mute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.6 Soft-step volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.7 Bass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.8 2/35 AutoZero remain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.7.1 Attenuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.7.2 Center frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.7.3 Quality factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.7.4 DC mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Treble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.8.1 Attenuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.8.2 Center frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.9 External AC - coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.10 Speaker attenuator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.11 Subwoofer attenuator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 TDA7404 5 Contents I2C bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.1 Interface protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.2 Transmitted data (send mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.3 Reset condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.4 Subaddress (receive mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.5 Data byte specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6 Application circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3/35 List of tables TDA7404 List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. 4/35 Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Thermal data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Others selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Subaddress (receive mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Input selector / gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Loudness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Treble programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Bass programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Speaker attenuator left front . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Speaker attenuator right front . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Speaker attenuator left rear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Speaker attenuator right rear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Subwoofer attenuator (left and right) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Soft-mute and mixing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 TDA7404 List of figures List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Pin connection (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Input stages diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Signal-flow of mixing-stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Loudness attenuation @ fC = 400 Hz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Loudness center frequencies @ Attn. = 15 dB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Loudness attenuation, fC = 2.4 kHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Soft-mute timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Soft-step timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Bass control @ fC = 80 Hz, Q = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Bass center frequencies @ gain = 15 dB, Q = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Bass quality factors @ gain = 14 dB, fC = 80 Hz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Bass normal and DC mode @ gain = 14 dB, fC = 80 Hz . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Treble control @ fC = 17.5kHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Treble center frequencies @ Gain = 15 dB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 External AC coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Software specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 TDA7404 application circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 SO-28 mechanical data and package dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5/35 Detailed features 1 Detailed features ● – – – – – ● ● ● ● ● ● ● ● ● 6/35 Input multiplexer 1 pseudo-differential stereo input (selectable single end stereo input) 3 single-end stereo inputs 1 differential mono input In-Gain 0..14 dB, 1 dB steps, 14..20 dB, 2 dB steps Auto Zero Beep – internal beep with 3 frequencies – 781 Hz/1.56 kHz/1.8 kHz Mixing stage – 4 step-mixing-stage with mono or beep as mix-signals Loudness – second order frequency response – programmable center frequency – 15 x 1 dB steps – selectable low and high frequency boost – selectable flat-mode (constant attenuation) Volume – 1 dB attenuator – 100 dB range – soft-step control with programmable times Bass – 2nd order frequency response – center frequency programmable in 4 steps – 60 Hz / 80 Hz / 100 Hz / 200 Hz – Q programmable 1.0/1.25/1.5/2.0 – DC gain programmable – +15 dB x 1 dB steps Treble – 2nd order frequency response – center frequency programmable in 4 steps – 10 kHz / 12.5 kHz / 15 kHz / 17.5 kHz – +15 dB x 1 dB steps Speaker – 4 independent speaker controls in 1 dB steps – control range 50 dB with mute – Zero crossing attenuate Subwoofer – Stereo output – attenuator range 50 dB Mute functions – direct mute – digitally controlled Soft Mute with 4 programmable mute-times TDA7404 TDA7404 Block and pin description diagrams ACINR ACINL MUTE ACOUTR ACOUTL Block diagram MUX Figure 1. SE2L SE2R SE3L SE3R Bass Treble Soft Mute Volume Loudness SE1L SE1R Mixing Stage DiffinL Diffgnd DiffinR Gain/Auto Zero MIX Input Multiplexer 2 Block and pin description diagrams Mono Fader Out LF Mono Fader Out RF Mono Fader Out LR Mono Fader Out RR Mono Fader SW L Mono Fader SW R Zero Cross Mono/Beep Mono+ Mono - SCL SDA Digital Control I2C-Bus Beep Supply Gnd Vref Vcc Figure 2. Pin connection (top view) SE1L 1 28 ACOUTL SE1R 2 27 ACOUTR SE2L 3 26 VDD SE2R 4 25 SDA SE3L 5 24 SCL SE3R 6 23 MUTE Mono+ 7 22 MUX Mono- 8 21 OUTLF DiffinR 9 20 OUTLR Difffgnd 10 19 OUTRR DiffinL 11 18 OUTRF ACINR 12 17 SWL ACINL 13 16 SWR CREF 14 15 GND 7/35 Electrical specifications TDA7404 3 Electrical specifications 3.1 Supply Table 2. Supply Symbol Parameter Test condition Min. Typ. Max. Unit 7.5 9 10.5 V Vs Supply voltage Is Supply current Vs = 9V 20 mA Ripple rejection @ 1 kHz Audioprocessor (all Filters flat) 60 dB SVRR 3.2 Thermal data Table 3. Symbol RTh j-pins 3.3 Parameter Thermal resistance junction pins Value Unit 85 °C/W Value Unit 10.8 V -40 to 85 °C -55 to +150 °C max Absolute maximum ratings Table 4. Symbol Vs 3.4 Thermal data Absolute maximum ratings Parameter Operating supply voltage Tamb Operating temperature range Tstg Storage temperature range ESD All pins are protected against ESD according to the MIL883 standard. 8/35 TDA7404 Electrical specifications 3.5 Electrical characteristics Table 5. Electrical characteristics (VS =9 V; Tamb=25 °C; RL=10 kΩ; all gains = 0 dB; f = 1 kHz; unless otherwise specified) Symbol Parameter Test conditions Min. Typ. Max. Unit 70 100 130 kΩ 2.20 2.60 VRMS dB Input selector Rin Input resistance VCL Clipping level SIN Input separation 80 100 Min. input gain -1 0 1 dB GIN MAX Max. input gain 18 20 22 dB 0.5 1 1.5 dB Adjacent gain steps -5 1 5 mV GMIN to GMAX -10 5 10 mV GIN MIN GSTEP VDC Voffset all single ended Inputs Step Resolution DC Steps Remaining offset with AutoZero 0.5 mV P differential stereo inputs Rin GCD CMRR eNO Input resistance (see Figure 3) Differential Gain only at true differential input Common mode rejection ratio Output noise @ speaker-outputs 70 100 130 kΩ -0.75 0 0.75 dB -5 -6 -7 dB -11 -12 -13 dB VCM = 1 VRMS @ 1 kHz 40 70 dB VCM = 1 VRMS @ 10 kHz 40 60 dB 9 V 20 Hz - 20 kHz, flat; all stages 0 dB Differential mono input Rin CMRR Input resistance Common mode rejection ratio Differential 39 56 73 kΩ VCM = 1 VRMS @ 1 kHz 40 70 dB VCM = 1 VRMS @ 10 kHz 40 60 dB 250 350 500 mV fB1 740 781 820 Hz fB2 1.48 1.56 1.64 kHz fB3 1.7 1.8 1.9 kHz Beep control VRMS fB Beep level Beep frequency 9/35 Electrical specifications Table 5. TDA7404 Electrical characteristics (continued) (VS =9 V; Tamb=25 °C; RL=10 kΩ; all gains = 0 dB; f = 1 kHz; unless otherwise specified) Symbol Parameter Test conditions Min. Typ. Max. Unit Mixing control Main / mix-source MLEVEL 0/00 dB Main / mix-source -8.5/10.6 -3.5/9.6 -2.5/8.6 dB Main / mix-source -5/-5 -6/-6 -7/-7 dB Main / mix-source -11/1.5 -12/2.5 -13/3.5 dB Mixing level Volume control GMAX Max. gain 28 30 32 dB AMAX Max. attenuation -83 -79 -75 dB ASTEP Step resolution 0.5 1 1.5 dB G = -20 to +20 dB -1 0 1 dB G = -80 to -20 dB -4 0 3 dB 2 dB EA Attenuation set error ET Tracking error VDC Adjacent steps 0.1 3 mV From 0 dB to GMIN 0.5 5 mV -0.5 1 1.5 dB 13 15 17 dB 360 400 440 Hz 720 800 880 Hz 2.3 2.4(1) 2.5 kHz 80 100 DC steps Loudness control ASTEP Step resolution AMAX Max. attenuation fC Center frequency Soft-mute AMUTE TD VTH low Mute attenuation T1 0.48 1 ms T2 0.96 2 ms Delay time Low threshold for SM T3 20 30.7 50 ms T4 70 123 170 ms 1 V pin(2) VTH high High threshold for SM pin RPU Internal pull-up resistor VPU Pull-up voltage 10/35 dB 2.50 70 V 100 5 130 kΩ V TDA7404 Table 5. Electrical specifications Electrical characteristics (continued) (VS =9 V; Tamb=25 °C; RL=10 kΩ; all gains = 0 dB; f = 1 kHz; unless otherwise specified) Symbol Parameter Test conditions Min. Typ. Max. Unit Soft-step TSW Switch time TSW1 0.68 ms TSW2 1.26 ms TSW3 2.52 ms TSW4 5.04 ms Bass control CRANGE Control range ASTEP fC QBASS DCGAIN +14 +15 +16 dB 0.5 1 1.5 dB fC1 54 60 66 Hz fC2 72 80 88 Hz fC3 90 100 110 Hz fC4 180 200 220 Hz Q1 0.9 1 1.1 Q2 1.1 1.25 1.4 Q3 1.3 1.5 1.7 Q4 1.8 2 2.2 DC = off -1 0 1 dB DC = on 4 4.4 6 dB +14 +15 +16 dB 0.5 1 1.5 dB fC1 8 10 12 kHz fC2 10 12.5 15 kHz fC3 12 15 18 kHz fC4 14 17.5 21 kHz -53 50 -47 dB 0.5 1 1.5 dB 90 Step resolution Center frequency Quality factor Bass DC gain Treble control CRANGE Control range ASTEP fC Step resolution Center frequency Speaker attenuator CRANGE Control range ASTEP Step resolution AMUTE Output mute attenuation 80 Attenuation set error -2 EE Only for attenuation up to 24 dB VDC DC steps Adjacent attenuation steps TZC Zero cross timer Data bit D1=1, D2=1 Vth Zero cross threshold 29 dB 2 dB 0.10 5 mV 37 45 ms +20 mV 11/35 Electrical specifications Table 5. TDA7404 Electrical characteristics (continued) (VS =9 V; Tamb=25 °C; RL=10 kΩ; all gains = 0 dB; f = 1 kHz; unless otherwise specified) Symbol Parameter Test conditions Min. Typ. 2.20 2.60 Max. Unit Fader outputs VCLIP Clipping level RL Output load resistance CL Output load capacitance ROUT Output impedance VDC DC Voltage Level d = 0.3% VRMS 2 kΩ 10 nF 30 100 W 4.3 4.5 4.7 V -53 50 -47 dB 1.5 dB Subwoofer attenuator CRANGE Control range ASTEP Step resolution 0.5 1 AMUTE Output mute attenuation 80 90 EE VDC Attenuation set error dB 2 dB 0.10 5 mV 15 μV DC steps Adjacent attenuation steps Output noise BW = 20 Hz - 20 kHz all gains = 0 dB single ended inputs 10 all gains = 0 dB flat; VO = 2VRMS 106 dB bass, treble at +12 dB; a-weighted; VO = 2.6 VRMS 100 dB General eNO S/N d Signal to noise ratio VIN = 1 VRMS; all stages 0 dB internal pass only 0.005 0.1 % VOUT = 1 VRMS; Bass and treble = 12 dB 0.05 0.1 % Distortion SC Channel separation left/right ET Total tracking error 80 100 AV = 0 to -20 dB -1 0 1 dB AV = -20 to -60 dB -2 0 2 dB 1. The SM-Pin is active low (Mute = 0). 2. Center frequency 2.4 kHz makes 1kHz bottom frequency at low and high frequency boost condition. 12/35 dB TDA7404 Description of functionality 4 Description of functionality 4.1 Input stages Most of the input stages have remained the same as in preceding ST-Audioprocessors with exception of the CD-inputs (see Figure 3). In the meantime there are some CD-players in the market which have a significant high source-impedance which effects strongly the common-mode-rejection of the normal differential input stage. The additional buffer of the TDA7404 Diff: ● input avoids this drawback and offers the full common-mode-rejection even with those CD-players. Figure 3. Input stages diagram Diffin+ /(SE 4) 100k Diffgn d 100k 28k 28k 28k 28k Mon o+ Mon o - SE 1 In ga in 100k SE 2 100k SE 3 100k 1. It is possible that the Differential input is switched a single ended input (SE4) like SE1.. 3. 13/35 Description of functionality 4.2 TDA7404 AutoZero In order to reduce the number of pins there is no AC coupling between the In-Gain and the following stage, so that any offset generated by or before the In-Gain-stage would be transferred or even amplified to the output. To avoid that effect a special Offset-cancellationstage called AutoZero is implemented. This stage is located before the Mixing-block to eliminate all offsets generated by the Input-Stages and the In-Gain (Please notice that externally generated offsets, e.g. generated through the leakage current of the coupling capacitors, are not canceled). The auto-zeroing is started every time the DATA-BYTE 0 (Input Selector/Gain) is selected and takes a time of max. 0.3ms. To avoid audible clicks the Audioprocessor is muted before the loudness stage during this time. 4.2.1 AutoZero remain In some cases, for example if the µP is executing a refresh cycle of the IIC-Busprogramming, it is not useful to start a new AutoZero-action because no new source is selected and an undesired mute would appear at the outputs. For such applications the TDA7404 could be switched in the AutoZero-Remain-Mode (I2 bit of the subaddress-byte). If this bit is set to high, the DATABYTE 0 could be loaded without invoking the AutoZero and the old adjustment-value remains. 4.3 Mixing stage The 4 step Mixing stage offers the possibility to mix the rear selector signal or the phone signal to any other source. Due to the fact that the mixing-stage is located behind the InGain-stage fine adjustments of the main source level could be done in this way. Figure 4. Signal-flow of mixing-stage Input Select or SE1 SE2 SE3 Mono Beep 14/35 Mixing 25k Diffin In-Gain Mixing Level Input / Beep or Mono Loudness 0dB / -3.5dB / - 6dB / - 12dB / -100dB - 9.6dB - 6dB - 2.5dB TDA7404 4.4 Description of functionality Loudness There are four parameters programmable in the loudness stage: 4.4.1 Attenuation Figure 5 shows the attenuation as a function of frequency at fC = 400 Hz. Figure 5. Loudness attenuation @ fC = 400 Hz 5 0 -5 - 10 - 15 - 20 10 4.4.2 100 1K 10K Center frequency Figure 6 shows the three possible peak-frequencies 400 Hz, 800 Hz and 2.4 kHz. Figure 6. Loudness center frequencies @ Attn. = 15 dB 5 0 -5 - 10 - 15 - 20 10 100 1K 10K 15/35 Description of functionality 4.4.3 TDA7404 Low and high frequency boost Figure 7 shows the different Loudness-shapes in low & high frequency boost. Figure 7. Loudness attenuation, fC = 2.4 kHz 5 0 -5 - 10 - 15 - 20 10 4.5 100 1K 10K Soft-mute The digitally controlled soft-mute stage allows muting/demuting the signal with a I2C bus programmable slope. The mute process can either be activated by the Mute pin or by the I2C bus. This slope is realized in a special S-shaped curve to mute slow in the critical regions (seeFigure 6). For timing purposes the Bit 0 of the I2C bus output register is set to 1 from the start of muting until the end of de-muting. Figure 8. Soft-mute timing 1. Please notice that a started Mute-action is always terminated and could not be interrupted by a change of the mute -signal. 16/35 TDA7404 4.6 Description of functionality Soft-step volume When the volume-level is changed audible clicks could appear at the output. The root cause of those clicks could either be a DC-Offset before the volume-stage or the sudden change of the envelope of the audiosignal. With the soft-step feature both kinds of clicks could be reduced to a minimum and are no more audible. Four programmable soft step time from one step to the next, are user selectable. Figure 9. Soft-step timing Vou t 2dB 1dB Time SS Tim e -1dB -2dB 1. For steps more than 1 dB the soft-step mode should be deactivated because it could generate a 1 dB error during the blend-time. 4.7 Bass There are three parameters programmable in the bass stage: 4.7.1 Attenuation Figure 10 shows the attenuation as a function of frequency at a center frequency of 80Hz. Figure 10. Bass control @ fC = 80 Hz, Q = 1 15.0 10.0 5.0 dB 0.0 -5.0 -10.0 -15.0 10.0 100.0 Hz 1.0K 10.0K 17/35 Description of functionality 4.7.2 TDA7404 Center frequency Figure 11 shows the four possible center frequencies 60, 80,100 and 200 Hz. Figure 11. Bass center frequencies @ gain = 15 dB, Q = 1 16 12 8 4 0 -4 10 4.7.3 100 1K 10K Quality factors Figure 12 shows the four possible quality factors 1, 1.25, 1.5 and 2. Figure 12. Bass quality factors @ gain = 14 dB, fC = 80 Hz 15.0 12.5 10.0 7.5 5.0 2.5 0.0 10.0 18/35 100.0 1.0K 10.0K TDA7404 4.7.4 Description of functionality DC mode In this mode the DC-gain is increased by 4.4 dB. In addition the programmed center frequency and quality factor is decreased by 25 % which can be used to reach alternative center frequencies or quality factors. Figure 13. Bass normal and DC mode @ gain = 14 dB, fC = 80 Hz 15.0 12.5 10.0 7.5 5.0 2.5 0.0 10.0 100.0 1.0K 10.0K 1. The center frequency, Q and DC mode can be set fully independently. 19/35 Description of functionality 4.8 TDA7404 Treble There are two parameters programmable in the treble stage: 4.8.1 Attenuation Figure 14 shows the attenuation as a function of frequency at a center frequency of 17.5 kHz. Figure 14. Treble control @ fC = 17.5kHz 20 15 10 5 0 -5 - 10 - 15 - 20 10 4.8.2 100 10K 1K Center frequency Figure 15 shows the four possible center frequencies 10 k, 12.5 k, 15 k and 17.5 kHz. Figure 15. Treble center frequencies @ Gain = 15 dB 20 15 10 5 0 -5 10 20/35 100 1K 10K TDA7404 4.9 Description of functionality External AC - coupling TDA7404 has external AC coupling terminals which can be selected one of two positions behind the mixing stage or bass filter. Figure 16. External AC coupling SOUND E F F E CTS ACOUT ACIN SW2 SW1 ACC select or a In pu t b a Mixin g St a ge Volu m e & F ilt er b Spea k er SW4 SW3 The external AC coupling is selected in position of four switches controlled by the lower 2bit in the Others selection (seeTable 6). Table 6. 4.10 Others selection D1 D0 Switch position X 0 SW3 = ON, SW4 = ON (selected internal pass), SW1 = b, SW2 = open 0 1 SW3 = OFF, SW4 = ON, SW1 = a, SW2 = a 1 1 SW3 = ON, SW4 = OFF, SW1 = b, SW2 = b Speaker attenuator Due to practical aspects the steps in the speaker-attenuator are not linear over the full range. At attenuations more than 24 dB the steps increase from 1.5 dB to 10 dB (please see data byte specification). 4.11 Subwoofer attenuator The Subwoofer output is a single ended stereo output. The attenuator is exactly the same like the other speakers. 21/35 I2C bus interface TDA7404 5 I2C bus interface 5.1 Interface protocol The interface protocol comprises: ● a start condition (S) ● a chip address byte (the LSB bit determines read / write transmission) ● a subaddress byte ● a sequence of data (N-bytes + acknowledge) ● a stop condition (P) ● the max. clock speed is 500 Kbits/s Figure 17. Software specification CHIP ADDRESS SUBADDRESS MSB S 1 LSB 0 0 0 1 0 0 DATA 1 to DATA n MSB R/W ACK LSB MSB I3 I2 I1 I0 A3 A2 A1 A0 ACK LSB ACK ACK P D99AU1044 S = Start R/W = "0" -> Receive-Mode (Chip could be programmed by P) "1" -> Transmission-Mode (Data could be received by P) 5.2 ACK = Acknowledge P = Stop Transmitted data (send mode) MSB X LSB X X X X X X SM SM = Soft mute activated X = Not Used The transmitted data is automatic updated after each ACK. Transmission can be repeated without new chipaddress. 5.3 Reset condition A Power on reset is invoked if the supply voltage is below than 3.5V. After that the following data is written automatically into the registers of all subaddresses: MSB 1 LSB 1 1 1 1 1 1 0 The programming after POR is marked bold-face / underlined in the programming tables. 22/35 TDA7404 I2C bus interface With this programming all the outputs are muted to VREF (VOUT= VDD/2). Note: All the blank bits in the following tables are "don't care"-bits. 5.4 Subaddress (receive mode) Table 7. Subaddress (receive mode) MSB LSB Function I3 I2 I1 I0 A3 A2 A1 A0 Zero cross / Soft Mute (1) Zero Cross available Soft Mute available 0 1 AutoZero Remain (2) off on 0 1 Testmode (3) off on 0 1 Auto-Increment Mode (4) off on 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Input Selector / Gain Loudness Volume Treble Bass Speaker attenuator LF / Bass Fc select Speaker attenuator RF Speaker attenuator LR Speaker attenuator RR Subwoofer attenuator LSW Subwoofer attenuator RSW Soft-mute / Mixing Others selection Testing 1. For more information seeSection 4.5: Soft-mute. 2. For more information see Section 4.2: AutoZero 3. For more information see Test Programming block 4. If this bit is set to "1", the subaddress is automatically increased after the transmission of a data-byte. Therefore a transmission of more than one byte without sending the new subaddress is possible. 23/35 I2C bus interface 5.5 TDA7404 Data byte specification Table 8. Input selector / gain MSB LSB Function D7 D6 D5 D4 D3 D2 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 24/35 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 X X 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 X X 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 X X 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 D1 0 0 1 1 0 0 1 1 D0 0 1 0 1 0 1 0 1 Source selector Mono Differential Single Ended 1 Mute Single Ended 2 Pseudo Differential / Single Ended 4 Single Ended 3 Mute Beep Input gain 0 dB 1 dB 2 dB 3 dB 4 dB 5 dB 6 dB 7 dB 8 dB 9 dB 10 dB 11 dB 12 dB 13 dB 14 dB 16 dB 18 dB 20 dB TDA7404 I2C bus interface Table 9. Loudness MSB LSB Function D7 D6 0 D5 0 0 1 1 D4 D3 D2 D1 D0 0 0 : 1 1 0 0 : 1 1 0 0 : 1 1 0 1 : 0 1 Attenuation 0 dB -1 dB : -14 dB -15 dB Filter / Center Frequency off (flat) 'D6 must be = 0' 400 Hz 800 Hz 2.4 kHz 0 1 0 1 Shape Low boost Low and high boost 0 1 Soft-step-Volume off on 0 1 Note 1: The attenuation is specified at high frequencies. Around the center frequency the value is different depending on the programmed attenuation (see Section 4.4: Loudness). Table 10. Volume MSB LSB Function D7 0 1 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 0 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 1 1 1 1 1 1 0 0 1 1 1 X 1 1 X 1 1 X 1 0 1 0 1 0 1 X Gain/attenuation not allow not allow +30.0 dB +29.0 dB : +1.0 dB 0.0 dB - 1.0 dB - 2.0 dB : -78.0 dB -79.0 dB Mute Diffin - mode Single ended stereo Differential Stereo Note 2: It is not recommended to use a gain more than 20 dB for system performance reason. In general, the max. gain should be limited by software to the maximum value, which is needed for the system. 25/35 I2C bus interface TDA7404 Table 11. Treble programming MSB LSB Function D7 D6 D5 D4 0 1 X X X X 26/35 0 0 1 1 0 1 0 1 D3 D2 D1 D0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Treble Steps 15 dB 14 dB 13 dB 12 dB 11 dB 10 dB 9 dB 8 dB 7 dB 6 dB 5 dB 4 dB 3 dB 2 dB 1 dB 0 dB Mode Cut Boost Treble Center Frequency 10 kHz 12.5 kHz 15 kHz 17.5 kHz TDA7404 I2C bus interface Table 12. Bass programming MSB LSB Function D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 1 0 1 0 1 0 1 Bass steps 15 dB 14 dB 13 dB 12 dB 11 dB 10 dB 9 dB 8 dB 7 dB 6 dB 5 dB 4 dB 3 dB 2 dB 1 dB 0 dB Mode Cut Boost Quality Factor 1 1.25 1.5 2 DC - Mode Off On Note 3: For more information please refer to Section 4.7: Bass. 27/35 I2C bus interface TDA7404 Table 13. Speaker attenuator left front MSB LSB Function D6 D7 0 0 1 1 D5 D4 D3 D2 D1 D0 0 0 : 0 0 0 0 0 0 0 0 0 1 0 0 : 1 1 1 1 1 1 1 1 1 X 0 0 : 0 1 1 1 1 1 1 1 1 X 0 0 : 1 0 0 0 0 1 1 1 1 X 0 0 : 1 0 0 1 1 0 0 1 1 X 0 1 : 1 0 1 0 1 0 1 0 1 X Attenuation 0 dB -1 dB : -23 dB -24.5 dB -26 dB -28 dB -30 dB -32 dB -35 dB -40 dB -50 dB Speaker Mute Bass Center-Frequency 60 Hz 80 Hz 100 Hz 200 Hz 0 1 0 1 Table 14. Speaker attenuator right front MSB LSB Function D7 X 28/35 D6 D5 D4 D3 D2 D1 D0 X 0 0 : 0 0 0 0 0 0 0 0 0 1 0 0 : 1 1 1 1 1 1 1 1 1 X 0 0 : 0 1 1 1 1 1 1 1 1 X 0 0 : 1 0 0 0 0 1 1 1 1 X 0 0 : 1 0 0 1 1 0 0 1 1 X 0 1 : 1 0 1 0 1 0 1 0 1 X Attenuation 0 dB -1 dB : -23 dB -24.5 dB -26 dB -28 dB -30 dB -32 dB -35 dB -40 dB -50 dB Speaker Mute TDA7404 I2C bus interface Table 15. Speaker attenuator left rear MSB LSB Function D7 X D6 D5 D4 D3 D2 D1 D0 X 0 0 : 0 0 0 0 0 0 0 0 0 1 0 0 : 1 1 1 1 1 1 1 1 1 X 0 0 : 0 1 1 1 1 1 1 1 1 X 0 0 : 1 0 0 0 0 1 1 1 1 X 0 0 : 1 0 0 1 1 0 0 1 1 X 0 1 : 1 0 1 0 1 0 1 0 1 X Table 16. Attenuation 0 dB -1 dB : -23 dB -24.5 dB -26 dB -28 dB -30 dB -32 dB -35 dB -40 dB -50 dB Speaker mute Speaker attenuator right rear MSB LSB Function D7 X D6 X D5 0 0 : 0 0 0 0 0 0 0 0 0 1 D4 0 0 : 1 1 1 1 1 1 1 1 1 X D3 0 0 : 0 1 1 1 1 1 1 1 1 X D2 0 0 : 1 0 0 0 0 1 1 1 1 X D1 0 0 : 1 0 0 1 1 0 0 1 1 X D0 0 1 : 1 0 1 0 1 0 1 0 1 X Attenuation 0 dB -1 dB : -23 dB -24.5 dB -26 dB -28 dB -30 dB -32 dB -35 dB -40 dB -50 dB Speaker mute 29/35 I2C bus interface TDA7404 Table 17. Subwoofer attenuator (left and right) MSB LSB Function D7 X D6 D5 D4 D3 D2 D1 D0 X 0 0 : 0 0 0 0 0 0 0 0 0 1 0 0 : 1 1 1 1 1 1 1 1 1 X 0 0 : 0 1 1 1 1 1 1 1 1 X 0 0 : 1 0 0 0 0 1 1 1 1 X 0 0 : 1 0 0 1 1 0 0 1 1 X 0 1 : 1 0 1 0 1 0 1 0 1 X Table 18. Attenuation 0 dB -1 dB : -23 dB -24.5 dB -26 dB -28 dB -30 dB -32 dB -35 dB -40 dB -50 dB Speaker Mute Soft-mute and mixing MSB LSB Function D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 1 0 1 0 0 1 1 0 0 1 1 30/35 0 1 0 1 0 1 0 1 0 1 0 1 Mute enable soft-mute disable soft-mute Mute/Zero Cross-Times 0.48 ms 0.96 ms 30.7 ms / 9 ms 122.8 ms / 37 ms Mixing-Source Beep Phone Mixing-Level (Main / Mix-Source) -12 / -2.5 dB -6 / -6 dB -3.5 / -9.6 dB 0 /∞ Beep Frequency 781 Hz 1.56 kHz Not allow 1.8 kHz TDA7404 I2C bus interface Table 19. Others MSB LSB Function D7 D6 D5 D4 D3 D2 D1 X 0 1 D0 AC coupling Internal pass Coupling between Mixing Stage and Volume Coupling between Bass filter and Speaker attenuator 0 1 1 1 Must be "1" for make up Must be "1" for make up 1 0 0 1 1 Soft Step Time 0.68ms 1.26ms 2.52ms 5.04ms 0 1 0 1 1 Must be "1" for AutoZero Internal Beep Off ON 0 1 Table 20. Testing MSB LSB Function D7 D6 D5 D4 D3 X X X X X X X X X X X X X X 1 1 X X X X D2 D1 D0 0 1 0 1 0 1 Main-Testmode off on Test-Multiplexer internal 200kHz Clock internal Bandgap Voltage Clock external internal must be "1" 31/35 Application circuit 6 TDA7404 Application circuit Figure 18. TDA7404 application circuit MUTE SOUND EFFECTS MUTE ACINR ACINL ACOUTR ACOUTL OutLF SE1L TapeL OutLR SE1R TapeR OutRR SE2L OutRR 4.7u 100n OutRF SE2R FM_R OutLR 4.7u 100n FM_L OutLF 4.7u 100n OutRF 4.7u 100n AJ39 TDA7404 SE3L AM_L 100n AM_R SWL SWL 4.7u SWR SE3R SWR 4.7u 100n MONO+ Phone 100n Spectrum Analyzer MUX MONO - PhoneGnd 100n DiffinL CD_L 100n CDGnd DiffinGnd VDD DiffinR GND 100n SCL SDA 100n CREF CD_R 100n 10u 10u 9V SCL SDA 32/35 + TDA7404 7 Package information Package information In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK® packages, depending on their level of environmental compliance. ECOPACK® specifications, grade definitions and product status are available at: www.st.com. ECOPACK® is an ST trademark. Figure 19. SO-28 mechanical data and package dimensions mm DIM. MIN. TYP. A inch MAX. MIN. TYP. 2.65 MAX. 0.104 a1 0.1 0.3 0.004 0.012 b 0.35 0.49 0.014 0.019 b1 0.23 0.32 0.009 0.013 C 0.5 c1 0.020 45° (typ.) D 17.7 18.1 0.697 0.713 E 10 10.65 0.394 0.419 e 1.27 0.050 e3 16.51 0.65 F 7.4 7.6 0.291 0.299 L 0.4 1.27 0.016 0.050 S OUTLINE AND MECHANICAL DATA SO-28 8 ° (max.) 33/35 Revision history 8 TDA7404 Revision history Table 21. Document revision history Date Revision 15-Jul-2003 1 16-Dec-2008 34/35 Changes Initial release. Document reformatted. Added Table 1: Device summary on page 1. Updated Section 7: Package information. TDA7404 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. © 2008 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 35/35