Data Sheet Digital Input Stereo, 2 W, Class-D Audio Power Amplifier SSM2518 FEATURES GENERAL DESCRIPTION Filterless, digital input Class-D amplifier Serial digital audio interface supports common formats I2S, left justified, right justified, TDM1-16, and PCM 2 channels × 2 W into 4 Ω and 2 channels × 1.4 W into 8 Ω with 1% THD+N, when using a 5 V supply I2C control interface or standalone operation 91% efficiency at full scale into an 8 Ω load 97 dB signal-to-noise ratio (SNR), A-weighted 80 dB power supply rejection ratio (PSRR) at 217 Hz Digital volume control: −71.25 dB to +24 dB in 0.375 dB steps Supports a wide range of sample rates from 8 kHz to 96 kHz Automatic sample rate detection Can operate using 64 × fS BCLK as the MCLK source 2.5 V to 5.5 V speaker supply voltage (PVDD) 1.62 V to 3.6 V digital supply voltage (DVDD) Pop-and-click suppression Short-circuit and thermal protection with programmable autorecovery Smart power-down when no input signal is detected Power-on reset Low power modes for performance/power trade-offs User selectable ultralow EMI emission mode Programmable dynamic range compression (DRC) with noise gate, expander, compressor, and limiter Available in two packages 16-bump, 2.2 mm × 2.2 mm, 0.5 mm pitch WLCSP 20-lead, 4.0 mm × 4.0 mm LFCSP The SSM2518 is a digital input, Class-D power amplifier that combines a digital-to-analog converter (DAC) and a sigma-delta (Σ-Δ) Class-D modulator. This unique architecture enables extremely low real-world power consumption from digital audio sources with excellent audio performance. The SSM2518 is ideal for power sensitive applications, such as mobile phones and portable media players, where system noise can corrupt small analog signals such as those sent to an analog input audio amplifier. APPLICATIONS Mobile phones Portable media players Laptop PCs Wireless speakers Portable gaming Small LCD televisions Navigation systems Using the SSM2518, audio data can be transmitted to the amplifier over a standard digital audio serial interface, thereby significantly reducing the effect of noise sources such as GSM interference or other digital signals on the transmitted audio. The closed-loop digital input design retains the benefits of an all digital amplifier, yet enables very good PSRR and audio performance. The three level, Σ-Δ Class-D modulator is designed to provide the least amount of EMI interference, the lowest quiescent power dissipation, and the highest audio efficiency without sacrificing audio quality. Input is provided via a serial audio interface, programmable to accept all common audio formats including I2S and TDM. Control of the IC is provided via an I2C control interface. The SSM2518 can accept a variety of input MCLK frequencies and can use BCLK as the clock source in some configurations. Additional features include a soft digital volume control, deemphasis, and a programmable digital dynamic range compressor. The architecture of the SSM2518 provides a solution that offers lower power and higher performance than existing DAC plus Class-D solutions. Its digital interface also offers a better system solution for other products whose sole audio source is digital, such as wireless speakers, laptop PCs, portable digital televisions, and navigation systems. Rev. A Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 ©2011 Analog Devices, Inc. All rights reserved. SSM2518 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1 Digital Audio Formats ................................................................... 20 Applications....................................................................................... 1 Stereo Mode ................................................................................ 20 General Description ......................................................................... 1 TDM, 50% Duty Cycle Mode ................................................... 20 Revision History ............................................................................... 3 TDM, Pulse Mode ...................................................................... 20 Functional Block Diagram .............................................................. 4 PCM, Multichannel Mode ........................................................ 21 Specifications..................................................................................... 5 PCM Mono Mode ...................................................................... 21 2 Performance Specifications......................................................... 5 I C Configuration Interface .......................................................... 22 Power Supply Requirements ....................................................... 6 Overview ..................................................................................... 22 Digital Input/Output.................................................................... 6 Register Summary (REG_MAP) .................................................. 25 Digital Interpolation Filter .......................................................... 6 Register (REG_MAP) Details ....................................................... 26 Digital Timing............................................................................... 7 Absolute Maximum Ratings ....................................................... 8 Software Reset and Master Software Power-down Control Register ........................................................................................ 26 Thermal Resistance ...................................................................... 8 Edge Speed and Clocking Control Register............................ 27 ESD Caution.................................................................................. 8 Serial Audio Interface and Sample Rate Control Register.... 28 Pin Configuration and Function Descriptions............................. 9 Serial Audio Interface Control Register .................................. 29 Typical Performance Characteristics ........................................... 11 Channel Mapping Control Register......................................... 30 Theory of Operation ...................................................................... 14 Left Channel Volume Control Register................................... 31 Power Supplies ............................................................................ 14 Right Channel Volume Control Register ................................ 32 Power-Down Modes .................................................................. 14 Volume and Mute Control Register......................................... 33 Power-On Reset/Voltage Supervisor........................................ 14 Fault Control 1 Register............................................................. 34 Master and Bit Clock.................................................................. 14 Power and Fault Control Register ............................................ 35 Typical Application Circuit ........................................................... 16 DRC Control 1 Register............................................................. 36 Digital Audio Interface .................................................................. 17 DRC Control 2 Register............................................................. 37 Channel Mapping ....................................................................... 17 DRC Control 3 Register............................................................. 38 Sample Rate Detection............................................................... 17 DRC Control 4 Register............................................................. 40 Standalone Mode........................................................................ 17 DRC Control 5 Register............................................................. 41 Low Power Modes ...................................................................... 17 DRC Control 6 Register............................................................. 42 Dynamic Range Control............................................................ 17 DRC Control 7 Register............................................................. 44 Mute Options .............................................................................. 18 DRC Control 8 Register............................................................. 45 Volume Control .......................................................................... 18 DRC Control 9 Register............................................................. 46 De-emphasis Filter ..................................................................... 18 Packaging and Ordering Information ......................................... 47 Analog Gain ................................................................................ 18 Outline Dimensions................................................................... 47 Fault Detection and Recovery................................................... 19 Ordering Guide .......................................................................... 48 Rev. A | Page 2 of 48 Data Sheet SSM2518 REVISION HISTORY 12/11—Rev. 0 to Rev. A Added LFCSP...................................................................... Universal Changes to Features Section ............................................................1 Changes to Table 1, Supply Current Parameter ............................5 Changes to Table 3, Input Voltage Parameter................................6 Changes to Table 7 ............................................................................8 Added Figure 5 and Table 9, Renumbered Sequentially ............10 Changes to Power-Down Modes Section.....................................14 Changes to Master and Bit Clock Section....................................14 Changes to Sample Rate Detection Section.................................17 10/11—Revision 0: Initial Version Rev. A | Page 3 of 48 SSM2518 Data Sheet FUNCTIONAL BLOCK DIAGRAM DVDD SA_MOD PVDD GND POWER-ON RESET BCLK I2S VOLUME CONTROL DRC DAC Σ-∆ CLASS-D MODULATOR SDATA SD CLOCKING POWER CONTROL I2C MCLK SDA SCL ADDR Figure 1. Rev. A | Page 4 of 48 FULL BRIDGE POWER STAGE OUTL+ FULL BRIDGE POWER STAGE OUTR+ OUTL– OUTR– 10242-001 LRCLK Data Sheet SSM2518 SPECIFICATIONS All specifications at PVDD = 5.0 V, DVDD = 1.8 V, fS = 48 kHz, MCLK = 128 × fS, TA = 25°C, RL = 8 Ω + 15 μH, LP_MODE = 0, volume control = 0 dB, unless otherwise noted. PERFORMANCE SPECIFICATIONS Table 1. Parameter DEVICE CHARACTERISTICS Symbol Test Conditions/Comments PO f = 1 kHz, BW = 20 kHz RL = 4 Ω, THD = 1%, PVDD = 5.0 V RL = 4 Ω, THD = 10%, PVDD = 5.0 V RL = 8 Ω, THD = 1%, PVDD = 5.0 V RL = 8 Ω, THD = 10%, PVDD = 5.0 V RL = 4 Ω, THD = 1%, PVDD = 3.6 V RL = 4 Ω, THD = 10%, PVDD = 3.6 V RL = 8 Ω, THD = 1%, PVDD = 3.6 V RL = 8 Ω, THD = 10%, PVDD = 3.6 V RL = 4 Ω, THD = 1%, PVDD = 2.5 V RL = 4 Ω, THD = 10%, PVDD = 2.5 V RL = 8 Ω, THD = 1%, PVDD = 2.5 V RL = 8 Ω, THD = 10%, PVDD = 2.5 V PO = 1.4 W, 8 Ω, PVDD = 5.0 V, normal operation PO = 1.4 W, 8 Ω, PVDD = 5.0 V, ultralow EMI operation PO = 0.5 W into 8 Ω each channel, f = 1 kHz, PVDD = 5 V PO = 0.25 W into 8 Ω each channel, f = 1 kHz, PVDD = 3.6 V PO = 1 W, f = 1 kHz, PVDD = 5 V Output Power Efficiency η Total Harmonic Distortion Plus Noise THD + N Channel Separation Average Switching Frequency Differential Output Offset Power Supply Rejection Ratio XTALK fSW VOOS PSRRDC PSRRGSM PSRRGSM IPVDD Supply Current PVDD DVDD Output Noise Voltage Signal-to-Noise Ratio Mute Attenuation IDVDD en SNR PVDD = 2.5 V to 5.0 V VRIPPLE = 100 mV rms at 217 Hz, dither input VRIPPLE = 100 mV rms at 217 Hz, no input Dither input, no load, PVDD = 5.0 V Dither input, no load, PVDD = 3.6 V Dither input, no load, PVDD = 2.5 V Software power-down, SD = 1.8 V, SPWDN = 1, PVDD = 3.6 V Hardware power-down, SD = 0 V, PVDD = 3.6 V Dither input, no load, DVDD = 3.3 V Dither input, no load, DVDD = 1.8 V Dither input, no load, DVDD = 1.8 V, fS = 8 kHz Software power-down, SD = 1.8 V, SPWDN = 1, DVDD = 1.8 V Hardware power-down, SD = 0 V, DVDD = 1.8 V PVDD = 5 V, f = 20 Hz to 20 kHz, dither input, A-weighted PVDD = 3.6 V, f = 20 Hz to 20 kHz, dither input, A-weighted A-weighted, referred to 0 dBFS, PVDD = 3.6 V Soft mute on Rev. A | Page 5 of 48 Min 70 100 Typ Max Unit 2 2.5 1.42 1.8 1.3 1.7 0.75 0.94 0.4 0.45 0.275 0.35 91 86 0.04 0.03 108 280 2.0 80 80 100 4.7 W W W W W W W W W W W W % % % % dB kHz mV dB dB dB mA 4.4 3.8 4 100 3.0 1.5 0.25 2.5 100 50 40 97 mA mA μA nA mA mA mA μA nA μV μV dB dB SSM2518 Data Sheet POWER SUPPLY REQUIREMENTS Table 2. Parameter PVDD DVDD Min 2.5 1.62 Typ 3.6 1.8 Max 5.5 3.6 Unit V V DIGITAL INPUT/OUTPUT Table 3. Parameter INPUT VOLTAGE High (VIH) Low (VIL) Min Typ 0.7 × DVDD 1.35 −0.3 −0.3 INPUT LEAKAGE CURRENT High (IIH) Low (IIL) MCLK INPUT LEAKAGE CURRENT High (IIH) Low (IIL) INPUT CAPACITANCE Max Unit Test Conditions/Comments 3.6 5.5 +0.3 × DVDD +0.35 V V V V ADDR, MCLK, BCLK, LRCLK, SDATA, SAMOD SD, SDA, SCL ADDR, MCLK, BCLK, LRCLK, SDATA, SAMOD SD, SDA, SCL 1 1 μA μA Excluding MCLK Excluding MCLK and bidirectional pin 3 3 5 μA μA pF DIGITAL INTERPOLATION FILTER Table 4. Parameter PASS BAND −3 dB Ripple TRANSITION BAND STOP BAND Attenuation GROUP DELAY 1 Factor Min 0.4535 × fS Typ 1 Max 22 ±0.01 0.5 × fS 0.5465 × fS 24 26 70 25/fS Typical value given for 48 kHz sample rate. Rev. A | Page 6 of 48 521 Unit kHz dB kHz kHz dB μs Data Sheet SSM2518 DIGITAL TIMING All timing specifications are given for the default setting (I2S mode) of the serial input port. Table 5. Parameter MASTER CLOCK tMP tMP SERIAL PORT tBIL tBIH tLIS tLIH tSIS tSIH I2C PORT fSCL tSCLH tSCLL tSCS tSCH tDS tSCR tSCF tSDR tSDF tBFT Min Limit Max 74 148 136 271 40 40 10 10 10 10 400 0.6 1.3 0.6 0.6 100 300 300 300 300 0.6 Unit Description ns ns MCLK period, 256 × fS mode (MCS = b0010) MCLK period, 128 × fS mode (MCS = b0001) ns ns ns ns ns ns BCLK low pulse width BCLK high pulse width Setup time from LRCLK or SDATA edge to BCLK rising edge Hold time from BCLK rising edge to LRCLK or SDATA edge SDATA setup time to BCLK rising SDATA hold time from BCLK rising kHz μs μs μs μs ns ns ns ns ns μs SCL frequency SCL high SCL low Setup time; relevant for repeated start condition Hold time; after this period, the first clock is generated Data setup time SCL rise time SCL fall time SDA rise time SDA fall time Bus-free time (time between stop and start) Digital Timing Diagrams tBIH tBP BCLK tBIL tLIH tLIS LRCLK SDATA LEFT-JUSTIFIED MODE tSIS MSB MSB – 1 tSIH tSIS SDATA I2C-JUSTIFIED MODE MSB tSIH tSIS tSIS MSB LSB tSIH 10242-002 SDATA RIGHT-JUSTIFIED MODE tSIH Figure 2. Serial Input Port Timing tDS tSCH tSCH SDA tSCR tSCLH tSCS START CONDITION tSCLL tSCF tBFT STOP CONDITION Figure 3. I2C Port Timing Rev. A | Page 7 of 48 10242-003 SCL SSM2518 Data Sheet ABSOLUTE MAXIMUM RATINGS THERMAL RESISTANCE Absolute maximum ratings apply at 25°C, unless otherwise noted. θJA is specified for the worst-case conditions, that is, a device soldered in a circuit board for surface-mount packages. Table 6. Parameter PVDD Supply Voltage DVDD Supply Voltage Input Voltage (ADDR, MCLK, BCLK, LRCLK, SDATA, SAMOD Pins) Input Voltage (SD, SDA, and SCL Pins) ESD Susceptibility Storage Temperature Range Operating Temperature Range Junction Temperature Range Lead Temperature (Soldering, 60 sec) Table 7. Thermal Resistance Rating −0.3 V to +6 V −0.3 V to +3.6 V −0.3 V to +3.6 V Package Type 16-ball, 2 mm × 2 mm WLCSP 20-lead, 4.0 mm × 4.0 mm LFCSP −0.3 V to +6 V 4 kV −65°C to +150°C −40°C to +85°C −65°C to +165°C 300°C ESD CAUTION Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Rev. A | Page 8 of 48 θJA 56 54 Unit °C/W °C/W Data Sheet SSM2518 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS BALL A1 INDICATOR 2 1 3 4 OUTR+ GND PVDD OUTL+ OUTR– SD ADDR OUTL– A B DVDD SAMOD SCL SDA C SDATA LRCLK BCLK MCLK TOP VIEW (BALL SIDE DOWN) Not to Scale 10242-009 D Figure 4. WLCSP Pin Configuration Table 8. Pin Function Descriptions, WLCSP Pin No. A1 B1 A4 B4 A3 A2 C1 B2 C3 C4 D4 D2 D3 D1 C2 B3 1 Mnemonic OUTR+ OUTR− OUTL+ OUTL− PVDD GND DVDD SD SCL SDA MCLK LRCLK BCLK SDATA SAMOD ADDR Function 1 O O O O P P P I I I/O I I I I I I Description Right Channel Output Positive. Right Channel Output Negative. Left Channel Output Positive. Left Channel Output Negative. 2.5 V to 5.5 V Amplifier Power. Amplifier Ground. 1.62 V to 3.6 V Digital and Analog Power. Power-Down Control, Active Low. I2C Clock. I2C Data. Serial Audio Interface Master Clock. I2S Word Clock. I2S Bit Clock. I2S Serial Data. Standalone/I2C Mode Select. High = standalone mode, low = I2C mode. I2C Address Select. I is input, O is output, I/O is input/output, and P is power. Rev. A | Page 9 of 48 Data Sheet 20 19 18 17 16 PVDD GND GND GND PVDD SSM2518 PIN 1 INDICATOR SSM2518 TOP VIEW (Not to Scale) 15 OUTR+ 14 OUTR– 13 SD 12 DVDD 11 SAMOD 10242-110 1 2 3 4 5 MCLK 6 BCLK 7 GND 8 LRCLK 9 SDATA 10 OUTL+ OUTL– ADDR SDA SCL NOTES 1. CONNECT THE EXPOSED PAD TO GND. Figure 5. LFCSP Pin Configuration Table 9. Pin Function Descriptions, LFCSP Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 Mnemonic OUTL+ OUTL− ADDR SDA SCL MCLK BCLK GND LRCLK SDATA SAMOD DVDD SD OUTR− OUTR+ PVDD GND GND GND PVDD Function1 O O I I/O I I I P I I I P I O O P P P P P Description Left Channel Output Positive. Left Channel Output Negative. I2C Address Select. I2C Data. I2C Clock. Serial Audio Interface Master Clock. I2S Bit Clock. Amplifier Ground. I2S Word Clock. I2S Serial Data. Standalone/I2C Mode Select. High = standalone mode, low = I2C mode. 1.62 V to 3.6 V Digital and Analog Power. Power-Down Control, Active Low. Right Channel Output Negative. Right Channel Output Positive. 2.5 V to 5.5 V Amplifier Power. Amplifier Ground. Amplifier Ground. Amplifier Ground. 2.5 V to 5.5 V Amplifier Power. I is input, O is output, I/O is input/output, and P is power. Rev. A | Page 10 of 48 Data Sheet SSM2518 TYPICAL PERFORMANCE CHARACTERISTICS 100 GAIN = 5V MCLK = 256 × fS RL = 8Ω, 33µH 100 2.5V 3.6V 5.0V THD + N (%) 1 0.01 0.1 1 10 OUTPUT POWER (W) 0.01 0.001 10242-011 0.01 0.001 0.01 0.1 1 10 OUTPUT POWER (W) Figure 6. THD + N vs. Output Power into 8 Ω, 5.0 V Gain Setting Figure 9. THD + N vs. Output Power into 8 Ω, 3.6 V Gain Setting 100 100 GAIN = 5V MCLK = 256 × fS RL = 4Ω, 15µH 2.5V 3.6V 5.0V 10 GAIN = 3.6V MCLK = 256 × fS RL = 4Ω, 15µH 10242-014 0.1 2.5V 3.6V 5.0V THD + N (%) 10 1 0.1 1 0.01 0.1 1 10 OUTPUT POWER (W) 0.01 0.001 10242-012 0.01 0.001 0.01 0.1 1 10 OUTPUT POWER (W) Figure 7. THD + N vs. Output Power into 4 Ω, 5.0 V Gain Setting Figure 10. THD + N vs. Output Power into 4 Ω, 3.6 V Gain Setting 100 100 PVDD = 5V GAIN = 5V MCLK = 256 × fS RL = 8Ω, 33µH 0.25W 0.5W 1.0W 10 PVDD = 5V GAIN = 5V MCLK = 256 × fS RL = 4Ω, 15µH 10242-015 0.1 0.25W 0.5W 1.0W THD + N (%) 10 1 0.1 1 0.01 10 100 1k 10k FREQUENCY (Hz) 100k 10242-013 0.1 Figure 8. THD + N vs. Frequency, PVDD = 5 V, RL = 8 Ω 0.01 10 100 1k 10k FREQUENCY (Hz) Figure 11. THD + N vs. Frequency, PVDD = 5 V, RL = 4 Ω Rev. A | Page 11 of 48 100k 10242-016 THD + N (%) 1 0.1 THD + N (%) 2.5V 3.6V 5.0V 10 10 THD + N (%) GAIN = 3.6V MCLK = 256 × fS RL = 8Ω, 33µH SSM2518 100 Data Sheet 100 PVDD = 3.6V GAIN = 3.6V MCLK = 256 × fS RL = 8Ω, 33µH THD + N (%) 1 100 1k 10k 0.01 10 10242-017 0.01 10 100k FREQUENCY (Hz) PVDD = 2.5V GAIN = 3.6V MCLK = 256 × fS RL = 8Ω, 33µH 1k 10k 100k FREQUENCY (Hz) Figure 12. THD + N vs. Frequency, PVDD = 3.6 V, RL = 8 Ω 100 100 10242-020 0.1 0.1 Figure 15. THD + N vs. Frequency, PVDD = 3.6 V, RL = 4 Ω 100 0.05W 0.10W 0.20W PVDD = 2.5V GAIN = 3.6V MCLK = 256 × fS RL = 4Ω, 15µH 0.05W 0.10W 0.20W 10 THD + N (%) 10 1 1 100 1k 10k 0.01 10 10242-018 0.01 10 100k FREQUENCY (Hz) 4.0 DAC_LPM = 1 AMP_LPM = 1 DVDD = 1.8V DITHER INPUT QUIESCENT CURRENT (mA) 3.5 7 6 5 NO LOAD 8Ω + 33µH 4Ω + 33µH 3.5 4.0 4.5 5.0 5.5 6.0 SUPPLY VOLTAGE (V) 100k MCLK = 256 × fS DAC_LPM = 1, AMP_LPM = 1 3.0 2.5 2.0 1.5 1.0 8kHz 256 × fS 24kHz 256 × fS 48kHz 256 × fS 0.5 0 1.6 10242-019 3.0 10k Figure 16. THD + N vs. Frequency, PVDD = 2.5 V, RL = 4 Ω 9 4 2.5 1k FREQUENCY (Hz) Figure 13. THD + N vs. Frequency, PVDD = 2.5 V, RL = 8 Ω 8 100 10242-021 0.1 0.1 2.0 2.4 2.8 3.2 3.6 SUPPLY VOLTAGE (V) Figure 14. Quiescent Current (Power Stage) vs. Supply Voltage Figure 17. Quiescent Current (Digital Core) vs. Supply Voltage Rev. A | Page 12 of 48 10242-022 THD + N (%) 1 THD + N (%) 0.125W 0.25W 0.5W 10 10 QUIESCENT CURRENT (mA) PVDD = 3.6V GAIN = 3.6V MCLK = 256 × fS RL = 4Ω, 15µH 0.125W 0.25W 0.5W Data Sheet 2.5 SSM2518 1.4 GAIN = 5V RL = 4Ω, 15µH 1kHz GAIN = 5V RL = 8Ω, 33µH 1.2 1kHz 1.0 OUTPUT POWER ( W) OUTPUT POWER (W) 2.0 1.5 1.0 0.8 0.6 0.4 0.5 0.2 3.0 3.5 4.0 4.5 5.0 SUPPLY VOLTAGE (V) 0 2.5 10242-024 0 2.5 4.0 4.5 5.0 5V 3.6V 2.5V 90 80 70 70 EFFICIENCY (%) 60 50 40 60 50 40 30 30 20 20 10 10 RL = 4Ω, 15µΗ 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 COMBINED OUTPUT POWER, BOTH CHANNELS (W) 0 10242-028 0 RL = 8Ω + 33µΗ 0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 COMBINED OUTPUT POWER, BOTH CHANNELS (W) 10175-029 EFFICIENCY (%) 100 80 0 3.5 Figure 21. Maximum Output Power vs. Supply Voltage, RL = 8 Ω 5V 3.6V 2.5V 90 3.0 SUPPLY VOLTAGE (V) Figure 18. Maximum Output Power vs. Supply Voltage, RL = 4 Ω 100 1% 5% 10% 10175-026 1% 5% 10% Figure 22. Efficiency vs. Output Power into 8 Ω Figure 19. Efficiency vs. Output Power into 4 Ω 0 0 PVDD = 5V RL = 8Ω, 33μH P O = 100mW –20 –10 –20 PSRR (dB) –30 –60 –80 LEFT TO RIGHT –40 –50 –60 PVDD = 2.5V PVDD = 5V –70 –100 –80 –140 20 PVDD = 3.6V –90 RIGHT TO LEFT 200 2k FREQUENCY (Hz) 20k –100 10 100 1k 10k FREQUENCY (Hz) Figure 23. PSRR vs. Frequency Figure 20. Crosstalk vs. Frequency Rev. A | Page 13 of 48 100k 10242-030 –120 10242-027 CROSSTALK (dB) –40 SSM2518 Data Sheet THEORY OF OPERATION The SSM2518 is fully integrated 2-channel digital input, Class-D output audio amplifier. The SSM2518 receives digital audio input and produces the PDM differential switching outputs using the internal power stage. The part has built in protection for overtemperature as well as overcurrent conditions. The SSM2518 also has built in soft turn on and soft turn off for pop-and-click suppression. The part has programmable register control via the I2C port. POWER SUPPLIES The SSM2518 requires two power supplies: PVDD and DVDD. Descriptions of each of these supplies follow. PVDD monitors the incoming digital audio signal. If this is zero for 1024 consecutive samples, regardless of sample rate, it puts the IC in the smart power-down state wherein all blocks, except the I2S and I2C ports, are placed in a low power state. Once a single nonzero input is received on the I2S interface, the SSM2518 leaves this state and resumes normal operation. POWER-ON RESET/VOLTAGE SUPERVISOR The SSM2518 includes an internal power-on reset and voltage supervisor circuit. This circuit provides an internal reset to all circuitry whenever PVDD or DVDD is substantially below the nominal operating threshold. This circuit simplifies supply sequencing during initial power-on. The PVDD pin supplies power to the full bridge power stage of a MOSFET and its associated drive, control, and protection circuitry. PVDD can operate from 2.5 V to 5.5 V and must be present to obtain audio output. Lowering the supply PVDD results in lower output power and, correspondingly, lower power consumption but does not degrade audio performance. The circuit also monitors the power supplies to the SSM2518. If the supply voltages fall below the nominal operating threshold, this circuit stops the output and issues a reset. This ensures that no damage occurs due to low voltage operation and that no pops can occur under nearly any power removal condition. DVDD The SSM2518 requires an internal master clock to operate. This clock must run at a frequency between 2.048 MHz and 6.144 MHz, depending on the input sample rate, and it must be fully synchronous with the incoming audio data. This clock signal can be derived from either the MCLK or BCLK pin, depending on the configuration used. The DVDD pin provides power to the digital logic circuitry and determines the input trip points. DVDD can operate from 1.62 V to 3.6 V and must be present to obtain audio output. Lowering the supply voltage of DVDD results in lower power consumption but does not affect audio performance. POWER-DOWN MODES The SSM2518 offers a hardware shutdown pin, SD, which can be used to set the IC to its lowest power state, with all blocks disabled. This hardware shutdown mode is enabled when the SD pin is pulled low. When the hardware shutdown is removed, the IC begins in software power-down mode, where all blocks except for the I2C interface are disabled. To fully power up the amplifier, clear S_RST (Bit 7 of Register 0x00). In addition to the software power-down, the software master mute is enabled at the initial state of the amplifier; therefore, no audio is output until Bit 0 of Register 0x07 is cleared. The left and right channels can be independently shut down by setting setting L_PWDN and R_PWDN (Bit 1 and Bit 2, respectively, in Register 0x09). Disabling a channel shuts down the channel specific digital processing, DAC, Class-D modulator, and power stage. The SSM2518 also contains a smart power-down feature, which is enabled by default. This feature can be disabled by clearing APWDN_EN (Bit 0 in Register 0x09). When active, this feature MASTER AND BIT CLOCK If the MCLK pin is used, the internal clock is derived by either dividing, passing through, or doubling the external clock signal as required. The clock supplied to the MCLK pin can range from 2.048 MHz to 38.864 MHz. In this case, the external MCLK pin signal can run at various multiples of the audio sample rate (fS). The relationship between the MCLK rate and the audio sample rate is determined by the master clock select (MCS) register setting, Bits[4:1] in Register 0x00. Table 11 provides a summary of the available options. In addition, a bit clock must run at the same rate as the incoming audio data on the SDATA pin. This clock can be supplied to the BCLK pin, or it can be generated internally by dividing MCLK. In this case, when BCLK_GEN (Bit 7 of Register 0x03) is set, the logic level of the BCLK pin is used to select the audio interface BCLK rate. Tie the BCLK pin to DVDD for 16 clock cycles per channel; tie it to ground for 32 cycles per channel. If the system bit clock is in the range of acceptable internal master clock frequencies (between 2.048 MHz and 6.144 MHz), then it can serve as both master clock and bit clock. Setting NO_BCLK (Bit 5 of Register 0x00) routes the signal on the Rev. A | Page 14 of 48 Data Sheet SSM2518 MCLK pin to serve as the internal bit clock as well. In this case, tie the BCLK pin to ground. Once the SSM2518 has entered its power-down state, it is possible to gate the clocks to conserve system power. However, a valid master clock must be present for the audio amplifier to operate. It is best to use a low jitter clock (less than 1 ns peakto-peak) to ensure the specified audio performance. Rev. A | Page 15 of 48 SSM2518 Data Sheet TYPICAL APPLICATION CIRCUIT DVDD 1.62V TO 3.6V AUDIO PROCESSOR DVDD BCLK 4.7µF PVDD 100nF 100nF PVDD 2.5V TO 5.5V * FB2 MCLK OUTL– 1.35V TO 5.5V C2 470pF FB3 SSM2518 OUTR+ C3 470pF 2.2kΩ SCL SYSTEM MICROCONTROLLER C1 470pF LRCLK SDATA 2.2kΩ FB1 OUTL+ FB4 OUTR– SDA C4 470pF SD SAMOD ADDR *OPTIONAL FOR APPLICATIONS WITH >20cm SPEAKER CABLE. Figure 24. Typical Application Circuit Using I2C Configuration Rev. A | Page 16 of 48 10242-039 GND Data Sheet SSM2518 DIGITAL AUDIO INTERFACE The SSM2518 operates as a slave on the serial audio interface. It is capable of receiving stereo I2S-style, left justified, or right justified data. Mono, stereo, and multichannel PCM/TDM interface formats are available. The data format and interface style are selected by adjusting the SDATA_FMT and SAI fields in Register 0x02. Note that, when operating in right justified mode, the proper data width must be chosen. The function of the LRCLK pin varies depending on the data format. See Figure 26 through Figure 30 for the expected audio formats for various configurations. CHANNEL MAPPING Stereo audio formats and TDM formats with 2, 4, 8, or 16 channels are available. In these modes, the amplifier left and right audio can be independently chosen from any of the available channels using the two fields in Register 0x04. For most digital interface formats, many of these options are not present. For example, in stereo modes, only Channel 0 and Channel 1 are valid, and in four-slot TDM mode, only Channel 0, Channel 1, Channel 2, and Channel 3 are valid. LOW POWER MODES Two low power modes are available. If DAC_LPM (Bit 3 of Register 0x09) is set, the digital-to-analog converter (DAC) runs at half speed, reducing the quiescent current. This half speed mode is also active when the MCS setting (Bits[4:1] of Register 0x00) is set to its lowest value (MCS = 0000) because the slowest acceptable MCLK rates can only support half speed DAC operation. If AMP_LPM (Bit 4 of Register 0x09) is set, the Σ-Δ modulator runs in a special mode that offers lower quiescent current when the output power is small, at the expense of slightly degraded audio performance. DYNAMIC RANGE CONTROL SAMPLE RATE DETECTION The dynamic range control, or DRC, can be used to reduce the dynamic range of the audio signal. A common DRC scheme involves applying a gain reduction to large output signals, along with a net increase in gain for moderate to small signals. The qualitative result is a louder speaker output for moderate output levels without the undesired effects of amplifier clipping or speaker overdrive at high levels. The SSM2518 can be configured to automatically detect the sample rate, or the sample rate can be entered manually into the FS field (Bit 1 and Bit 0 of Register 0x02). The choice of automatic or manual sample rate detection is made by setting the ASR bit (Bit 0 of Register 0x01). Sample rate detection functions properly only when MCS (Bits[4:1] of Register 0x00) is set correctly. To calculate the gain adjustment, an rms detector gives the average level of the input signal, based on the averaging time set by RMS_TAV (Bits[3:0] in Register 0x12). Based on this time averaged level, the overall gain is adjusted so that the input/ output characteristic matches the specified compression curve. This curve can be represented by a log-to-log graph with five distinct regions, as shown in Figure 25. NT STANDALONE MODE Pin SCL Standalone Function FORMAT SDA MCLK_SEL SD SD ADDR GAIN Pin Options Low: I2S High: left justified Low: MCLK = 256 × fS High: MCLK = 384 × fS Low: shutdown/mute High: normal operation Low: +12 dB digital gain High: 0 dB digital gain In standalone mode, the volume control, dynamic range control, and EMI control features are disabled. Automatic sample rate detection and smart power-down are enabled. All other settings are set to their default values. LT SMAX CT ET WITHOUT DRC WITH DRC SMIN WITHOUT DRC WITH DRC INPUT 10242-032 Table 10. Standalone Mode Pin Functions CT OUTPUT When the SAMOD pin is pulled high, the SSM2518 can operate in several common stereo formats without any I2C control. Some details of the serial audio interface can be configured by tying the unused I2C pins to ground or DVDD, as shown in Table 10. In addition, the amplifier gain can be controlled via the ADDR pin. ET Figure 25. DRC Compression Curve: Log-to-Log Representation of the DRC Output Level vs. Input Level From bottom left to top right, these regions (shown in red) are the noise gate, expander, linear region, compressor, and limiter. The control points between these regions can be set using the DRC control registers (Register 0x0A through Register 0x12) using the variable names (CT, ET, and so forth) as shown on the plot axes in Figure 25. Each element can be individually enabled using the LIM_EN, COMP_EN, EXP_EN, and NG_EN bits in Rev. A | Page 17 of 48 SSM2518 Data Sheet Register 0x0A. The entire DRC function can be enabled or disabled using DRC_EN (Bits[1:0] of Register 0x0A). Linear Region For input amplitudes between the DRC_ET and DRC_CT thresholds, the DRC attenuation is set to zero, that is, the input is passed straight through to the output. This is the region in the center of the compression curve (see Figure 25) with a 1:1 slope, where the input and output amplitude are the same. Compressor Above the input level set by DRC_CT (Bits[3:0] of Register 0x0C), the output amplitude does not rise as quickly as the input. This provides a smooth transition to the limiter region, where the output stops increasing altogether at the input level set by DRC_LT (Bits[7:4] of Register 0x0C). At this point, the output level is DRC_SMAX (Bits[7:4] of Register 0x0E). Limiter When the input level is above the input level set by DRC_LT, the output level does not exceed the level given by DRC_SMAX (Bits[7:4] of Register 0x0E). Instead, the overall gain is reduced to maintain that level without clipping. Expander When the expander is enabled and the input level falls below the level set by DRC_ET (Bits[7:4] of Register 0x0D), the output level begins to decrease more rapidly than the input. This provides a smooth transition to the noise gate, where sufficiently small signals are blocked completely. When the input signal falls to the level set by DRC_NT (Bits[3:0] of Register 0x0D), the output level is set by DRC_SMIN (Bits[3:0] of Register 0x0E). Noise Gate When the noise gate is enabled and the input signal level falls below the threshold set by DRC_NT for a period of time, the output is set to zero. Set this at a level lower than all signals of interest to block the output in periods of silence. The period of time for which the input level must remain below the noise gate threshold prior to the output setting to zero is determined by HDT_NG, Bits[3:0] of Register 0x10. Attack and Decay Rates To prevent audible distortion effects as the gain changes, the time constants for the attack (gain reduction) and decay (gain increase) are adjustable. The attack time is set by DRC_ATT (Bits[7:4] of Register 0x0F), and the decay time is set by DRC_DEC (Bits[3:0] of Register 0x0F). Between attack and decay, a hold time is used to prevent rapid switching between increased gain and decreased gain. The hold time is set by HDT_NOR (Bits[7:4] of Register 0x10). Post-DRC Gain Because the DRC feature may have an overall effect on the system gain, a separate digital gain option is provided to allow the user to compensate for this effect. This digital gain option is independent of the volume control feature, allowing an overall gain adjustment that remains separate from the volume settings. This level is set by DRC_POST_G (Bits[5:2] of Register 0x11). Depending on the application, the entire DRC block can be placed before or after the volume controls (L_VOL and R_VOL). This option is set by PRE_VOL (Bit 6 of Register 0x0A). MUTE OPTIONS Several mute options are available. Each channel can be muted independently using the left channel mute (L_MUTE, Bit 1 of Register 0x07) or the right channel mute (R_MUTE, Bit 2 of Register 0x07). Alternatively, both channels can be muted simultaneously using the master mute option (M_MUTE, Bit 0 of Register 0x07). The master mute is enabled at system startup; therefore, it must be disabled before any audio is produced. The SSM2518 also contains an automatic mute feature. This feature is enabled by setting AMUTE (Bit 7 of Register 0x07). When active, this feature monitors the incoming digital audio signal. When the data stream is zero for 2048 consecutive frames (1024 stereo samples), the output is muted. When a single nonzero input is received on the I2S interface, the SSM2518 is unmuted and resumes normal operation. VOLUME CONTROL The SSM2518 has a digital volume control that allows independent control of the left and right channels via Registers 0x05 and 0x06, respectively. 255 levels are available, providing a range from +24 dB to −71.25 dB in 0.375 dB increments. This is a soft volume control, meaning that the gain is adjusted continuously from one value to another. This continuously adjusted gain prevents the audible pop that occurs with an instantaneous gain adjustment. When VOL_LINK (Bit 3 in Register 0x07) is set, both channels are linked to the left channel volume setting. DE-EMPHASIS FILTER A digital de-emphasis filter is provided to compensate for the standard compact disc style preemphasis, which occurs in some audio systems. This filter is designed for use with a 44.1 kHz sample rate only. To enable the de-emphasis filter, set DEEMP_EN (Bit 4 of Register 0x07). ANALOG GAIN The analog gain of the SSM2518 amplifier is set by ANA_GAIN (Bit 5 of Register 0x07). Each gain setting is designed to match the scaling needed for a specified PVDD voltage so that the digital full-scale values correspond to the clipping points of the amplifier at that voltage. If PVDD is larger than the voltage specified in this register, the digital scale does not fill the output voltage range and maximum output power is reduced. Similarly, if PVDD is smaller than Rev. A | Page 18 of 48 Data Sheet SSM2518 specified in this register, analog clipping may occur within the range of possible digital codes. FAULT DETECTION AND RECOVERY Three fault conditions are detected by the SSM2518 fault detection system: left channel overcurrent, right channel overcurrent, and overtemperature. When any of these is detected, the amplifier shuts down and a read-only I2C bit is set to indicate the cause of the shutdown. The OC_L, OC_R, and OT fault indicators are Bit 7, Bit 6, and Bit 5 (respectively) of Register 0x08. An autorecovery feature can be enabled for temperature faults, current faults, or both, depending on the state of ARCV (Bit 1 and Bit 0 of Register 0x08). If autorecovery is enabled, the amplifier waits a short time (10 ms, 20 ms, 40 ms, or 80 ms) and attempts to recover. The recovery delay is set by AR_TIME (Bit 7 and Bit 6 of Register 0x09). The maximum number of consecutive recovery attempts can be set to one, three, seven, or unlimited attempts; this number is set by MAX_AR (Bit 3 and Bit 2 of Register 0x08). If the autorecovery feature is disabled or the maximum number of attempts has been reached, the amplifier remains shut down until a software reset or manual fault recovery attempt occurs. The manual fault recovery is triggered by setting the write-only bit, MRCV (Bit 4 of Register 0x08). Rev. A | Page 19 of 48 SSM2518 Data Sheet DIGITAL AUDIO FORMATS STEREO MODE SAI = 0 SDATA_FMT = 0 (I2S), 1 (LJ), 2 (RJ 24-bit), 3 (RJ 16-bit) BCLK ANY# BCLKs LRCLK LEFT CHANNEL 8 TO 32 BCLKs SDATA LJ RIGHT CHANNEL 8 TO 32 BCLKs RIGHT CHANNEL 8 TO 32 BCLKs LEFT CHANNEL 8 TO 32 BCLKs SDATA RJ RIGHT CHANNEL LEFT CHANNEL 8 TO 32 BCLKs 8 TO 32 BCLKs 10242-004 SDATA I2S Figure 26. Stereo Modes: I2S, Left Justified, and Right Justified TDM, 50% DUTY CYCLE MODE SAI = 1 (2 slots), 2 (4 slots), 3 (8 slots), 4 (16 slots) SDATA_FMT = 0 (I2S), 1 (LJ), 2 (RJ 24-bit), 3 (RJ 16-bit) BCLK_EDGE = 0 LRCLK_MODE = 0 SLOT_WIDTH = 0 (32 BCLKs), 1 (24 BCLKs), 2 (16 BCLKs) BCLK 32/24/16 BCLKs 32/24/16 BCLKs 32/24/16 BCLKs LRCLK SDATA LJ CHANNEL 1 8 TO 32 BCLKs 8 TO 32 BCLKs CHANNEL 2 CHANNEL 1 SDATA RJ 8 TO 32 BCLKs CHANNEL N CHANNEL 2 8 TO 32 BCLKs CHANNEL N CHANNEL 2 8 TO 32 BCLKs 24 OR 16 BCLKs CHANNEL N 24 OR 16 BCLKs 24 OR 16 BCLKs 10242-005 CHANNEL 1 8 TO 32 BCLKs SDATA I2S Figure 27. TDM Modes with 50% Duty Cycle LRCLK TDM, PULSE MODE SAI = 1 (2 slots), 2 (4 slots), 3 (8 slots), 4 (16 slots) SDATA_FMT = 0 (I2S), 1 (LJ), 2 (RJ 24-bit), 3 (RJ 16-bit) BCLK_EDGE = 0 LRCLK_MODE = 1 SLOT_WIDTH = 0 (32 BCLKs), 1 (24 BCLKs), 2 (16 BCLKs) BCLK 32/24/16 BCLKs 32/24/16 BCLKs 32/24/16 BCLKs LRCLK CHANNEL 1 SDATA LJ CHANNEL 1 SDATA RJ 8 TO 32 BCLKs CHANNEL 1 24 OR 16 BCLKs 8 TO 32 BCLKs CHANNEL N CHANNEL 2 8 TO 32 BCLKs CHANNEL N CHANNEL 2 8 TO 32 BCLKs 8 TO 32 BCLKs 8 TO 32 BCLKs CHANNEL 2 24 OR 16 BCLKs Figure 28. TDM Modes with Pulse Mode LRCLK Rev. A | Page 20 of 48 CHANNEL N 24 OR 16 BCLKs 10242-006 SDATA I2S Data Sheet SSM2518 PCM, MULTICHANNEL MODE SAI = 1 (2 channels), 2 (4 channels), 3 (8 channels), 4 (16 channels) SDATA_FMT = 0 (I2S), 1 (LJ), 2 (RJ 24-bit), 3 (RJ 16-bit) BCLK_EDGE = 1 LRCLK_MODE = 1 SLOT_WIDTH = 0 (32 BCLKs), 1 (24 BCLKs), 2 (16 BCLKs) BCLK 32/24/16 BCLKs 32/24/16 BCLKs 32/24/16 BCLKs LRCLK SDATA LJ CHANNEL 1 8 TO 32 BCLKs SDATA RJ CHANNEL N CHANNEL 2 CHANNEL 1 8 TO 32 BCLKs 8 TO 32 BCLKs 8 TO 32 BCLKs CHANNEL 2 8 TO 32 BCLKs CHANNEL 1 CHANNEL N 8 TO 32 BCLKs CHANNEL N CHANNEL 2 24 OR 16 BCLKs 24 OR 16 BCLKs 24 OR 16 BCLKs Figure 29. Multichannel PCM Modes PCM MONO MODE SAI = 5 SDATA_FMT = 0 (I2S), 1 (LJ), 2 (RJ 24-bit), 3 (RJ 16-bit) BCLK_EDGE = 1 LRCLK_MODE = 1 BCLK ANY # BCLKs LRCLK SDATA LJ MONO CHANNEL 8 TO 32 BCLKs MONO CHANNEL 8 TO 32 BCLKs SDATA RJ MONO CHANNEL 8 TO 32 BCLKs Figure 30. Mono PCM Modes Rev. A | Page 21 of 48 10242-008 SDATA I2S 10242-007 SDATA I2S SSM2518 Data Sheet I2C CONFIGURATION INTERFACE OVERVIEW The SSM2518 supports a 2-wire serial (I2C-compatible) microprocessor bus driving multiple peripherals. Two pins, serial data (SDA) and serial clock (SCL), carry information between the SSM2518 and the system I2C master controller. The SSM2518 is always a slave on the bus, meaning it cannot initiate a data transfer. Each slave device is recognized by a unique device address. The device address byte format is shown in Figure 31. The address resides in the first seven bits of the I2C write. The LSB of this byte sets either a read or write operation. Logic Level 1 corresponds to a read operation, and Logic Level 0 corresponds to a write operation. The full byte addresses are shown in Figure 3, where the subaddresses are automatically incremented at word boundaries and can be used for writing large amounts of data to contiguous memory locations. This increment happens automatically after a single word write unless a stop condition is encountered. A data transfer is always terminated by a stop condition. BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7 0 1 1 0 1 ADDR 0 R/W 10242-033 Both SDA and SCL should have a 2.2 kΩ pull-up resistor on the lines connected to them. 2 Figure 31. I C Device Address Byte Format Addressing Initially, each device on the I2C bus is in an idle state, monitoring the SDA and SCL lines for a start condition and the proper address. The I2C master initiates a data transfer by establishing a start condition, defined by a high-to-low transition on SDA while SCL remains high. This indicates that an address/data stream follows. All devices on the bus respond to the start condition and shift the next eight bits (the 7-bit address plus the R/W bit) MSB first. The device that recognizes the transmitted address responds by pulling the data line low during the ninth clock pulse. The device address is determined by the state of the ADDR pin. This ninth bit is known as an acknowledge bit. All other devices withdraw from the bus at this point and return to the idle condition. The R/W bit determines the direction of the data. A Logic 0 on the LSB of the first byte means that the master writes information to the peripheral, whereas a Logic 1 means that the master reads information from the peripheral after writing the subaddress and repeating the start address. A data transfer takes place until a stop condition is encountered. A stop condition occurs when SDA transitions from low to high while SCL is held high. The timing for the I2C port is shown in Figure 3. Stop and start conditions can be detected at any stage during the data transfer. If these conditions are asserted out of sequence with normal read and write operations, the SSM2518 immediately jumps to the idle condition. During a given SCL high period, the user should issue only one start condition, one stop condition, or a single stop condition followed by a single start condition. If an invalid subaddress is issued by the user, the SSM2518 does not issue an acknowledge and returns to the idle condition. If the user exceeds the highest subaddress while in auto-increment mode, one of two actions is taken. In read mode, the SSM2518 outputs the highest subaddress register contents until the master device issues a no acknowledge, indicating the end of a read. A no acknowledge condition is where the SDA line is not pulled low on the ninth clock pulse of SCL. If the highest subaddress location is reached while in write mode, the data for the invalid byte is not loaded into any subaddress register, a no acknowledge is issued by the SSM2518, and the part returns to the idle condition. I2C Read and Write Operations Figure 33 shows the timing of a single word write operation. Every ninth clock, the SSM2518 issues an acknowledge by pulling SDA low. Figure 34 shows the timing of a burst mode write sequence. This figure shows an example where the target destination registers are two bytes. The SSM2518 knows to increment its subaddress register every byte because the requested subaddress corresponds to a register or memory area with a byte word length. The timing of a single word read operation is shown in Figure 35. Note that the first R/W bit is 0, indicating a write operation. This is because the subaddress still needs to be written to set up the internal address. After the SSM2518 acknowledges the receipt of the subaddress, the master must issue a repeated start command followed by the chip address byte with the R/W bit set to 1 (read). This causes the SSM2518 SDA to reverse and begin driving data back to the master. The master then responds every ninth pulse with an acknowledge pulse to the SSM2518. Figure 36 shows the timing of a burst mode read sequence. This figure shows an example where the target destination registers are two bytes. The SSM2518 knows to increment its subaddress register every byte because the requested subaddress corresponds to a register or memory area with a byte word length. Rev. A | Page 22 of 48 Data Sheet SSM2518 SCK SDA R/W START BY MASTER ACK ACK FRAME 2 SUBADDRESS BYTE FRAME 1 CHIP ADDRESS BYTE SCK (CONTINUED) ACK ACK FRAME 3 DATA BYTE 1 STOP BY MASTER FRAME 4 DATA BYTE 2 START BIT CHIP ADDRESS R/W = 0 (7 BITS) ACK BY SLAVE SUBADDRESS (8 BITS) ACK BY SLAVE DATA BYTE 1 (8 BITS) STOP BIT 10242-035 Figure 32. I2C Read/Write Timing START BIT CHIP ADDRESS ACK BY SUBADDRESS SLAVE R/W = 0 ACK BY SLAVE DATA- ACK BY WORD 1 SLAVE DATA- ACK BY WORD 2 SLAVE STOP BIT 10242-036 Figure 33. Single-Word I2C Write Format START BIT CHIP ADDRESS ACK BY SUBADDRESS SLAVE R/W = 0 ACK BY SLAVE START BIT CHIP ADDRESS R/W = 1 ACK BY SLAVE DATA BYTE 1 ACK BY MASTER STOP BIT 10242-037 Figure 34. Burst Mode I2C Write Format START BIT CHIP ADDRESS ACK BY SUBADDRESS SLAVE R/W = 0 ACK BY SLAVE START BIT CHIP ADDRESS R/W = 1 ACK BY SLAVE Figure 36. Burst Mode I2C Read Format Rev. A | Page 23 of 48 DATAWORD 1 ACK BY MASTER STOP BIT 10242-038 Figure 35. Single-Word I2C Read Format 10242-034 SDA (CONTINUED) SSM2518 Data Sheet MCLK Frequency Settings Table 11. MCS Bit Field Setting: MCLK, Ratio, and Frequency Input Sample Rate Setting 0 b00001 Setting 1 b0001 Setting 2 b0010 Setting 3 b0011 Setting 4 b0100 Setting 5 b0101 Setting 6 b0110 Setting 7 b0111 Setting 8 b1000 8 kHz Ratio MCLK 256 × fS 2.048 MHz 512 × fS 4.096 MHz 1024 × fS 8.192 MHz 1536 × fS 12.288 MHz 2048 × fS 16.384 MHz 3072 × fS 24.576 MHz 400 × fS 3.20 MHz 800 × fS 6.40 MHz 1600 × fS 12.80 MHz 11.025 kHz Ratio MCLK 256 × fS 2.822 MHz 512 × fS 5.6448 MHz 1024 × fS 11.2896 MHz 1536 × fS 16.9344 MHz 2048 × fS 22.5792 MHz 3072 × fS 33.8688 MHz 400 × fS 4.41 MHz 800 × fS 8.82 MHz 1600 × fS 17.64 MHz 12 kHz Ratio MCLK 256 × fS 3.072 MHz 512 × fS 6.144 MHz 1024 × fS 12.288 MHz 1536 × fS 18.432 MHz 2048 × fS 24.576 MHz 3072 × fS 38.864 MHz 400 × fS 4.80 MHz 800 × fS 9.60 MHz 1600 × fS 19.20 MHz 16 kHz Ratio MCLK 128 × fS 2.048 MHz 256 × fS 4.096 MHz 384 × fS 8.192 MHz 768 × fS 12.288 MHz 1024 × fS 16.384 MHz 1536 × fS 24.576 MHz 200 × fS 3.20 MHz 400 × fS 6.40 MHz 800 × fS 12.80 MHz 22.05 kHz Ratio MCLK 128 × fS 2.822 MHz 256 × fS 5.6448 MHz 512 × fS 11.2896 MHz 768 × fS 16.9344 MHz 1024 × fS 22.5792 MHz 1536 × fS 33.8688 MHz 200 × fS 4.41 MHz 400 × fS 8.82 MHz 800 × fS 17.64 MHz 24 kHz Ratio MCLK 128 × fS 3.072 MHz 256 × fS 6.144 MHz 512 × fS 12.288 MHz 768 × fS 18.432 MHz 1024 × fS 24.576 MHz 1536 × fS 38.864 MHz 200 × fS 4.80 MHz 400 × fS 9.60 MHz 800 × fS 19.20 MHz 32 kHz Ratio MCLK 64 × fS 2.048 MHz 128 × fS 4.096 MHz 256 × fS 8.192 MHz 384 × fS 12.288 MHz 512 × fS 16.384 MHz 768 × fS 24.576 MHz 100 × fS 3.20 MHz 200 × fS 6.40 MHz 400 × fS 12.80 MHz 44.1 kHz Ratio MCLK 64 × fS 2.822 MHz 128 × fS 5.6448 MHz 256 × fS 11.2896 MHz 384 × fS 16.9344 MHz 512 × fS 22.5792 MHz 768 × fS 33.8688 MHz 100 × fS 4.41 MHz 200 × fS 8.82 MHz 400 × fS 17.64 MHz 48 kHz Ratio MCLK 64 × fS 3.072 MHz 128 × fS 6.144 MHz 256 × fS 12.288 MHz 384 × fS 18.432 MHz 512 × fS 24.576 MHz 768 × fS 38.864 MHz 100 × fS 4.80 MHz 200 × fS 9.60 MHz 400 × fS 19.20 MHz 96 kHz Ratio MCLK 64 × fS 3.072 MHz 64 × fS 6.144 MHz 128 × fS 12.288 MHz 192 × fS 18.432 MHz 256 × fS 24.576 MHz 384 × fS 38.864 MHz 50 × fS 4.80 MHz 100 × fS 9.60 MHz 200 × fS 19.20 MHz 1 When using MCS = 0000, the chip automatically operates in low power mode. Rev. A | Page 24 of 48 Data Sheet SSM2518 REGISTER SUMMARY (REG_MAP) Table 12. REG_MAP Register Summary Reg 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 Name Reset_Power_Control Edge_Clock_Control Serial_Interface_Sample_Rate_Control Serial_Interface_Control Channel_Mapping_Control Left_Volume_Control Right_Volume_Control Volume_Mute_Control Fault_Control_1 Power_Fault_Control DRC_Control_1 DRC_Control_2 DRC_Control_3 DRC_Control_4 DRC_Control_5 DRC_Control_6 DRC_Control_7 DRC_Control_8 DRC_Control_9 Bits [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] [7:0] Bit 7 S_RST RESERVED RESERVED BCLK_GEN CH_SEL_R L_VOL R_VOL AMUTE OC_L AR_TIME RESERVED PEAK_ATT DRC_LT DRC_ET DRC_SMAX DRC_ATT HDT_NOR RESERVED RESERVED Bit 6 RESERVED Bit 5 NO_BCLK Reset 0x05 EDGE 0x00 SDATA_FMT SAI FS 0x02 LRCLK_MODE LRCLK_POL SAI_MSB SLOT_WIDTH BCLK_EDGE RESERVED 0x00 CH_SEL_L 0x10 0x40 0x40 RESERVED ANA_GAIN DEEMP_EN VOL_LINK R_MUTE L_MUTE M_MUTE 0x81 OC_R OT MRCV MAX_AR ARCV 0x0C RESERVED AMP_LPM DAC_LPM R_PWDN L_PWDN APWDN_EN 0x99 PRE_VOL LIM_EN COMP_EN EXP_EN NG_EN DRC_EN 0x7C PEAK_REL 0x5B DRC_CT 0x57 DRC_NT 0x89 DRC_SMIN 0x8C DRC_DEC 0x77 HDT_NG 0x26 DRC_POST_G RESERVED 0x1C RMS_TAV 0x07 Rev. A | Page 25 of 48 Bit 4 MCS Bit 3 Bit 2 Bit 1 Bit 0 SPWDN ASR RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW SSM2518 Data Sheet REGISTER (REG_MAP) DETAILS SOFTWARE RESET AND MASTER SOFTWARE POWER-DOWN CONTROL REGISTER Address: 0x00, Reset: 0x05, Name: Reset_Power_Control Table 13. Bit Descriptions for Reset_Power_Control Bits 7 Bit Name S_RST Settings 0 1 6 5 RESERVED NO_BCLK 0 1 [4:1] MCS 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 0 SPWDN 0 1 Description Software Reset. Write 1 to reset all internal blocks, including I2C registers, to their initial state. Normal operation Software reset Reserved. Bit Clock Source Selection. Either the MCLK or BCLK pin can be routed internally to the bit clock. BCLK pin used as bit clock source. Typical configuration. MCLK pin used as bit clock source. No BCLK pin connection is needed. Master Clock Select. This must match the ratio between the input MCLK frequency and the audio sample rate, as shown in Table 11. 64 × fS 128 × fS 256 × fS 384 × fS 512 × fS 768 × fS 100 × fS 200 × fS 400 × fS Reserved Software Master Power-Down. This places all blocks, except the I2C interface, into a low power state. Normal operation Software master power-down Rev. A | Page 26 of 48 Reset 0x0 Access RW 0x0 0x0 RW RW 0x2 RW 0x1 RW Data Sheet SSM2518 EDGE SPEED AND CLOCKING CONTROL REGISTER Address: 0x01, Reset: 0x00, Name: Edge_Clock_Control Table 14. Bit Descriptions for Edge_Clock_Control Bits [7:3] [2:1] Bit Name RESERVED EDGE Settings 00 01 10 11 0 ASR 0 1 Description Reserved. Edge Rate Control. This limits the edge rate of the switching output stage. The low EMI operation modes reduce the edge speed, lowering EMI and power efficiency. No edge rate control Low EMI Lower EMI Lowest EMI Automatic Sample Rate Detection. Automatic detection enabled Manual sample rate selection given by FS field, Bits[1:0] of Register 0x02 Rev. A | Page 27 of 48 Reset 0x00 0x0 Access RW RW 0x0 RW SSM2518 Data Sheet SERIAL AUDIO INTERFACE AND SAMPLE RATE CONTROL REGISTER Address: 0x02, Reset: 0x02, Name: Serial_Interface_Sample_Rate_Control Table 15. Bit Descriptions for Serial_Interface_Sample_Rate_Control Bits 7 [6:5] Bit Name RESERVED SDATA_FMT Settings 00 01 10 11 [4:2] SAI 000 001 010 011 100 101 110 111 [1:0] FS 00 01 10 11 Description Reserved. Serial Data Format. Only required if SAI = 000. I²S standard; data is delayed by one BCLK cycle Left justified Right justified, 24-bit data Right justified, 16-bit data Serial Audio Interface Format. I2S, left justified, or right justified stereo (depending on SDATA_FMT) 2-slot TDM 4-slot TDM 8-slot TDM 16-slot TDM Mono PCM Reserved Reserved Manual Sample Rate Selection. Only required if ASR = 1 in Register 0x01. 8 kHz to 12 kHz 16 kHz to 24 kHz 32 kHz to 48 kHz 64 kHz to 96 kHz Rev. A | Page 28 of 48 Reset 0x0 0x0 Access RW RW 0x0 RW 0x2 RW Data Sheet SSM2518 SERIAL AUDIO INTERFACE CONTROL REGISTER Address: 0x03, Reset: 0x00, Name: Serial_Interface_Control Table 16. Bit Descriptions for Serial_Interface_Control Bits 7 Bit Name BCLK_GEN Settings 0 1 6 LRCLK_MODE 0 1 5 LRCLK_POL 0 1 4 SAI_MSB 0 1 [3:2] SLOT_WIDTH 00 01 10 11 1 BCLK_EDGE 0 1 0 RESERVED Description Internal BCLK Generator Enable. Bit clock from BCLK pin is used Internally generated bit clock is used LRCLK Shape Selection. Required only for TDM modes. 50% duty cycle 1-bit pulse LRCLK Polarity. Rising edge (normal) Falling edge (inverted) Serial Data Bit Order. MSB first LSB first TDM Slot Width. Required only for TDM modes. 32 BCLK cycles per slot 24 BCLK cycles per slot 16 BCLK cycles per slot Reserved BCLK Active Edge. Rising BCLK edge used Falling BCLK edge used Reserved. Rev. A | Page 29 of 48 Reset 0x0 Access RW 0x0 RW 0x0 RW 0x0 RW 0x0 RW 0x0 RW 0x0 RW SSM2518 Data Sheet CHANNEL MAPPING CONTROL REGISTER Address: 0x04, Reset: 0x10, Name: Channel_Mapping_Control Table 17. Bit Descriptions for Channel_Mapping_Control Bits [7:4] Bit Name CH_SEL_R Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 [3:0] CH_SEL_L 0000 0001 Description Right Channel Select. Channel 0 valid when running in mono (PCM) mode. Channel 0 to Channel 1 valid when running in stereo and 2-slot TDM modes. Channel 0 to Channel 3 valid when running in 4-slot TDM mode. Channel 0 to Channel 7 valid when running in 8-slot TDM mode. Channel 0 to Channel 15 valid when running in 16-slot TDM mode. Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 Channel 9 Channel 10 Channel 11 Channel 12 Channel 13 Channel 14 Channel 15 Left Channel Select. Channel 0 valid when running in mono (PCM) mode. Channel 0 to Channel 1 valid when running in stereo and 2-slot TDM modes. Channel 0 to Channel 3 valid when running in 4-slot TDM mode. Channel 0 to Channel 7 valid when running in 8-slot TDM mode. Channel 0 to Channel 15 valid when running in 16-slot TDM mode. Channel 0 Channel 1 Rev. A | Page 30 of 48 Reset 0x1 Access RW 0x0 RW Data Sheet Bits Bit Name SSM2518 Settings 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 Channel 9 Channel 10 Channel 11 Channel 12 Channel 13 Channel 14 Channel 15 Reset Access Reset 0x40 Access RW LEFT CHANNEL VOLUME CONTROL REGISTER Address: 0x05, Reset: 0x40, Name: Left_Volume_Control Table 18. Bit Descriptions for Left_Volume_Control Bits [7:0] Bit Name L_VOL Settings 00000000 00000001 00000010 00000011 00000100 00000101 … 00111111 01000000 01000001 01000010 … 11111101 11111110 11111111 Description Left Channel Volume Control. Adjusts the digital gain in 0.375 dB increments. +24 dB +23.625 dB +23.35 dB +22.875 dB +22.5 dB +22.125 dB … +0.375 dB 0 dB −0.375 dB −0.750 dB … −70.875 dB −71.25 dB Mute Rev. A | Page 31 of 48 SSM2518 Data Sheet RIGHT CHANNEL VOLUME CONTROL REGISTER Address: 0x06, Reset: 0x40, Name: Right_Volume_Control Table 19. Bit Descriptions for Right_Volume_Control Bits [7:0] Bit Name R_VOL Settings 00000000 00000001 00000010 00000011 00000100 00000101 … 00111111 01000000 01000001 01000010 … 11111101 11111110 11111111 Description Right Channel Volume Control. Adjusts the digital gain in 0.375 dB increments. +24 dB +23.625 dB +23.35 dB +22.875 dB +22.5 dB +22.125 dB … +0.375 dB 0 dB −0.375 dB −0.750 dB … −70.875 dB −71.25 dB Mute Rev. A | Page 32 of 48 Reset 0x40 Access RW Data Sheet SSM2518 VOLUME AND MUTE CONTROL REGISTER Address: 0x07, Reset: 0x81, Name: Volume_Mute_Control Table 20. Bit Descriptions for Volume_Mute_Control Bits 7 Bit Name AMUTE Settings 0 1 6 5 RESERVED ANA_GAIN 0 1 4 DEEMP_EN 0 1 3 VOL_LINK 0 1 2 R_MUTE 0 1 1 L_MUTE 0 1 0 M_MUTE 0 1 Description Automatic Mute Enable. After 2048 slots (1024 stereo samples) have been received with zero data, the outputs mute until nonzero data arrives. Automute enabled Automute disabled Reserved. Analog Gain. This sets the full-scale output level of the amplifier. The two settings are scaled appropriately for 3.6 V and 5.0 V nominal supply voltages. Matched to 3.6 V supply Matched to 5.0 V supply Digital De-Emphasis Filter. De-emphasis disabled (normal operation) De-emphasis enabled Volume Link. When this bit is enabled, both channels respond to the left channel volume register. Normal operation Both channels linked to L_VOL (Register 0x05) Right Channel Soft Mute. Normal operation Right channel muted Left Channel Soft Mute. Normal operation Left channel muted Master Mute Control. This bit soft mutes both channels. Normal operation Master mute Rev. A | Page 33 of 48 Reset 0x1 Access RW 0x0 0x0 RW RW 0x0 RW 0x0 RW 0x0 RW 0x0 RW 0x1 RW SSM2518 Data Sheet FAULT CONTROL 1 REGISTER Address: 0x08, Reset: 0x0C, Name: Fault_Control_1 Table 21. Bit Descriptions for Fault_Control_1 Bits 7 Bit Name OC_L Settings 0 1 6 OC_R 0 1 5 OT 0 1 4 MRCV 0 1 [3:2] MAX_AR 00 01 10 11 [1:0] ARCV 00 01 10 11 Description Left Channel Overcurrent Fault. Read only. Normal operation Left channel overcurrent fault Right Channel Overcurrent Fault. Read only. Normal operation Right channel overcurrent fault Overtemperature Fault Status. Read only. Normal operation Overtemperature fault Manual Fault Recovery. Available only when ARCV = 11. Write only. Normal operation When written, attempt a manual fault recovery Maximum Fault Recovery Attempts. One attempt Three attempts Seven attempts Unlimited attempts Automatic Fault Recovery Selection. Automatically recover from overtemperature and overcurrent faults Automatically recover from overtemperature fault only Automatically recover from overcurrent faults only No automatic recovery Rev. A | Page 34 of 48 Reset 0x0 Access R 0x0 R 0x0 R 0x0 W 0x3 RW 0x0 RW Data Sheet SSM2518 POWER AND FAULT CONTROL REGISTER Address: 0x09, Reset: 0x99, Name: Power_Fault_Control Table 22. Bit Descriptions for Power_Fault_Control Bits [7:6] Bit Name AR_TIME Settings 00 01 10 11 5 4 RESERVED AMP_LPM 0 1 3 DAC_LPM 0 1 2 R_PWDN 0 1 1 L_PWDN 0 1 0 APWDN_EN 0 1 Description Automatic Recovery Delay Time. This determines the amount of time delay between fault detection and an autorecovery attempt. 10 ms autorecovery delay 20 ms autorecovery delay 40 ms autorecovery delay 80 ms autorecovery delay Reserved. Class-D Amplifier Low Power Mode. High performance operation Low power operation DAC Low Power Mode. In low power mode, the DAC runs at half speed. Normal operation Low power operation Right Channel Power-Down. Normal operation Right channel powered down Left Channel Power-Down. Normal operation Left channel powered down Automatic Power-Down Enable. Automatic power-down automatically puts the IC in a low power state when 2048 consecutive zero input samples have been received. Automatic power-down disabled Automatic power-down enabled Rev. A | Page 35 of 48 Reset 0x2 Access RW 0x0 0x1 RW RW 0x1 RW 0x0 RW 0x0 RW 0x1 RW SSM2518 Data Sheet DRC CONTROL 1 REGISTER Address: 0x0A, Reset: 0x7C, Name: DRC_Control_1 Table 23. Bit Descriptions for DRC_Control_1 Bits 7 6 Bit Name RESERVED PRE_VOL Settings 0 1 5 LIM_EN 0 1 4 COMP_EN 0 1 3 EXP_EN 0 1 2 NG_EN 0 1 [1:0] DRC_EN 00 01 10 11 Description Reserved. DRC Placement. This determines the placement of the DRC block in the signal chain. When placed before the volume control, the thresholds are relative to the input signal. When placed after the volume control, the thresholds are relative to the output signal level. All thresholds are 6 dB higher when placed after the volume control. DRC operates after the volume control DRC operates before the volume control Limiter Enable. With the limiter enabled, the DRC_LT threshold (Bits[7:4] in Register 0x0C) must be set. Limiter disabled Limiter enabled Compressor Enable. With the compressor enabled, the DRC_CT and DRC_SMAX thresholds (Bits[3:0] in Register 0x0C and Bits[7:4] in Register 0x0E) must be set. Compressor disabled Compressor enabled Expander Enable. With the expander enabled, the DRC_ET and DRC_SMIN threshold values (Bits[7:4] in Register 0x0D and Bits[3:0] in Register 0x0E) must be set. Expander disabled Expander enabled Noise Gate Enable. With the noise gate enabled, the DRC_NT threshold value (Bits[3:0] in Register 0x0D) must be set. Noise gate disabled Noise gate enabled Master DRC Enable. This must be enabled for any of the DRC features to function. DRC disabled Left channel DRC enabled Right channel DRC enabled Left and right channel DRC enabled Rev. A | Page 36 of 48 Reset 0x0 0x1 Access RW RW 0x1 RW 0x1 RW 0x1 RW 0x1 RW 0x0 RW Data Sheet SSM2518 DRC CONTROL 2 REGISTER Address: 0x0B, Reset: 0x5B, Name: DRC_Control_2 Table 24. Bit Descriptions for DRC_Control_2 Bits [7:4] Bit Name PEAK_ATT Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 [3:0] PEAK_REL 0000 0001 0010 0011 0100 0101 0110 0111 Description DRC Peak Detector Attack Time. 0 ms 0.09 ms 0.19 ms 0.37 ms 0.75 ms 1.5 ms 3 ms 6 ms 12 ms 24 ms 48 ms 96 ms 192 ms 384 ms 768 ms 1.536 sec DRC Peak Detector Release Time. 0 ms 1.5 ms 3 ms 6 ms 12 ms 24 ms 48 ms 96 ms Rev. A | Page 37 of 48 Reset 0x5 Access RW 0xB RW SSM2518 Bits Bit Name Data Sheet Settings 1000 1001 1010 1011 1100 1101 1110 1111 Description 193 ms 384 ms 768 ms 1.536 sec 3.072 sec 6.144 sec 12.288 sec 24.576 sec Reset Access Reset 0x5 Access RW DRC CONTROL 3 REGISTER Address: 0x0C, Reset: 0x57, Name: DRC_Control_3 Table 25. Bit Descriptions for DRC_Control_3 Bits [7:4] Bit Name DRC_LT Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description DRC Limiter Threshold Setting. Relative to input. 0 dB −1 dB −2 dB −3 dB −4 dB −5 dB −6 dB −7 dB −8 dB −10 dB −12 dB −14 dB −16 dB −18 dB −20 dB −22 dB Rev. A | Page 38 of 48 Data Sheet Bits [3:0] Bit Name DRC_CT SSM2518 Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description DRC Compressor Lower Threshold Setting. Relative to input. −4 dB −6 dB −8 dB −10 dB −12 dB −14 dB −16 dB −18 dB −20 dB −22 dB −24 dB −26 dB −28 dB −30 dB −32 dB −34 dB Rev. A | Page 39 of 48 Reset 0x7 Access RW SSM2518 Data Sheet DRC CONTROL 4 REGISTER Address: 0x0D, Reset: 0x89, Name: DRC_Control_4 Table 26. Bit Descriptions for DRC_Control_4 Bits [7:4] Bit Name DRC_ET Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 [3:0] DRC_NT 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 Description DRC Expander Upper Threshold Setting. Relative to input. −36 dB −39 dB −42 dB −45 dB −48 dB −51 dB −54 dB −57 dB −60 dB −63 dB −66 dB −69 dB −72 dB −75 dB −78 dB −81 dB DRC Noise Gate Threshold Setting. Relative to input. −51 dB −54 dB −57 dB −60 dB −63 dB −66 dB −69 dB −72 dB −75 dB −78 dB −81 dB −84 dB Rev. A | Page 40 of 48 Reset 0x8 Access RW 0x9 RW Data Sheet Bits Bit Name SSM2518 Settings 1100 1101 1110 1111 Description −87 dB −90 dB −93 dB −96 dB Reset Access Reset 0x8 Access RW DRC CONTROL 5 REGISTER Address: 0x0E, Reset: 0x8C, Name: DRC_Control_5 Table 27. Bit Descriptions for DRC_Control_5 Bits [7:4] Bit Name DRC_SMAX Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description DRC Limiter Threshold Setting. Relative to input. 0 dB −1 dB −2 dB −3 dB −4 dB −5 dB −6 dB −7 dB −8 dB −10 dB −12 dB −14 dB −16 dB −18 dB −20 dB −22 dB Rev. A | Page 41 of 48 SSM2518 Bits [3:0] Bit Name DRC_SMIN Data Sheet Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description DRC Minimum Output Signal Amplitude Setting. This is the minimum output level produced by the DRC and is used to indicate the expander lower threshold, or output signal level when the input rises beyond the noise gate threshold. −51 dB −54 dB −57 dB −60 dB −63 dB −66 dB −69 dB −72 dB −75 dB −78 dB −81 dB −84 dB −87 dB −90 dB −93 dB −96 dB Reset 0xC Access RW Reset 0x7 Access RW DRC CONTROL 6 REGISTER Address: 0x0F, Reset: 0x77, Name: DRC_Control_6 Table 28. Bit Descriptions for DRC_Control_6 Bits [7:4] Bit Name DRC_ATT Settings 0000 0001 0010 0011 0100 0101 Description DRC Attack Time. Used to smooth the gain curve at the thresholds (knees) of each DRC function. 0 ms 0.1 ms 0.19 ms 0.37 ms 0.75 ms 1.5 ms Rev. A | Page 42 of 48 Data Sheet Bits Bit Name [3:0] DRC_DEC SSM2518 Settings 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description 3 ms 6 ms 12 ms 24 ms 48 ms 96 ms 192 ms 384 ms 768 ms 1.536 sec DRC Decay Time. Used to smooth the gain curve at the thresholds (knees) of each DRC function. 0 ms 1.5 ms 3 ms 6 ms 12 ms 24 ms 48 ms 96 ms 192 ms 384 ms 768 ms 1.536 sec 3.072 sec 6.144 sec 12.288 sec 24.576 sec Rev. A | Page 43 of 48 Reset Access 0x7 RW SSM2518 Data Sheet DRC CONTROL 7 REGISTER Address: 0x10, Reset: 0x26, Name: DRC_Control_7 Table 29. Bit Descriptions for DRC_Control_7 Bits [7:4] Bit Name HDT_NOR Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 [3:0] HDT_NG 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 Description DRC Normal Operation Hold Time. Used to prevent the gain curve calculation from increasing too quickly. 0 ms 0.67 ms 1.33 ms 2.67 ms 5.33 ms 10.66 ms 21.32 ms 42.64 ms 85.28 ms 170.56 ms 341.12 ms 682.24 ms 1.364 sec Reserved Reserved Reserved DRC Noise Gate Hold Time. Used to prevent the DRC from entering noise gate too quickly. 0 ms 0.67 ms 1.33 ms 2.67 ms 5.33 ms 10.66 ms 21.32 ms 42.64 ms 85.28 ms 170.56 ms Rev. A | Page 44 of 48 Reset 0x2 Access RW 0x6 RW Data Sheet Bits Bit Name SSM2518 Settings 1010 1011 1100 1101 1110 1111 Description 341.12 ms 682.24 ms 1.364 sec Reserved Reserved Reserved Reset Access Reset 0x0 0x7 Access RW RW 0x0 RW DRC CONTROL 8 REGISTER Address: 0x11, Reset: 0x1C, Name: DRC_Control_8 Table 30. Bit Descriptions for DRC_Control_8 Bits [7:6] [5:2] Bit Name RESERVED DRC_POST_G Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 [1:0] RESERVED Description Reserved. Post-DRC Gain Adjust Setting. This can be used to add additional gain after the DRC function to compensate for the overall reduction of system gain due to the DRC. +21 dB +18 dB +15 dB +12 dB +9 db +6 dB +3 dB 0 dB −3 dB −6 dB −9 dB −12 dB −15 dB −18 dB −21 dB −24 dB Reserved. Rev. A | Page 45 of 48 SSM2518 Data Sheet DRC CONTROL 9 REGISTER Address: 0x12, Reset: 0x07, Name: DRC_Control_9 Table 31. Bit Descriptions for DRC_Control_9 Bits [7:4] [3:0] Bit Name RESERVED RMS_TAV Settings 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Description Reserved. DRC RMS Detector Averaging Time. This is the averaging time for the rms level that is compared to the DRC thresholds. 0 ms 1.5 ms 3 ms 6 ms 12 ms 24 ms 48 ms 96 ms 192 ms 384 ms 768 ms 1.536 sec 3.072 sec 6.144 sec 12.288 sec 24.576 sec Rev. A | Page 46 of 48 Reset 0x0 0x7 Access RW RW Data Sheet SSM2518 PACKAGING AND ORDERING INFORMATION OUTLINE DIMENSIONS 2.250 2.210 SQ 2.170 3 4 2 1 A BALL 1 IDENTIFIER B 1.50 REF C D 0.50 REF BOTTOM VIEW (BALL SIDE UP) SIDE VIEW COPLANARITY 0.05 0.360 0.320 0.280 SEATING PLANE 0.270 0.240 0.210 05-19-2011-A 0.660 0.600 0.540 TOP VIEW (BALL SIDE DOWN) Figure 37.16-Ball Wafer Level Chip Scale Package [WLCSP] (CB-16-13) Dimensions shown in millimeters PIN 1 INDICATOR 4.10 4.00 SQ 3.90 0.30 0.25 0.20 0.50 BSC 20 16 15 PIN 1 INDICATOR 1 EXPOSED PAD 2.65 2.50 SQ 2.35 5 11 0.80 0.75 0.70 SEATING PLANE 0.50 0.40 0.30 10 6 0.25 MIN BOTTOM VIEW 0.05 MAX 0.02 NOM COPLANARITY 0.08 0.20 REF FOR PROPER CONNECTION OF THE EXPOSED PAD, REFER TO THE PIN CONFIGURATION AND FUNCTION DESCRIPTIONS SECTION OF THIS DATA SHEET. COMPLIANT TO JEDEC STANDARDS MO-220-WGGD. Figure 38. 20-Lead Lead Frame Chip Scale Package [LFCSP_WQ] 4 mm × 4 mm Body, Very Very Thin Quad (CP-20-10) Dimensions shown in millimeters Rev. A | Page 47 of 48 061609-B TOP VIEW SSM2518 Data Sheet ORDERING GUIDE Model 1 SSM2518CBZ-RL SSM2518CBZ-R7 SSM2518CPZ SSM2518CPZ-R7 SSM2518CPZ-RL EVAL-SSM2518Z 1 Temperature Range −40°C to +85°C −40°C to +85°C −40°C to +85°C −40°C to +85°C −40°C to +85°C Package Description 16-Ball, 2.2 mm × 2.2 mm WLCSP 16-Ball, 2.2 mm × 2.2 mm WLCSP 20-Lead 4 mm × 4 mm LFCSP 20-Lead 4 mm × 4 mm LFCSP 20-Lead 4 mm × 4 mm LFCSP Evaluation Board Package Option CB-16-13 CB-16-13 CP-20-10 CP-20-10 CP-20-10 Z = RoHS Compliant Part. ©2011 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D10242-0-12/11(A) www.analog.com/SSM2518 Rev. A | Page 48 of 48