LM4946 Output Capacitor-Less Audio Subsystem with Programmable National 3D General Description Key Specifications The LM4946 is an audio power amplifier capable of delivering 540mW of continuous average power into a mono 8Ω bridged-tied load (BTL) with 1% THD+N, 35mW per channel of continuous average power into stereo 32Ω single-ended (SE) loads with 1% THD+N, or an output capacitor-less (OCL) configuration with identical specifications as the SE configuration, from a 3.3V power supply. The LM4946 has three input channels: one pair for a twochannel stereo signal and the third for a differential singlechannel mono input. The LM4946 features a 32-step digital volume control and eight distinct output modes. The digital volume control, 3D enhancement, and output modes (mono/ SE/OCL) are programmed through a two-wire I2C or a threewire SPI compatible interface that allows flexibility in routing and mixing audio channels. The LM4946 is designed for cellular phone, PDA, and other portable handheld applications. It delivers high quality output power from a surface-mount package and requires only seven external components in the OCL mode (two additional components in SE mode). ■ THD+N at 1kHz, 540mW into 8Ω BTL (3.3V) 1.0% (typ) ■ THD+N at 1kHz, 35mW into 32Ω SE (3.3V) 1.0% (typ) ■ Single Supply Operation (VDD) 2.7 to 5.5V ■ I2C/SPI Single Supply Operation LLP 2.2 to 5.5V micro SMD 1.7 to 5.5V Features ■ I2C/SPI Control Interface ■ I2C/SPI programmable National 3D Audio ■ I2C/SPI controlled 32 step digital volume control (-54dB to ■ ■ ■ ■ ■ ■ ■ +18dB) Three independent volume channels (Left, Right, Mono) Eight distinct output modes LLP and microSMD surface mount packaging “Click and Pop” suppression circuitry Thermal shutdown protection Low shutdown current (0.02uA, typ) RF immunity topology Applications ■ Mobile Phones ■ PDAs Boomer® is a registered trademark of National Semiconductor Corporation. © 2007 National Semiconductor Corporation 201628 www.national.com LM4946 Output Capacitor-Less Audio Subsystem with Programmable National 3D June 2007 LM4946 Typical Application 201628g1 FIGURE 1. Typical Audio Amplifier Application Circuit-Output Capacitor-less 201628n4 FIGURE 2. Typical Audio Amplifier Application Circuit-Single Ended www.national.com 2 LM4946 Connection Diagrams 24 Lead LLP Package 201628e8 Top View U - Wafer Fab Code Z - Assembly Plant Code XY - Date Code TT - Die Traceability xxx - L4946SQ 20162803 Top View 25 Bump micro SMD Package 201628n3 Top View U - Wafer Fab Code Z - Assembly Plant Code XY - Date Code TT - Die Traceability G- Boomer I9 - LM4946TM 201628n2 Top View 3 www.national.com LM4946 Pin Descriptions Pin Number (LLP) Bump (Mirco SMD) Name Description 1 B2 LHP3D2 2 A1 VOC Center Amplifier Output 3 A2 VDD Voltage Supply 4 A3 GND Ground 5 A4 ROUT Right Headphone Output 6 A5 LOUT Left Headphone Output 7 B4 8 B5 I2CSPI_V DD Left Headphone 3D Input 1 I2C or SPI Interface Voltage Supply RIN Right Input Channel Left Input Channel 9 B3 LIN 10 C5 SDA Data 11 C4 SCL Clock 12 D5 GND Ground 13 D4 ID_ENB E5 I2CSPI_SEL 15 E4 MONO+ 16 D3 VDD 17 E2 MONO- Loudspeaker Output Negative 18 E1 LHP3D1 Left Headphone 3D Input 2 19 D2 RHP3D1 Right Headphone 3D Input 1 20 D1 GND 21 C3 BYPASS 22 C1 MONO_IN- Loudspeaker Negative Input 23 C2 MONO_IN+ Loudspeaker Positive Input 24 B1 RHP3D2 E3 VDD 14 www.national.com 4 Address Identification/Enable Bar I2C or SPI Select Loudspeaker Output Positive Voltage Supply Ground Half-Supply Bypass Right Headphone 3D Input 2 Voltage Supply If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. Supply Voltage Storage Temperature Input Voltage ESD Susceptibility (Note 3) ESD Machine model (Note 6) Junction Temperature Solder Information (Note 1) Vapor Phase (60 sec.) 6.0V −65°C to +150°C −0.3 to VDD +0.3 2.0kV 200V 150°C 220°C θJA (typ) - SQA24A 46°C/W θJA (typ) - TMD25A 49°C/W Operating Ratings Temperature Range Supply Voltage (VDD) −40°C to 85°C 2.7V ≤ VDD ≤ 5.5V I2CSPI_VDD ≤ VDD Supply Voltage (I2C/SPI) (Note 10) LLP micro SMD 215°C 2.2V ≤ I2CSPI_VDD ≤ 5.5V 1.7V ≤ I2CSPI_VDD ≤ 5.5V Electrical Characteristics 3.3V (Notes 2, 7) The following specifications apply for VDD = 3.3V, TA = 25°C, all volume controls set to 0dB, unless otherwise specified. Symbol Parameter Conditions LM4946 Typical (Note 4) IDD ISD VOS PO THD+N Supply Current Shutdown Current Output Offset Voltage Output Power Total Harmonic Distortion + Noise Limits (Note 5) Units (Limits) Output Modes 2, 4, 6 VIN = 0V; No load, SE Headphone 3.25 mA Output Modes 1, 3, 5, 7 VIN = 0V; No load, SE Headphone 5.65 mA Output Modes 2, 4, 6 VIN = 0V; No load, OCL Headphone 4 Output Modes 1, 3, 5, VIN = 0V; No load, OCL Headphone 5 6.5 mA (max) mA Output Modes 7 VIN = 0V; No load, OCL Headphone 6.5 10.5 mA (max) Output Mode 0 0.02 1 µA (max) VIN = 0V, Mode 7 Mono 12 50 VIN = 0V, Mode 7 Headphones (Note 11) 3 15 MONO OUT; RL = 8Ω THD+N = 1%; f = 1kHz, BTL, Mode 1 540 500 mW (min) ROUT and LOUT; RL = 32Ω THD+N = 1%; f = 1kHz, SE, Mode 4 35 30 mW (min) mV (max) MONOOUT f = 1kHz POUT = 250mW; RL = 8Ω, BTL, Mode 1 0.05 % ROUT and LOUT f = 1kHz POUT = 12mW; RL = 32Ω, SE, Mode 4 0.015 % 5 www.national.com LM4946 Infrared (15 sec.) Thermal Resistance (Note 8) Absolute Maximum Ratings (Note 2) LM4946 Symbol Parameter Conditions LM4946 Typical (Note 4) Limits (Note 5) Units (Limits) A-weighted, inputs terminated to GND, output referred NOUT Output Noise Power Supply Rejection Ratio MONOOUT Speaker; Mode 1 17 μV Speaker; Mode 3, 7 27 μV Speaker; Mode 5 33 μV Headphone; SE, Mode 2 8 μV Headphone; SE, Mode 4, 7 8 μV Headphone; SE, Mode 6 12 μV Headphone; OCL, Mode 2 8 μV Headphone; OCL, Mode 4, 7 9 μV Headphone; OCL, Mode 6 12 μV BTL, Output Mode 1 76 dB BTL, Output Mode 3, 7 65 dB BTL, Output Mode 5 63 dB SE, Output Mode 2 78 dB SE, Output Mode 4,7 82 dB SE, Output Mode 6 78 dB OCL, Output Mode 2 84 dB OCL, Output Mode 4, 7 78 dB OCL, Output Mode 6 77 dB VRIPPLE = 200mVPP; f = 217Hz, RL = 8Ω CB = 2.2µF, BTL All audio inputs terminated to GND; output referred VRIPPLE = 200mVPP; f = 217Hz, RL = 32Ω CB = 2.2µF, All audio inputs terminated to GND output referred PSRR Power Supply Rejection Ratio ROUT and LOUT Volume Control Step Size Error ±0.2 Maximum attenuation -54 Maximum gain 18 17.4 18.6 Output Mode 1, 3, 5 96 Digital Volume Control Range HP(SE) Mute Attenuation MONO_IN Input Impedance RIN and LIN Input Impedance Common-Mode Rejection Ratio TWU Crosstalk Wake-Up Time from Shutdown www.national.com dB (min) dB (max) dB 12.5 10 15 kΩ (min) kΩ (max) Maximum attenuation setting 110 90 130 kΩ (min) kΩ (max) Mode 1, BTL, RL = 8Ω f = 217Hz, VCM = 1Vpp, Mode 2, RL = 32Ω XTALK dB (max) dB (min) Maximum gain setting f = 217Hz, VCM = 1Vpp, CMRR dB –56 –52 61 dB 66 Headphone; PO = 12mW f = 1kHz, OCL, Mode 4 –54 Headphone; PO = 12mW f = 1kHz, SE, Mode 4 –72 CB = 2.2μF, OCL 100 ms CB = 2.2μF, SE 135 ms 6 dB dB LM4946 Electrical Characteristics 5.0V (Notes 2, 7) The following specifications apply for VDD = 5.0V, TA = 25°C, all volume controls set to 0dB, unless otherwise specified. Symbol Parameter Conditions LM4946 Typical (Note 4) IDD ISD VOS PO Supply Current Shutdown Current Output Offset Voltage Output Power Total Harmonic Distortion + Noise Units (Limits) Output Modes 2, 4, 6 VIN = 0V; No load SE Headphone 3.8 mA Output Modes 1, 3, 5, 7 VIN = 0V; No Load, SE Headphone 6.6 mA Output Modes 2, 4, 6 VIN = 0V; No load, OCL Headphone 4.6 mA Output Modes 1, 3, 5 VIN = 0V; No Load, OCL Headphone 6 mA Output Modes 7 VIN = 0V; No Load, OCL Headphone 7.4 mA Output Mode 0 0.05 µA VIN = 0V, Mode 7 Mono 12 VIN = 0V, Mode 7 Headphones 3 mV MONOOUT; RL = 8Ω THD+N = 1%; f = 1kHz, BTL, Mode 1 1.3 W ROUT and LOUT; RL = 32Ω THD+N = 1%; f = 1kHz, SE, Mode 4 85 mW 0.05 % 0.012 % Speaker; Mode 1 17 μV Speaker; Mode 3, 7 27 μV Speaker; Mode 5 33 μV Headphone; SE, Mode 2 8 μV Headphone; SE, Mode 4, 7 8 μV Headphone; SE, Mode 6 12 μV Headphone; OCL, Mode 2 8 μV Headphone; OCL, Mode 4, 7 9 μV Headphone; OCL, Mode 6 12 μV BTL, Output Mode 1 69 dB BTL, Output Mode 3, 7 60 dB BTL, Output Mode 5 58 dB MONOOUT, f = 1kHz THD+N Limits (Note 5) POUT = 500mW; RL = 8Ω, BTL, Mode 1 ROUT and LOUT, f = 1kHz POUT = 30mW; RL = 32Ω, SE, Mode 4 A-weighted, inputs terminated to GND, output referred NOUT PSRR Output Noise Power Supply rejection Ratio MONOOUT VRIPPLE = 200mVPP; f = 217Hz, RL = 8Ω CB = 2.2µF, BTL All audio inputs terminated to GND; output referred 7 www.national.com LM4946 Symbol Parameter Conditions LM4946 Typical (Note 4) Limits (Note 5) Units (Limits) VRIPPLE = 200mVPP; f = 217Hz, RL = 32Ω CB = 2.2µF, BTL All audio inputs terminated to GND; output referred PSRR Power Supply Rejection Ratio ROUT and LOUT SE, Output Mode 2 75 dB SE, Output Mode 4,7 75 dB SE, Output Mode 6 72 dB OCL, Output Mode 2 75 dB OCL, Output Mode 4, 7 79 dB OCL, Output Mode 6 72 Maximum attenuation -54 Maximum gain 18 17.4 18.6 dB (min) dB (max) Output Mode 1, 3, 5 96 kΩ (min) kΩ (max) kΩ (min) kΩ (max) Digital Volume Control Range HP(SE) Mute Attenuation MONO_IN Input Impedance RIN and LIN Input Impedance Common-Mode Rejection Ratio Maximum attenuation 12.5 Maximum gain 110 90 130 XTALK Crosstalk TWU Wake-Up Time from Shutdown www.national.com Mode 1, BTL, RL = 8Ω f = 217Hz, VCM = 1Vpp, 0dB gain dB (max) dB (min) dB 10 15 f = 217Hz, VCM = 1Vpp, 0dB gain CMRR dB -56 -52 61 dB Mode 2, RL = 32Ω 66 Headphone; PO = 30mW, OCL, Mode 4 –55 dB Headphone; PO = 30mW, SE, Mode 4 –72 dB CB = 2.2μF, OCL 135 ms CB = 2.2μF, SE 180 ms 8 (Notes 2, 7) The following specifications apply for VDD = 5.0V and 3.3V, TA = 25°C, 2.2V ≤ I2CSPI_VDD ≤ 5.5V, unless otherwise specified. Symbol Parameter Conditions LM4946 Typical Limits (Notes 5, (Note 4) 7) Units (Limits) t1 I2C Clock Period 2.5 µs (min) t2 I2C 100 ns (min) t3 I2C Data Stable Time 0 ns (min) t4 Start Condition Time 100 ns (min) t5 Stop Condition Time 100 ns (min) t6 I2C Data Hold Time 100 ns (min) fSPI Maximum SPI Frequency 1000 kHz (max) tEL SPI ENB High Time 100 ns (min) tDS SPI Data Setup Time 100 ns (min) tES SPI ENB Setup Time 100 ns (min) tDH SPI Data Hold Time 100 ns (min) tEH SPI Enable Hold Time 100 ns (min) tCL SPI Clock Low Time 500 ns (min) tCH SPI Clock High Time 500 ns (min) Data Setup Time VIH I2C/SPI Input Voltage High VIL I2C/SPI Input Voltage Low I2C/SPI micro SMD only 0.7xI2CSPI VDD 0.3xI2CSPI VDD V (min) V (max) (Notes 2, 7) The following specifications apply for VDD = 5.0V and 3.3V, TA = 25°C, 1.7V ≤ I2CSPI_VDD ≤ 2.2V, unless otherwise specified. Symbol Parameter Conditions LM4946 Typical (Note 4) Limits (Notes 5, 7) Units (Limits) t1 I2C Clock Period 2.5 µs (min) t2 I2C 250 ns (min) t3 I2C Data Stable Time 0 ns (min) t4 Start Condition Time 250 ns (min) t5 Stop Condition Time 250 ns (min) t6 I2C 250 ns (min) fSPI Maximum SPI Frequency 250 kHz (max) tEL SPI ENB High Time 250 ns (min) tDS SPI Data Setup Time 250 ns (min) tES SPI ENB Setup Time 250 ns (min) tDH SPI Data Hold Time 250 ns (min) tEH SPI Enable Hold Time 250 ns (min) tCL SPI Clock Low Time 500 ns (min) tCH SPI Clock High Time Data Setup Time Data Hold Time 500 ns (min) V (min) V (max) VIH I2C/SPI Input Voltage High 0.7xI2CSPI VDD VIL I2C/SPI Input Voltage Low 0.25 xI2CSPI VDD 9 www.national.com LM4946 I2C/SPI LLP/micro SMD LM4946 Note 1: See AN-450 "Surface Mounting and their effects on Product Reliability" for other methods of soldering surface mount devices. Note 2: Operating Ratings indicate conditions for which the device is functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see the Electrical Characteristics. The guaranteed specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test conditions. Note 3: Human body model, 100pF discharged through a 1.5kΩ resistor. Note 4: Typical specifications are specified at +25°C and represent the most likely parametric norm. Note 5: Tested limits are guaranteed to National's AOQL (Average Outgoing Quality Level). Note 6: Machine Model ESD test is covered by specification EIAJ IC-121-1981. A 200pF cap is charged to the specified voltage, then discharged directly into the IC with no external series resistor (resistance of discharge path must be under 50Ω). Note 7: All voltages are measured with respect to the ground pin, unless otherwise specified. Note 8: The given θJA for an LM4946SQ mounted on a demonstration board with a 9in2 area of 1oz printed circuit board copper ground plane. Note 9: Datasheet min/max specifications are guaranteed by design, test, or statistical analysis. Note 10: Refer to table on page 9. Note 11: For LM4946 LLP package, revised specification goes into effect starting with date code 79. Existing specification is per datasheet rev 1.0 www.national.com 10 LM4946 Typical Performance Characteristics THD+N vs Frequency VDD = 3.3V, RL = 8Ω, PO = 250mW Mode 1, BTL, BW = 80kHz THD+N vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 4, 7, OCL, BW = 80kHz 20162826 201628e3 THD+N vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 6, OCL, BW = 80kHz THD+N vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 4, 7, SE, BW = 80kHz 20162832 201628e4 THD+N vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 6, SE, BW = 80kHz THD+N vs Frequency VDD = 3.3V, RL = 8Ω, PO = 250mW Mode 5, BTL, BW = 80kHz 20162834 20162827 11 www.national.com LM4946 THD+N vs Frequency VDD = 5V, RL = 8Ω, PO = 500mW Mode 1, BTL, BW = 80kHz THD+N vs Frequency VDD = 5V, RL = 32Ω, PO = 30mW Mode 4, 7, OCL, BW = 80kHz 20162835 20162873 THD+N vs Frequency VDD = 5V, RL = 32Ω, PO = 30mW Mode 4, 7, SE, BW = 80kHz THD+N vs Frequency VDD = 5V, RL = 32Ω, PO = 30mW Mode 6, OCL, BW = 80kHz 20162875 20162874 THD+N vs Frequency VDD = 5V, RL = 32Ω, PO = 30mW Mode 6, SE, BW = 80kHz THD+N vs Frequency VDD = 5V, RL = 8Ω, PO = 500mW Mode 5, BTL 20162876 www.national.com 20162836 12 LM4946 THD+N vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 2, OCL THD+N vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 2, SE, BW = 80kHz 201628m3 201628m4 THD+N vs Frequency VDD = 3.3V, RL = 8Ω, PO = 250mW Mode 3, BTL THD+N vs Output Power VDD = 3.3V, RL = 8Ω, f = 1kHz Mode 1, BTL 201628m5 201628b0 THD+N vs Output Power VDD = 3.3V, RL = 8Ω, f = 1kHz Mode 5, BTL THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 4, 7, OCL 201628b4 201628e6 13 www.national.com LM4946 THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 4, 7, SE THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 6, SE 201628b1 201628e7 THD+N vs Output Power VDD = 5V, RL = 8Ω, f = 1kHz Mode 1, BTL THD+N vs Output Power VDD = 5V, RL = 8Ω, f = 1kHz Mode 5, BTL 201628b2 201628b6 THD+N vs Output Power VDD = 5V, RL = 32Ω, f = 1kHz Mode 4, 7, OCL THD+N vs Output Power VDD = 5V, RL = 32Ω, f = 1kHz Mode 4, 7, SE 201628c0 www.national.com 201628b3 14 LM4946 THD+N vs Output Power VDD = 5V, RL = 32Ω, f = 1kHz Mode 6, SE THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 6, Mono Input, OCL 201628c1 201628m1 THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 6, Stereo Input, OCL THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 2, OCL 201628m6 201628m2 THD+N vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz Mode 2, SE THD+N vs Output Power VDD = 3.3V, RL = 8Ω, f = 1kHz Mode 3, BTL 201628m7 201628m8 15 www.national.com LM4946 PSRR vs Frequency VDD = 3.3V, 0dB Mode 4, 7, OCL PSRR vs Frequency VDD = 3.3V, 0dB Mode 4, 7, SE 20162819 20162820 PSRR vs Frequency VDD = 3.3V, 0dB Mode 6, OCL PSRR vs Frequency VDD = 3.3V, 0dB Mode 6, SE 20162821 20162822 PSRR vs Frequency VDD = 3.3V, 6dB Mode 1, BTL PSRR vs Frequency VDD = 3.3V, RL = 8Ω Mode 3, 7, BTL 20162823 www.national.com 20162877 16 LM4946 PSRR vs Frequency VDD = 3.3V, RL = 32Ω Mode 2, OCL PSRR vs Frequency VDD = 3.3V, RL = 8Ω Mode 2, SE 201628l6 201628l7 PSRR vs Frequency VDD = 3.3V, 6dB Mode 5, BTL PSRR vs Supply Voltage RL = 8Ω, 217Hz Mode 1, BTL 20162825 201628l8 PSRR vs Supply Voltage RL = 32Ω, 217Hz Mode 4, OCL PSRR vs Supply Voltage RL = 32Ω, 217Hz Mode 4, SE 201628l9 201628m0 17 www.national.com LM4946 Power Dissipation vs Output Power VDD = 3.3V, RL = 32Ω f = 1kHz, Mode 2, 4, 6, SE Power Dissipation vs Output Power VDD = 5V, RL = 8Ω f = 1kHz, Mode 1, 3, 5, BTL 201628c5 201628g0 Power Dissipation vs Output Power VDD = 5V, RL = 32Ω f = 1kHz, Mode 2, 4, 6, OCL Power Dissipation vs Output Power VDD = 3.3V, RL = 8Ω, f = 1kHz, Modes 1, 3, 5, BTL 201628c6 201628k5 Power Dissipation vs Output Power VDD = 3.3V, RL = 8Ω, f = 1kHz, Mode 7, OCL Power Dissipation vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz, Modes 2, 4, 6, OCL 201628k6 www.national.com 201628k7 18 LM4946 Power Dissipation vs Output Power VDD = 3.3V, RL = 32Ω, f = 1kHz, Mode 7, SE Crosstalk vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Right-Left, Mode 4, OCL 201628e9 201628k9 Crosstalk vs Frequency VDD = 5V, RL = 32Ω, PO = 30mW Left-Right, Mode 4, OCL Crosstalk vs Frequency VDD = 3.3V, RL = 32Ω, PO = 12mW Mode 4, SE 201628f1 201628f0 Crosstalk vs Frequency VDD = 5V, RL = 32Ω, PO = 30mW Mode 4, SE Supply Current vs Supply Voltage No Load, Mode 7 201628k2 201628f2 19 www.national.com LM4946 Supply Current vs Supply Voltage VDD = 3.3V, No Load, Modes 1, 3, 5 Supply Current vs Supply Voltage No Load, Modes 2, 4, 6 201628k4 201628k3 Output Power vs Supply Voltage RL = 32Ω, f = 1kHz, OCL, Mode 4 Output Power vs Supply Voltage RL = 8Ω, f = 1kHz, Mono, Mode 1 201628n0 www.national.com 201628n1 20 For I2C interface operation, the I2CSPI_SEL pin needs to be tied LOW (and tied high for SPI operation). After the last bit of the address bit is sent, the master releases the data line HIGH (through a pull-up resistor). Then the master sends an acknowledge clock pulse. If the LM4946 has received the address correctly, then it holds the data line LOW during the clock pulse. If the data line is not held LOW during the acknowledge clock pulse, then the master should abort the rest of the data transfer to the LM4946. The 8 bits of data are sent next, most significant bit first. Each data bit should be valid while the clock level is stable HIGH. After the data byte is sent, the master must check for another acknowledge to see if the LM4946 received the data. If the master has more data bytes to send to the LM4946, then the master can repeat the previous two steps until all data bytes have been sent. The "stop" signal ends the transfer. To signal "stop", the data signal goes HIGH while the clock signal is HIGH. The data line should be held HIGH when not in use. I2C PIN DESCRIPTION SDA: This is the serial data input pin. SCL: This is the clock input pin. ID_ENB: This is the address select input pin. I2CSPI_SEL: This is tied LOW for I2C mode. I2C COMPATIBLE INTERFACE The LM4946 uses a serial bus which conforms to the I2C protocol to control the chip's functions with two wires: clock (SCL) and data (SDA). The clock line is uni-directional. The data line is bi-directional (open-collector). The maximum clock frequency specified by the I2C standard is 400kHz. In this discussion, the master is the controlling microcontroller and the slave is the LM4946. The I2C address for the LM4946 is determined using the ID_ENB pin. The LM4946's two possible I2C chip addresses are of the form 111110X10 (binary), where X1 = 0, if ID_ENB is logic LOW; and X1 = 1, if ID_ENB is logic HIGH. If the I2C interface is used to address a number of chips in a system, the LM4946's chip address can be changed to avoid any possible address conflicts. The bus format for the I2C interface is shown in Figure 3. The bus format diagram is broken up into six major sections: The "start" signal is generated by lowering the data signal while the clock signal is HIGH. The start signal will alert all devices attached to the I2C bus to check the incoming address against their own address. The 8-bit chip address is sent next, most significant bit first. The data is latched in on the rising edge of the clock. Each address bit must be stable while the clock level is HIGH. I2C INTERFACE POWER SUPPLY PIN (I2CSPI_VDD) The LM4946's I2C interface is powered up through the I2CSPI_VDD pin. The LM4946's I2C interface operates at a voltage level set by the I2CVDD pin which can be set independent to that of the main power supply pin VDD. This is ideal whenever logic levels for the I2C interface are dictated by a microcontroller or microprocessor that is operating at a lower supply voltage than the main battery of a portable system. 201628f5 FIGURE 3. I2C Bus Format 21 www.national.com LM4946 Application Information LM4946 201628f4 FIGURE 4. I2C Timing Diagram 6. ID_ENB must be LOW at least 100ns (tES ) before the first rising edge of CLK, and ID_ENB has to remain LOW at least 100ns (tEH) after the eighth rising edge of CLK. 7. If ID_ENB remains HIGH for more than 100ns before all 8 bits are transmitted then the data latch will be aborted. 8. If ID_ENB is LOW for more than 8 CLK pulses then only the first 8 data bits will be latched and activated when ID_ENB transitions to logic-high. 9. ID_ENB must remain HIGH for at least 100ns (tEL ) to latch in the data. 10. Coincidental rising or falling edges of CLK and ID_ENB are not allowed. If CLK is to be held HIGH after the data transmission, the falling edge of CLK must occur at least 100ns (tCS) before ID_ENB transitions to LOW for the next set of data. SPI DESCRIPTION (For 2.2V ≤ I2CSPI_VDD ≤ 5.5V, see page 9 for more information). 0. I2CSPI_SEL: This pin is tied HIGH for SPI mode. 1. The data bits are transmitted with the MSB first. 2. The maximum clock rate is 1MHz for the CLK pin. 3. CLK must remain HIGH for at least 500ns (tCH ) after the rising edge of CLK, and CLK must remain LOW for at least 500ns (tCL) after the falling edge of CLK. 4. The serial data bits are sampled at the rising edge of CLK. Any transition on DATA must occur at least 100ns (tDS) before the rising edge of CLK. Also, any transition on DATA must occur at least 100ns (tDH) after the rising edge of CLK and stabilize before the next rising edge of CLK. 5.ID_ENB should be LOW only during serial data transmission. 20162824 FIGURE 5. SPI Timing Diagram www.national.com 22 A7 A6 A5 A4 A3 A2 A1 A0 Chip Address 1 1 1 1 1 0 EC 0 ID_ENB = 0 1 1 1 1 1 0 0 0 ID_ENB = 1 1 1 1 1 1 0 1 0 EC — Externally Controlled TABLE 2. Control Registers D7 D6 D5 D4 D3 D2 D1 D0 Mode Control 0 0 0 0 OCL MC2 MC1 MC0 Programmable 3D 0 1 0 0 N3D3 N3D2 N3D1 N3D0 Mono Volume Control 1 0 0 MVC4 MVC3 MVC2 MVC1 MVC0 Left Volume Control 1 1 0 LVC4 LVC3 LVC2 LVC1 LVC0 Right Volume Control 1 1 1 RVC4 RVC3 RVC2 RVC1 RVC0 1. Bits MVC0 — MVC4 control 32 step volume control for MONO input 2. Bits LVC0 — LVC4 control 32 step volume control for LEFT input 3. Bits RVC0 — RVC4 control 32 step volume control for RIGHT input 4. Bits MC0 — MC2 control 8 distinct modes 5. Bits N3D3, N3D2, N3D1, N3D0 control programmable 3D function 6. N3D0 turns the 3D function ON (N3D0 = 1) or OFF (N3D0 = 0), and N3D1 = 0 provides a “wider” aural effect or N3D1 = 1 a “narrower” aural effect 7. Bit OCL selects between SE with output capacitor (OCL = 0) or SE without output capacitors (OCL = 1). Default is OCL = 0 TABLE 3. Programmable National 3D Audio N3D3 N3D2 Low 0 0 Medium 0 1 High 1 0 Maximum 1 1 TABLE 4. Output Mode Selection Output Mode Number MC2 MC1 MC0 Handsfree Speaker Output Right HP Output Left HP Output 0 0 0 0 SD SD SD 1 0 0 1 GP X P MUTE MUTE 2 0 1 0 SD GP X P/2 GP X P/2 3 0 1 1 2 X (GL X L + GR X R) MUTE MUTE 4 1 0 0 SD GR X R GL X L 5 1 0 1 2 X (GL X L + GR X R) + GP X P MUTE MUTE 6 1 1 0 SD GR X R + GP X P/2 GL X L + GP X P/2 7 1 1 1 2 X (GR X R + GL X L) GR X R GL X L On initial POWER ON, the default mode is 000 P = Phone-in (Mono) R = RIN L = LIN SD = Shutdown MUTE = Mute Mode GP = Phone In (Mono) volume control gain GR = Right stereo volume control gain GL = Left stereo volume control gain 23 www.national.com LM4946 TABLE 1. Chip Address LM4946 TABLE 5. Volume Control Table Volume Step xVC4 xVC3 xVC2 xVC1 xVC0 Gain,dB 1 0 0 0 0 0 –54.00 2 0 0 0 0 1 –46.50 3 0 0 0 1 0 –40.50 4 0 0 0 1 1 –34.50 5 0 0 1 0 0 –30.00 6 0 0 1 0 1 –27.00 7 0 0 1 1 0 –24.00 8 0 0 1 1 1 –21.00 9 0 1 0 0 0 –18.00 10 0 1 0 0 1 –15.00 11 0 1 0 1 0 –13.50 12 0 1 0 1 1 –12.00 13 0 1 1 0 0 –10.50 14 0 1 1 0 1 –9.00 15 0 1 1 1 0 –7.50 16 0 1 1 1 1 –6.00 17 1 0 0 0 0 –4.50 18 1 0 0 0 1 –3.00 19 1 0 0 1 0 –1.50 20 1 0 0 1 1 0.00 21 1 0 1 0 0 1.50 22 1 0 1 0 1 3.00 23 1 0 1 1 0 4.50 24 1 0 1 1 1 6.00 25 1 1 0 0 0 7.50 26 1 1 0 0 1 9.00 27 1 1 0 1 0 10.50 28 1 1 0 1 1 12.00 29 1 1 1 0 0 13.50 30 1 1 1 0 1 15.00 31 1 1 1 1 0 16.50 32 1 1 1 1 1 18.00 1. x = M, L, or R 2. Gain / Attenuation is from input to output www.national.com 24 20162894 FIGURE 7. External RC Network with Optional R3DL and R3DR Resistors (3) f3DR(-3dB) = 1 / 2π * 20kΩ + R3DR) * C3DR (4) ΔAV (change in AC gain) = 1 / 1 + M, where M represents some ratio of the nominal internal resistor, 20kΩ (see example below). 20162895 FIGURE 6. External 3D Effect Capacitors f3DL(-3dB) = 1 / 2π * 20kΩ * C3DL f3DL(-3dB) = 1 / 2π * (20kΩ + R3DL) * C3DL f3dB (3D) = 1 / 2π (1 + M)(20kΩ * C3D) (5) CEquivalent (new) = C3D / 1 + M (6) (1) f3DR(-3dB) = 1 / 2π * 20kΩ * C3DR (2) TABLE 6. Pole Locations ΔAV (dB) f-3dB (3D) (Hz) 0 0 117 0.05 –0.4 0.25 –1.9 68 0.50 68 1.00 R3D (kΩ) (optional) C3D (nF) 0 68 1 68 5 68 10 20 M Value of C3D to keep same pole location (nF) new Pole Location (Hz) 111 64.8 117 94 54.4 117 –3.5 78 45.3 117 –6.0 59 34.0 117 25 www.national.com LM4946 Optional resistors R3DL and R3DR can also be added (Figure 7) to affect the -3dB frequency and 3D magnitude. NATIONAL 3D ENHANCEMENT The LM4946 features a stereo headphone, 3D audio enhancement effect that widens the perceived soundstage from a stereo audio signal. The 3D audio enhancement creates a perceived spatial effect optimized for stereo headphone listening. The LM4946 can be programmed for a “narrow” or “wide” soundstage perception. The narrow soundstage has a more focused approaching sound direction, while the wide soundstage has a spatial, theater-like effect. Within each of these two modes, four discrete levels of 3D effect that can be programmed: low, medium, high, and maximum (Table 2, 3), each level with an ever increasing aural effect, respectively. The difference between each level is 3dB. The external capacitors, shown in Figure 6, are required to enable the 3D effect. The value of the capacitors set the cutoff frequency of the 3D effect, as shown by Equations 1 and 2. Note that the internal 20kΩ resistor is nominal. LM4946 supply and an 8Ω load, the maximum MONO power dissipation is 634mW. PCB LAYOUT AND SUPPLY REGULATION CONSIDERATIONS FOR DRIVING 8Ω LOAD Power dissipated by a load is a function of the voltage swing across the load and the load's impedance. As load impedance decreases, load dissipation becomes increasingly dependent on the interconnect (PCB trace and wire) resistance between the amplifier output pins and the load's connections. Residual trace resistance causes a voltage drop, which results in power dissipated in the trace and not in the load as desired. For example, 0.1Ω trace resistance reduces the output power dissipated by an 8Ω load from 158.3mW to 156.4mW. The problem of decreased load dissipation is exacerbated as load impedance decreases. Therefore, to maintain the highest load dissipation and widest output voltage swing, PCB traces that connect the output pins to a load must be as wide as possible. Poor power supply regulation adversely affects maximum output power. A poorly regulated supply's output voltage decreases with increasing load current. Reduced supply voltage causes decreased headroom, output signal clipping, and reduced output power. Even with tightly regulated supplies, trace resistance creates the same effects as poor supply regulation. Therefore, making the power supply traces as wide as possible helps maintain full output voltage swing. PDMAX-SPKROUT = 4(VDD)2 / (2π2 RL): Bridge Mode The LM4946 also has a pair of single-ended amplifiers driving stereo headphones, ROUT and LOUT. The maximum internal power dissipation for ROUT and LOUT is given by equation (9) and (10). From Equations (9) and (10), assuming a 5V power supply and a 32Ω load, the maximum power dissipation for LOUT and ROUT is 40mW, or 80mW total. (9) PDMAX-ROUT = (VDD)2 / (2π2 RL): Single-ended Mode (10) PDMAX-TOTAL = PDMAX-SPKROUT + PDMAX-LOUT + PDMAX-ROUT (11) The maximum power dissipation point given by Equation (11) must not exceed the power dissipation given by Equation (12): PDMAX = (TJMAX - TA) / θJA (12) The LM4946's TJMAX = 150°C. In the SQ package, the LM4946's θJA is 46°C/W. At any given ambient temperature TA, use Equation (12) to find the maximum internal power dissipation supported by the IC packaging. Rearranging Equation (12) and substituting PDMAX-TOTAL for PDMAX' results in Equation (13). This equation gives the maximum ambient temperature that still allows maximum stereo power dissipation without violating the LM4946's maximum junction temperature. (7) Bridge mode amplifiers are different from single-ended amplifiers that drive loads connected between a single amplifier's output and ground. For a given supply voltage, bridge mode has a distinct advantage over the single-ended configuration: its differential output doubles the voltage swing across the load. Theoretically, this produces four times the output power when compared to a single-ended amplifier under the same conditions. This increase in attainable output power assumes that the amplifier is not current limited and that the output signal is not clipped. Another advantage of the differential bridge output is no net DC voltage across the load. This is accomplished by biasing MONO- and MONO+ outputs at half-supply. This eliminates the coupling capacitor that single supply, single-ended amplifiers require. Eliminating an output coupling capacitor in a typical single-ended configuration forces a single-supply amplifier's half-supply bias voltage across the load. This increases internal IC power dissipation and may permanently damage loads such as speakers. TA = TJMAX - PDMAX-TOTAL θJA (13) For a typical application with a 5V power supply and an 8Ω load, the maximum ambient temperature that allows maximum mono power dissipation without exceeding the maximum junction temperature is approximately 121°C for the SQ package. TJMAX = PDMAX-TOTAL θJA + TA (14) Equation (14) gives the maximum junction temperature TJMAX. If the result violates the LM4946's 150°C, reduce the maximum junction temperature by reducing the power supply voltage or increasing the load resistance. Further allowance should be made for increased ambient temperatures. The above examples assume that a device is a surface mount part operating around the maximum power dissipation point. Since internal power dissipation is a function of output power, higher ambient temperatures are allowed as output power or duty cycle decreases. If the result of Equation (11) is greater than that of Equation (12), then decrease the supply voltage, increase the load impedance, or reduce the ambient temperature. If these measures are insufficient, a heat sink can be added to reduce θJA. The heat sink can be created using additional copper area around the package, with connections to POWER DISSIPATION Power dissipation is a major concern when designing a successful single-ended or bridged amplifier. A direct consequence of the increased power delivered to the load by a bridge amplifier is higher internal power dissipation. The LM4946 has a pair of bridged-tied amplifiers driving a handsfree speaker, MONO. The maximum internal power dissipation operating in the bridge mode is twice that of a single-ended amplifier. From Equation (8), assuming a 5V power www.national.com PDMAX-LOUT = (VDD)2 / (2π2 RL): Single-ended Mode The maximum internal power dissipation of the LM4946 occurs when all three amplifiers pairs are simultaneously on; and is given by Equation (11). BRIDGE CONFIGURATION EXPLANATION The LM4946 drives a load, such as a speaker, connected between outputs, MONO+ and MONO-. This results in both amplifiers producing signals identical in magnitude, but 180° out of phase. Taking advantage of this phase difference, a load is placed between MONO- and MONO+ and driven differentially (commonly referred to as ”bridge mode”). This results in a differential or BTL gain of: AVD = 2(Rf / Ri) = 2 (8) 26 Applications using speakers with this limited frequency response reap little improvement by using large input capacitor. The internal input resistor (Ri), minimum 10kΩ, and the input capacitor (Ci) produce a high pass filter cutoff frequency that is found using Equation (15). POWER SUPPLY BYPASSING As with any power amplifier, proper supply bypassing is critical for low noise performance and high power supply rejection. Applications that employ a 5V regulator typically use a 1µF in parallel with a 0.1µF filter capacitors to stabilize the regulator's output, reduce noise on the supply line, and improve the supply's transient response. However, their presence does not eliminate the need for a local 1.0µF tantalum bypass capacitor and a parallel 0.1µF ceramic capacitor connected between the LM4946's supply pin and ground. Keep the length of leads and traces that connect capacitors between the LM4946's power supply pin and ground as short as possible. As an example when using a speaker with a low frequency limit of 150Hz, Ci, using Equation (15) is 0.106µF. The 0.22µF Ci shown in Figure 1 allows the LM4946 to drive high efficiency, full range speaker whose response extends below 40Hz. fc = 1 / (2πRiCi) (15) Bypass Capacitor Value Selection Besides minimizing the input capacitor size, careful consideration should be paid to value of CB, the capacitor connected to the BYPASS pin. Since CB determines how fast the LM4946 settles to quiescent operation, its value is critical when minimizing turn-on pops. The slower the LM4946's outputs ramp to their quiescent DC voltage (nominally VDD/2), the smaller the turn-on pop. Choosing CB equal to 2.2µF along with a small value of Ci (in the range of 0.1µF to 0.33µF), produces a click-less and pop-less shutdown function. As discussed above, choosing Ci no larger than necessary for the desired bandwidth helps minimize clicks and pops. CB's value should be in the range of 7 to 10 times the value of Ci. This ensures that output transients are eliminated when power is first applied or the LM4946 resumes operation after shutdown. SELECTING EXTERNAL COMPONENTS Input Capacitor Value Selection Amplifying the lowest audio frequencies requires high value input coupling capacitor (Ci in Figures 1 & 2). A high value capacitor can be expensive and may compromise space efficiency in portable designs. In many cases, however, the speakers used in portable systems, whether internal or external, have little ability to reproduce signals below 150Hz. 27 www.national.com LM4946 the ground pin(s), supply pin and amplifier output pins. External, solder attached SMT heatsinks such as the Thermalloy 7106D can also improve power dissipation. When adding a heat sink, the θJA is the sum of θJC, θCS, and θSA. (θJC is the junction-to-case thermal impedance, θCS is the case-to-sink thermal impedance, and θSA is the sink-to-ambient thermal impedance). Refer to the Typical Performance Characteristics curves for power dissipation information at lower output power levels. 201628l2 LM4946 Demo Board Schematic Diagram www.national.com 28 201628n5 LM4946 29 www.national.com LM4946 Revision History www.national.com Rev Date Description 1.0 01/23/06 Initial release. 1.1 03/05/07 Added the TMD25XXX package. 1.2 03/13/07 Edited the 25–pin micro SMD connection diagram. 1.3 04/24/07 Added the I2C/SPI (1.7V 2.2V ) table. 1.4 04/26/07 Added the numerical values for the X1, X2, and X3 in the Physical Dimension section. 1.5 05/02/07 Text edits. Added the TM package. 1.6 05/15/07 Added the TM board schematic and input some text edits. 1.7 05/16/07 More text edits. 1.8 06/06/07 Added Note 11 and more text edits. 30 LM4946 Physical Dimensions inches (millimeters) unless otherwise noted 24 Lead LLP Package Order Number LM4946SQ NS Package Number SQA24A Dimensions are in millimeters X1 = 4 ± 0.1 X2 = 4 ± 0.1 X3 = 0.8 ± 0.1 31 www.national.com LM4946 25 Bump micro SMD Package Order Number LM4946TM NS Package Number TMD25ABA X1 = 2015μm, X2 = 2047μm, X3 = 600μm www.national.com 32 LM4946 Notes 33 www.national.com LM4946 Output Capacitor-Less Audio Subsystem with Programmable National 3D Notes THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION (“NATIONAL”) PRODUCTS. NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE. NO LICENSE, WHETHER EXPRESS, IMPLIED, ARISING BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT NATIONAL’S PRODUCT WARRANTY. EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS, TESTING OF ALL PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED. NATIONAL ASSUMES NO LIABILITY FOR APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN. BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND APPLICATIONS USING NATIONAL COMPONENTS. PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE NATIONAL COMPONENTS, BUYERS SHOULD PROVIDE ADEQUATE DESIGN, TESTING AND OPERATING SAFEGUARDS. EXCEPT AS PROVIDED IN NATIONAL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NATIONAL ASSUMES NO LIABILITY WHATSOEVER, AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE AND/OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness. National Semiconductor and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation. All other brand or product names may be trademarks or registered trademarks of their respective holders. Copyright© 2007 National Semiconductor Corporation For the most current product information visit us at www.national.com National Semiconductor Americas Customer Support Center Email: [email protected] Tel: 1-800-272-9959 www.national.com National Semiconductor Europe Customer Support Center Fax: +49 (0) 180-530-85-86 Email: [email protected] Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +49 (0) 870 24 0 2171 Français Tel: +33 (0) 1 41 91 8790 National Semiconductor Asia Pacific Customer Support Center Email: [email protected] National Semiconductor Japan Customer Support Center Fax: 81-3-5639-7507 Email: [email protected] Tel: 81-3-5639-7560