TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Low-Power Stereo Audio DAC With Audio Processing and Stereo Class-D Speaker Amplifier Check for Samples: TLV320DAC3101 1 INTRODUCTION 1.1 Features • Stereo Audio DAC With 95-dB SNR • Supports 8-kHz to 192-kHz Sample Rates • Stereo 1.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range from subtle performance degradation to complete device failure.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 NOTE This data manual is designed using PDF document-viewing features that allow quick access to information. For example, performing a global search on "page 0 / register 27" produces all references to this page and register in a list. This makes it easy to traverse the list and find all information related to a page and register. Note that the search string must be of the indicated format.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 2 PACKAGE AND SIGNAL DESCRIPTIONS 2.1 Package/Ordering Information PRODUCT PACKAGE PACKAGE DESIGNATOR OPERATING TEMPERATURE RANGE TLV320DAC3101 QFN-32 RHB –40°C to 85°C 2.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 2-1. TERMINAL FUNCTIONS (continued) TERMINAL NAME NO.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 3.2 www.ti.com Recommended Operating Conditions over operating free-air temperature range (unless otherwise noted) MIN NOM (2) 2.7 3.3 3.6 Referenced to DVSS(2) 1.65 1.8 1.95 Referenced to HPVSS(2) 2.7 3.3 3.6 Referenced to SPLVSS(2) 2.7 SPRVDD (1) Referenced to SPRVSS(2) 2.7 IOVDD Referenced to IOVSS(2) 1.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Electrical Characteristics (continued) At 25°C, AVDD = HPVDD = IOVDD = 3.3 V, SPLVDD, SPRVDD = 3.6 V, DVDD = 1.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Electrical Characteristics (continued) At 25°C, AVDD = HPVDD = IOVDD = 3.3 V, SPLVDD, SPRVDD = 3.6 V, DVDD = 1.8 V, fS (audio) = 48 kHz, CODEC_CLKIN = 256 × fS, PLL = Off, VOL/MICDET pin disabled (unless otherwise noted) PARAMETER TEST CONDITIONS MIN TYP MAX UNIT DAC Output to Class-D Speaker Output; Load = 8 Ω (Differential), 50 pF (Continued) Output-stage leakage current for direct battery connection SPLVDD = SPRVDD = 4.
TLV320DAC3101 www.ti.com 3.4 3.4.1 SLAS666A – JANUARY 2010 – REVISED MAY 2012 Timing Characteristics I2S/LJF/RJF Timing in Master Mode All specifications at 25°C, DVDD = 1.8 V Note: All timing specifications are measured at characterization only. WCLK tr td(WS) BCLK tf tS(DI) th(DI) DIN T0145-10 PARAMETER td(WS) ts(DI) th(DI) tr tf WCLK delay DIN setup DIN hold Rise time Fall time IOVDD = 1.1 V MIN MAX 45 8 8 25 25 IOVDD = 3.3 V MIN MAX 20 6 6 10 10 UNIT ns ns ns ns ns Figure 3-1.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com I2S/LJF/RJF Timing in Slave Mode 3.4.2 All specifications at 25°C, DVDD = 1.8 V Note: All timing specifications are measured at characterization only. WCLK tr th(WS) tS(WS) tH(BCLK) BCLK tL(BCLK) tS(DI) tf DIN th(DI) T0145-11 PARAMETER tH(BCLK) tL(BCLK) ts(WS) th(WS) ts(DI) th(DI) tr tf BCLK high period BCLK low period WCLK setup WCLK hold DIN setup DIN hold Rise time Fall time IOVDD = 1.
TLV320DAC3101 www.ti.com 3.4.3 SLAS666A – JANUARY 2010 – REVISED MAY 2012 DSP Timing in Master Mode All specifications at 25°C, DVDD = 1.8 V Note: All timing specifications are measured at characterization only. WCLK td(WS) td(WS) tf BCLK tr tS(DI) DIN th(DI) T0146-09 PARAMETER td(WS) ts(DI) th(DI) tr tf WCLK delay DIN setup DIN hold Rise time Fall time IOVDD = 1.1 V MIN MAX 45 8 8 25 25 IOVDD = 3.3 V MIN MAX 20 8 8 10 10 UNIT ns ns ns ns ns Figure 3-3.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 3.4.4 www.ti.com DSP Timing in Slave Mode All specifications at 25°C, DVDD = 1.8 V Note: All timing specifications are measured at characterization only. WCLK tS(WS) tS(WS) th(WS) th(WS) tf tL(BCLK) BCLK tS(DI) tH(BCLK) tr DIN th(DI) T0146-10 PARAMETER tH(BCLK) tL(BCLK) ts(WS) th(WS) ts(DI) th(DI) tr tf BCLK high period BCLK low period WCLK setup WCLK hold DIN setup DIN hold Rise time Fall time IOVDD = 1.
TLV320DAC3101 www.ti.com 3.4.5 SLAS666A – JANUARY 2010 – REVISED MAY 2012 I2C Interface Timing All specifications at 25°C, DVDD = 1.8 V Note: All timing specifications are measured at characterization only. SDA tBUF tLOW tr tHIGH tf tHD;STA SCL tHD;STA tSU;DAT tHD;DAT STO tSU;STO tSU;STA STA STA STO T0295-02 PARAMETER fSCL tHD;STA tLOW tHIGH tSU;STA tHD;DAT tSU;DAT tr tf tSU;STO tBUF Cb SCL clock frequency Hold time, (repeated) START condition.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 4 TYPICAL PERFORMANCE 4.1 DAC Performance AMPLITUDE vs FREQUENCY AMPLITUDE vs FREQUENCY 20 20 AVDD = HPVDD = 3.3 V IOVDD = SPLVDD = 3.3 V DVDD = 1.8 V AVDD = HPVDD = 3.3 V IOVDD = SPLVDD = 3.3 V DVDD = 1.8 V 0 −20 −20 −40 −40 Amplitude − dBFS Amplitude − dBFS 0 −60 −80 −100 −60 −80 −100 −120 −120 −140 −140 −160 −160 0 5 10 15 20 0 5 f − Frequency − kHz 10 15 20 f − Frequency − kHz G023 Figure 4-1.
TLV320DAC3101 www.ti.com 4.2 SLAS666A – JANUARY 2010 – REVISED MAY 2012 Class-D Speaker Driver Performance TOTAL HARMONIC DISTORTION + NOISE vs OUTPUT POWER TOTAL HARMONIC DISTORTION + NOISE vs OUTPUT POWER 0 AVDD = HPVDD = 3.3 V IOVDD = 3.3 V SPLVDD = 5.5 V DVDD = 1.8 V RL = 8 Ω −10 −20 −30 Driver Gain = 24 dB −40 THD+N − Total Harmonic Distortion + Noise − dB THD+N − Total Harmonic Distortion + Noise − dB 0 Driver Gain = 12 dB Driver Gain = 18 dB −50 −60 Driver Gain = 6 dB −70 −80 0.0 0.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 4.4 www.ti.com MICBIAS Performance VOLTAGE vs CURRENT 3.5 3.0 Micbias = AVDD (3.3 V) V − Voltage − V 2.5 Micbias = 2.5 V 2.0 Micbias = 2 V 1.5 1.0 0.5 0.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 I − Current − mA G016 Figure 4-8.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 5 APPLICATION INFORMATION 5.1 Typical Circuit Configuration +3.3VA SVDD 0.1 mF 22 mF 0.1 mF SPKVDD SPKVDD 22 mF 0.1 mF 0.1 mF 10 mF HPVDD AVDD SPKVSS SPKVSS 10 mF AVSS HPVSS GPIO1 HOST PROCESSOR SDA SCL MCLK WCLK SDIN BCLK SPLP SPLM 8-W Speaker SPRP SPRM 8-W Speaker TLV320DAC3101 RESET To External MIC Circuitry Analog In MICBIAS HPL AIN1 HPR Stereo Headphone Out AIN2 AVDD 34.8 kW 25 kW VOL/MICDET 1 mF 9.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 • • • • • • • • www.ti.com Digital sine-wave generator for clicks and beeps Stereo headphone/lineout amplifier Class-D stereo amplifier for 8-Ω speakers Pin-controlled or register-controlled volume level Power-down de-pop and power-up soft start Analog inputs I2C control interface Power-down control block Following a toggle of the RESET pin or a software reset, the device operates in the default mode.
TLV320DAC3101 www.ti.com 5.2.1.5 SLAS666A – JANUARY 2010 – REVISED MAY 2012 Software Power Down By default, all circuit blocks are powered down following a reset condition. Hardware power up of each circuit block can be controlled by writing to the appropriate control register. This approach allows the lowest power-supply current for the functionality required. However, when a block is powered down, all of the register settings are maintained as long as power is still being applied to the device. 5.2.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.3.1 www.ti.com DAC Playback on Headphones, Stereo, 48 kHz, DVDD = 1.8 V, AVDD = 3.3 V, HPVDD = 3.3 V DOSR = 128, Processing Block = PRB_P7 (Interpolation Filter B) Power consumption = 24.28 mW Table 5-1. PRB_P7 Alternative Processing Blocks, 24.28 mW Processing Block Filter Estimated Power Change (mW) PRB_P1 A 1.34 PRB_P2 A 2.86 PRB_P3 A 2.11 PRB_P8 B 1.18 PRB_P9 B 0.53 PRB_P10 B 1.89 PRB_P11 B 0.87 PRB_P23 A 1.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 DOSR = 64, Processing Block = PRB_P12 (Interpolation Filter B) Power consumption = 15.54 mW Table 5-4. PRB_P12 Alternative Processing Blocks, 15.54 mW 5.3.3 Processing Block Filter Estimated Power Change (mW) PRB_P4 A 0.37 PRB_P5 A 1.23 PRB_P6 A 1.15 PRB_P13 B 0.43 PRB_P14 B 0.13 PRB_P15 B 0.85 PRB_P16 B 0.21 DAC Playback on Headphones, Stereo, 8 kHz, DVDD = 1.8 V, AVDD = 3.3 V, HPVDD = 3.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.3.4 www.ti.com DAC Playback on Headphones, Mono, 8 kHz, DVDD = 1.8 V, AVDD = 3.3 V, HPVDD = 3.3 V DOSR = 768, Processing Block = PRB_P12 (Interpolation Filter B) Power consumption = 14.49 mW Table 5-7. PRB_P12 Alternative Processing Blocks, 14.49 mW Processing Block Filter Estimated Power Change (mW) PRB_P4 A –0.04 PRB_P5 A 0.2 PRB_P6 A –0.01 PRB_P13 B 0.1 PRB_P14 B 0.05 PRB_P15 B –0.03 PRB_P16 B 0.
TLV320DAC3101 www.ti.com 5.4 SLAS666A – JANUARY 2010 – REVISED MAY 2012 Analog Signals The TLV320DAC3101 analog signals consist of: • Microphone bias (MICBIAS) • Analog inputs AIN1 and AIN2 • Analog outputs class-D speaker driver and headphone/lineout driver providing output capability for the DAC, AIN1, AIN2 or a mix of the three 5.4.1 MICBIAS The TLV320DAC3101 includes a microphone bias circuit which can source up to 4 mA of current and is programmable to a 2-V, 2.5-V, or AVDD level.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.5.1 www.ti.com DAC The TLV320DAC3101 stereo audio DAC supports data rates from 8 kHz to 192 kHz. Each channel of the stereo audio DAC consists of a signal-processing engine with fixed processing blocks, a digital interpolation filter, multibit digital delta-sigma modulator, and an analog reconstruction filter.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 5-11. Overview – DAC Predefined Processing Blocks Processing Block No.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 5.5.1.2.3 Six Biquads, First-Order IIR, Filter A or B BiQuad A IIR from Interface BiQuad B BiQuad C BiQuad D BiQuad E Interp. Filter A,B BiQuad F ´ to Modulator Digital Volume Ctrl Figure 5-4. Signal Chain for PRB_P3, PRB_P6, PRB_P11, and PRB_P16 5.5.1.2.4 IIR, Filter B or C Interp. Filter B,C IIR from Interface ´ to Modulator Digital Volume Ctrl Figure 5-5. Signal Chain for PRB_P7, PRB_P12, PRB_P17, and PRB_P20 5.5.1.2.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.5.1.2.8 Four Biquads, First-Order IIR, Filter C IIR from Interface BiQuad A BiQuad B BiQuad C BiQuad D Interp. Filter C ´ to modulator Digital Volume Ctrl Figure 5-9. Signal Chain for PRB_P19 and PRB_P22 5.5.1.2.9 Two Biquads, 3D, Filter A From LeftChannel Interface + Biquad BL + Biquad CL Interp.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 5.5.1.2.10 Five Biquads, DRC, 3D, Filter A IIR from Left Left Channel Interface + BiQuad CL BiQuad BL + BiQuad DL BiQuad EL BiQuad FL ´ Interp. Filter A to Modulator + HPF + BiQuad AL + - Digital Volume Ctrl DRC 3D PGA BiQuad AR from Right Channel Interface IIR Right + BiQuad BR + BiQuad CR BiQuad DR BiQuad ER BiQuad FR HPF ´ Interp. Filter A to Modulator Digital Volume Ctrl DRC Figure 5-11.
TLV320DAC3101 www.ti.com 5.5.1.3 SLAS666A – JANUARY 2010 – REVISED MAY 2012 DAC User-Programmable Filters Depending on the selected processing block, different types and orders of digital filtering are available. Up to six biquad sections are available for specific processing blocks. The coefficients of the available filters are arranged as sequentially-indexed coefficients in two banks. If adaptive filtering is chosen, the coefficient banks can be switched in real time.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 5.5.1.3.1 First-Order IIR Section The IIR is of first order and its transfer function is given by H(z) = N0 + N1z -1 215 - D1z -1 (1) The frequency response for the first-order IIR section with default coefficients is flat. Table 5-13.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 5-14. DAC Biquad Filter Coefficients (continued) Coefficient Left DAC Channel Biquad E N0 Page 8 / register 42 and page 8 / register 43 Page 8 / register 106 and page 8 / register 107 0x7FFF (decimal 1.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 5.5.1.4.2 Interpolation Filter B Filter B is specifically designed for an fS up to 96 ksps. Thus, the flat pass-band region easily covers the required audio band of 0 kHz–20 kHz. Table 5-16. Specification for DAC Interpolation Filter B Parameter Condition Value (Typical) Unit Filter-gain pass band 0 … 0.45 fS ±0.015 dB Filter-gain stop band 0.55 fS … 3.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 DAC Channel Response for Interpolation Filter C (Red Line Corresponds to –43 dB) 0 Magnitude – dB –10 –20 –30 –40 –50 –60 –70 0 0.2 0.4 0.6 0.8 1 1.2 Frequency Normalized to fS 1.4 Figure 5-16. Frequency Response of DAC Interpolation Filter C 5.5.2 DAC Digital-Volume Control The DAC has a digital-volume control block which implements programmable gain.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com When the volume-pin function is used, a 7-bit Vol ADC reads the voltage on the VOL/MICDET pin and updates the digital volume control. (It overwrites the current value of the volume control.) The new volume setting which has been applied due to a change of voltage on the volume control pin can be read on page 0 / register 117, bits D6–D0. The 7-bit Vol ADC clock source can be selected on page 0 / register 116, bit D6.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 As shown in Table 5-18, the VOL/MICDET pin has a range of volume control from 18 dB down to –63 dB, and mute. However, if less maximum gain is required, then a smaller range of voltage should be applied to the VOL/MICDET pin. This can be done by increasing the value of R2 relative to the value of (P1 + R1), so that more voltage is available at the bottom of P1.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Table 5-20.
TLV320DAC3101 www.ti.com 5.5.4.4 SLAS666A – JANUARY 2010 – REVISED MAY 2012 DRC Attack Rate When the output of the DAC digital volume control exceeds the programmed DRC threshold, the gain applied in the DAC digital volume control is progressively reduced to avoid the signal from saturating the channel. This process of reducing the applied gain is called attack. To avoid audible artifacts, the gain is reduced slowly with a rate equaling the attack rate, programmable via page 0 / register 70, bits D7–D4.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.5.4.6 • • • • • • www.ti.com Example Setup for DRC Digital Vol gain = 12 dB Threshold = –24 dB Hysteresis = 3 dB Hold time = 0 ms Attack rate = 1.9531e–4 dB per sample period Decay rate = 2.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Headphone detection is enabled by programming page 0 / register 67, bit D7. In order to avoid false detections due to mechanical vibrations in headset jacks or microphone buttons, a debounce function is provided for glitch rejection. For the case of headset insertion, a debounce function with a range of 32 ms to 512 ms is provided. This can be programmed via page 0 / register 67, bits D4–D2.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.5.7 www.ti.com Key-Click Functionality With Digital Sine-Wave Generator (PRB_P25) A special algorithm has been included in the digital signal processing block PRB_P25 for generating a digital sine-wave signal that is sent to the DAC. The digital sine-wave generator is also referred to as the beep generator in this document. This functionality is intended for generating key-click sounds or beeps for user feedback.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 2. For the sine and cosine values, if the number of bits is less than the full 16-bit value, then the unused MSBs must be written as 0s. 3. For the beep-length values, if number of bits is less than the full 24-bit value, then the unused MSBs must be written as 0s. Following the beep-volume control is a digital mixer that mixes in a playback data stream whose level has already been set by the DAC volume control.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Play - Paused Volume Ramp Down Soft Mute DAC Volume Ramp Down WAIT Time (A) Wait (A) ms For fS = 32 kHz ® Wait 25 ms (min) For fS = 48 kHz ® Wait 20 ms (min) DAC Power Down Update Digital Filter Coefficients DAC Volume Ramp Up Time (B) For fS = 32 kHz ® 25 ms For fS = 48 kHz ® 20 ms DAC Power UP Wait 20 ms Restore Previous Volume Level (Ramp) in (B) ms Play - Continue F0024-02 Figure 5-19.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.5.11 Analog Audio Routing The TLV320DAC3101 has the capability to route the DAC output to either the headphone or the speaker output. If desirable, both output drivers can be operated at the same time while playing at different volume levels. The TLV320DAC3101 provides various digital routing capabilities, allowing digital mixing or even channel swapping in the digital domain.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Table 5-24. Analog Volume Control for Headphone and Speaker Outputs (for D7 = 1) (1) Register Value (D6–D0) (1) Analog Gain (dB) Register Value (D6–D0) Analog Gain (dB) Register Value (D6–D0) Analog Gain (dB) Register Value (D6–D0) Analog Gain (dB) 0 0.0 30 –15.0 60 –30.1 90 –45.2 1 –0.5 31 –15.5 61 –30.6 91 –45.8 2 –1.0 32 –16.0 62 –31.1 92 –46.2 3 –1.5 33 –16.5 63 –31.6 93 –46.7 4 –2.0 34 –17.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 5.5.12 Analog Outputs Various analog routings are supported for playback. All the options can be conveniently viewed on the functional block diagram, Figure 1-1. 5.5.12.1 Headphone Drivers The TLV320DAC3101 features a stereo headphone driver (HPL and HPR) that can deliver up to 30 mW per channel, at 3.3-V supply voltage, into a 16-Ω load.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com The TLV320DAC3101 has a short-circuit protection feature for the speaker drivers that is always enabled to provide protection. If the output is shorted, the output stage shuts down on the overcurrent condition. (Current limiting is not an available option for the higher-current speaker-driver output stage.
TLV320DAC3101 www.ti.com • • SLAS666A – JANUARY 2010 – REVISED MAY 2012 Filter B should be used for up to 96-kHz operations; DOSR must be a multiple of 4. Filter C should be used for up to 192-kHz operations; DOSR must be a multiple of 2. In all cases, DOSR is limited in its range by the following condition: 2.8 MHz < DOSR × DAC_fS < 6.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com (h) Micellaneous page 0 controls 3. Program analog blocks (a) Set register page to 1 (b) Program common-mode voltage (c) Program headphone-specific depop settings (in case headphone driver is used) (d) Program routing of DAC output to the output amplifier (headphone/lineout or speaker) (e) Unmute and set gain of output drivers (f) Power up output drivers 4.
TLV320DAC3101 www.ti.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 # # # # w # # # # w # # w # w # # # # w 5.6 www.ti.com 5.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 BCLK MCLK DIN GPIO1 PLL_CLKIN PLL ´ (R ´ J.D)/P BCLK MCLK GPIO1 PLL_CLK CODEC_CLKIN ¸ NDAC To DAC MAC NDAC = 1, 2, ..., 127, 128 DAC_CLK ¸ MDAC MDAC = 1, 2, ..., 127, 128 DAC_MOD_CLK ¸ DOSR DOSR = 1, 2, ..., 1023, 1024 DAC_fS B0357-04 Figure 5-20. Clock Distribution Tree DAC _ MOD _ CLK = DAC _ fS = CODEC _ CLKIN NDAC ´ MDAC CODEC _ CLKIN NDAC ´ MDAC ´ DOSR (5) Table 5-26.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com The DAC modulator is clocked by DAC_MOD_CLK. For proper power-up operation of the DAC channel, DAC_MOD_CLK must be enabled by configuring the NDAC and MDAC clock dividers (page 0 / register 11, bit D7 = 1 and page 0 / register 12, bit D7 = 1). When the DAC channel is powered down, the device internally initiates a power-down sequence for proper shutdown.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 PLL_CLK MCLK BCLK DIN DAC_MOD_CLK DAC_CLK CDIV_CLKIN M = 1, 2, ..., 127, 128 ÷M GPIO1 (CLKOUT) B0363-01 Figure 5-22. General-Purpose Clock Output Options Table 5-27. Maximum TLV320DAC3101 Clock Frequencies DVDD ≥ 1.65 V Clock CODEC_CLKIN ≤ 110 MHz DAC_CLK (DAC processing clock) ≤ 49.152 MHz DAC_MOD_CLK 6.758 MHz DAC_fS 0.192 MHz 5.6.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com The PLL can be turned on via page 0 / register 5, bit D7. The variable P can be programmed via page 0 / register 5, bits D6–D4. The variable R can be programmed via page 0 / register 5, bits D3–D0. The variable J can be programmed via page 0 / register 6, bits D5–D0. The variable D is 14 bits and is programmed into two registers.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 5-28. PLL Example Configurations (continued) PLL_CLKIN (MHz) PLLP PLLR PLLJ PLLD MDAC NDAC DOSR 4 1 7 1680 7 2 128 fS = 44.1 kHz 48 5.6.2 Timer The internal clock runs nominally at 8.2 MHz. This is used for various internal timing intervals, de-bounce logics and interrupts. The MCLK divider must be set such a way that the divider output is ~1 MHz for the timers to be closer to the programmed value.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com The TLV320DAC3101 also includes a feature to offset the position of start of data transfer with respect to the word clock. This offset can be controlled in terms of number of bit clocks and can be programmed in page 0 / register 28. The TLV320DAC3101 also has the feature of inverting the polarity of the bit clock used for transferring the audio data as compared to the default clock polarity used.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 WORD CLOCK LEFT CHANNEL RIGHT CHANNEL BIT CLOCK DATA N N N - - 1 2 3 3 2 1 N N N - - 1 2 3 0 3 LD(n) 2 1 N N N - - 1 2 3 0 RD(n) LD(n) = n'th sample of left channel data LD(n+1) RD(n) = n'th sample of right channel data Figure 5-25.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 WORD CLOCK www.ti.com LEFT CHANNEL RIGHT CHANNEL BIT CLOCK N N N - - 1 2 3 DATA 3 2 1 N N N - - 1 2 3 0 LD(n) 3 2 1 N N N - - 1 2 3 0 RD(n) LD(n) = n'th sample of left channel data 3 LD(n+1) RD(n) = n'th sample of right channel data Figure 5-28.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 WORD CLOCK LEFT CHANNEL RIGHT CHANNEL BIT CLOCK N N N - - 1 2 3 DATA 3 2 1 0 N N N - - 1 2 3 LD(n) 3 2 1 N N N - - 1 2 3 0 RD(n) LD(n) = n'th sample of left channel data 3 LD (n+1) RD(n) = n'th sample of right channel data Figure 5-31.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Table 5-29.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 S_BCLK BCLK BCLK BCLK BCLK_OUT BCLK_INT S_BCLK WCLK S_WCLK WCLK WCLK DAC_fS Primary Audio Processor DAC_WCLK_INT S_WCLK Audio Digital Serial Interface DIN DOUT DIN DIN_INT S_DIN DIN BCLK2 GPIO1 S_BCLK BCLK BCLK BCLK_OUT WCLK2 GPIO1 S_WCLK WCLK WCLK BCLK_OUT DAC_fS Secondary Audio Processor GPIO1 DAC_fS Clock Generation S_DIN DOUT DIN B0375-01 Figure 5-34. Audio Serial Interface Multiplexing 5.7.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Communication on the I2C bus always takes place between two devices, one acting as the master and the other acting as the slave. Both masters and slaves can read and write, but slaves can only do so under the direction of the master. Some I2C devices can act as masters or slaves, but the TLV320DAC3101 can only act as a slave device. An I2C bus consists of two lines, SDA and SCL. SDA carries data, and the SCL signal provides the clock.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 SCL DA(6) SDA Start (M) DA(0) 7-bit Device Address (M) RA(7) Write (M) Slave Ack (S) DA(6) RA(0) 8-bit Register Address (M) Slave Ack (S) Repeat Start (M) DA(0) 7-bit Device Address (M) D(7) Read (M) Slave Ack (S) 8-bit Register Data (S) D(0) Master No Ack (M) Stop (M) (M) => SDA Controlled by Master (S) => SDA Controlled by Slave Figure 5-36.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com 6 REGISTER MAP 6.1 TLV320DAC3101 Register Map All features on this device are addressed using the I2C bus. All of the writable registers can be read back. However, some registers contain status information or data, and are available for reading only. The TLV320DAC3101 contains several pages of 8-bit registers, and each page can contain up to 128 registers. The register pages are divided up based on functional blocks for this device.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 0 / Register 3 (0x03): OT FLAG D7–D2 D1 READ/ WRITE R R RESET VALUE XXXX XX 1 D0 R/W X BIT DESCRIPTION Reserved. Do not write to these bits. 0: Overtemperature protection flag (active-low). Valid only if speaker amplifier is powered up 1: Normal operation Reserved. Do not write to these bits.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 0 / Register 8 (0x08): PLL D-Value LSB (1) BIT D7–D0 (1) READ/ WRITE R/W RESET VALUE 0000 0000 DESCRIPTION PLL fractional multiplier D-value LSBs D[7:0] Note that page 0 / register 8 must be written immediately after page 0 / register 7.
TLV320DAC3101 www.ti.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 0 / Register 29 (0x1D): Codec Interface Control 2 D7–D4 D3 READ/ WRITE R/W R/W RESET VALUE 0000 0 D2 R/W 0 D1–D0 R/W 00 BIT DESCRIPTION Reserved 0: BCLK is not inverted (valid for both primary and secondary BCLK). 1: BCLK is inverted (valid for both primary and secondary BCLK).
TLV320DAC3101 www.ti.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 0 / Register 39 (0x27): Overflow Flags D7 (1) READ/ WRITE R RESET VALUE 0 D6 (1) R 0 D5 (1) R 0 D4–D0 R/W 0 0000 BIT (1) DESCRIPTION Left-Channel DAC Overflow Flag 0: Overflow has not occurred. 1: Overflow has occurred. Right-Channel DAC Overflow Flag 0: Overflow has not occurred. 1: Overflow has occurred. DAC Barrel Shifter Output Overflow Flag 0: Overflow has not occurred. 1: Overflow has occurred.
TLV320DAC3101 www.ti.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 0 / Register 50 (0x32): Reserved READ/ WRITE R/W RESET VALUE 0000 0000 D7–D6 D5–D2 READ/ WRITE R/W R/W RESET VALUE XX 0000 D1 D0 R R/W X 0 READ/ WRITE R/W RESET VALUE XX READ/ WRITE R/W RESET VALUE 0000 0000 D7–D3 D2–D1 READ/ WRITE R/W R/W RESET VALUE 0000 0 01 D0 R X READ/ WRITE R RESET VALUE XXXX XXXX BIT D7-D0 DESCRIPTION Reserved. Write only reset values.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 0 / Register 60 (0x3C): DAC Processing Block Selection READ/ WRITE R/W R/W RESET VALUE 000 00 0001 READ/ WRITE R RESET VALUE XXXX XXXX D7 READ/ WRITE R/W RESET VALUE 0 D6 R/W 0 D5–D4 R/W 01 D3–D2 R/W 01 D1–D0 R/W 00 D7–D4 D3 READ/ WRITE R/W R/W RESET VALUE 0000 1 D2 R/W 1 D1–D0 R/W 00 (1) BIT D7–D5 D4–D0 DESCRIPTION Reserved. Write only default value. 0 0000: Reserved. Do not use.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 0 / Register 65 (0x41): DAC Left Volume Control READ/ WRITE R/W RESET VALUE 0000 0000 READ/ WRITE R/W RESET VALUE 0000 0000 D7 READ/ WRITE R/W RESET VALUE 0 D6–D5 R XX D4–D2 R/W 000 D1–D0 R/W 00 BIT D7–D0 DESCRIPTION Left DAC Channel Digital Volume Control Setting 0111 1111–0011 0001: Reserved. Do not use 0011 0000: Digital volume control = 24 dB 0010 1111: Digital volume control = 23.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 0 / Register 68 (0x44): DRC Control 1 D7 D6 READ/ WRITE R/W R/W RESET VALUE 0 0 D5 R/W 0 D4–D2 R/W 011 D1–D0 R/W 11 D D6–D3 READ/ WRITE R R/W RESET VALUE 0 0111 D2–D0 R 000 READ/ WRITE R/W RESET VALUE 0000 BIT DESCRIPTION Reserved. Write only the reset value to these bits.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 0 / Register 71 (0x47): Left Beep Generator D7 READ/ WRITE R/W RESET VALUE 0 D6 D5–D0 R/W R/W 0 00 0000 BIT (1) (1) DESCRIPTION 0: Beep generator is disabled. 1: Beep generator is enabled (self-clearing based on beep duration). Reserved. Write only reset value.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 0 / Register 79 (0x4F): Beep Cos(x) LSB READ/ WRITE R/W RESET VALUE 1110 0011 READ/ WRITE R/W RESET VALUE XXXX XXXX D7 READ/ WRITE R/W RESET VALUE 0 D6 R/W 0 D5–D4 R/W 00 D3 D2–D0 R/W R/W 0 000 READ/ WRITE R R RESET VALUE 0 XXX XXXX BIT D7–D0 DESCRIPTION 8 LSBs out of 16 bits for cos(2π × fin/fS), where fin is the beep frequency and fS is the DAC sample rate.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 6.3 www.ti.com Control Registers, Page 1: DAC, Power-Controls and MISC Logic-Related Programmabilities Page 1 / Register 0 (0x00): Page Control Register BIT D7–D0 READ/ WRITE R/W RESET VALUE 0000 0000 DESCRIPTION 0000 0000: 0000 0001: ...
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 1 / Register 33 (0x21): HP Output Drivers POP Removal Settings D7 READ/ WRITE R/W RESET VALUE 0 D6–D3 R/W 0111 D2–D1 R/W 11 D0 R/W 0 D7 D6–D4 READ/ WRITE R/W R/W RESET VALUE 0 000 D3–D0 R/W 0000 BIT DESCRIPTION 0: If power-down sequence is activated by device software, power down using page 1 / register 46, bit D7, then power down the DAC simultaneously with the HP and SP amplifiers.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 1 / Register 35 (0x23): DAC_L and DAC_R Output Mixer Routing D7–D6 READ/ WRITE R/W RESET VALUE 00 D5 R/W 0 BIT D4 0 D3–D2 R/W 00 D1 R/W 0 D0 R/W 0 D7 READ/ WRITE R/W RESET VALUE 0 D6–D0 R/W 111 1111 D7 READ/ WRITE R/W RESET VALUE 0 D6–D0 R/W 111 1111 DESCRIPTION 00: DAC_L is not routed anywhere. 01: DAC_L is routed to the left-channel mixer amplifier. 10: DAC_L is routed directly to the HPL driver.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 1 / Register 40 (0x28): HPL Driver D7 D6–D3 READ/ WRITE R/W R/W RESET VALUE 0 0000 D2 R/W 0 D1 R/W 1 D0 R 0 BIT (1) DESCRIPTION Reserved. Write only zero to this bit. 0000: HPL driver PGA = 0 dB 0001: HPL driver PGA = 1 dB 0010: HPL driver PGA = 2 dB ... 1000: HPL driver PGA = 8 dB 1001: HPL driver PGA = 9 dB 1010–1111: Reserved. Do not write these sequences to these bits. 0: HPL driver is muted.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 1 / Register 43 (0x2B): SPR Driver D7–D5 D4–D3 READ/ WRITE R/W R/W RESET VALUE 000 00 D2 R/W 0 D1 D0 R/W R 0 0 D7–D5 READ/ WRITE R/W RESET VALUE 000 D4–D3 R/W 00 D2 R/W 0 D1 R/W 0 D0 R/W 0 BIT DESCRIPTION Reserved. Write only zeros to these bits.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Page 1 / Register 47 (0x2F) Through Page 1 / Register 49 (0x31): Reserved READ/ WRITE R RESET VALUE XXXX XXXX D7 READ/ WRITE R/W RESET VALUE 0 D6 R/W 0 D5–D0 R/W 000000 READ/ WRITE R/W RESET VALUE XXXX XXXX BIT D7–D0 DESCRIPTION Reserved. Do not write to these bits. Page 1 / Register 50 (0x32): Input CM Settings BIT DESCRIPTION 0: AIN1 input is floating if it is not used for analog bypass.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Page 8 / Register 1 (0x01): DAC Coefficient RAM Control D7–D3 D2 READ/ WRITE R/W R/W RESET VALUE 0000 0 0 D1 R 0 D0 R/W 0 BIT DESCRIPTION Reserved. Write only the reset value.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 6-2.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Table 6-2.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 6-2.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 6.6 www.ti.com Control Registers, Page 9: DAC Programmable Coefficients RAM Buffer A (65:127) Default values shown for this page only become valid 100 μs following a hardware or software reset. Page 9 / Register 0 (0x00): Page Control Register BIT D7–D0 READ/ WRITE R/W RESET VALUE 0000 0000 DESCRIPTION 0000 0000: 0000 0001: ...
TLV320DAC3101 www.ti.com 6.7 SLAS666A – JANUARY 2010 – REVISED MAY 2012 Control Registers, Page 12: DAC Programmable Coefficients RAM Buffer B (1:63) Table 6-4. Page 12 / Register 0 (0x00): Page Control Register BIT D7–D0 READ/ WRITE R/W RESET VALUE 0000 0000 DESCRIPTION 0000 0000: 0000 0001: ...
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Table 6-5.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Table 6-5.
TLV320DAC3101 SLAS666A – JANUARY 2010 – REVISED MAY 2012 www.ti.com Table 6-5. Page 12 DAC Buffer B Registers (continued) REGISTER NUMBER RESET VALUE 122 (0x7A) 0000 0000 Coefficient D1(15:8) for right DAC-programmable biquad F 123 (0x7B) 0000 0000 Coefficient D1(7:0) for right DAC-programmable biquad F 124 (0x7C) 0000 0000 Coefficient D2(15:8) for right DAC-programmable biquad F 125 (0x7D) 0000 0000 Coefficient D2(7:0) for right DAC-programmable biquad F 126–127 0000 0000 Reserved 6.
TLV320DAC3101 www.ti.com SLAS666A – JANUARY 2010 – REVISED MAY 2012 Revision History NOTE: Page numbers for previous revisions may differ from page numbers in the current version. Changes from Original (January, 2010) to Revision A • • • • • • • • • • • • Page Changed register 36 to register 35. ........................................................................................... Added D6–D0 to the Register Value column heading and changed Analog Attenuation to Analog Gain. .....
PACKAGE OPTION ADDENDUM www.ti.
PACKAGE MATERIALS INFORMATION www.ti.com 27-Jul-2013 TAPE AND REEL INFORMATION *All dimensions are nominal Device Package Package Pins Type Drawing SPQ Reel Reel A0 Diameter Width (mm) (mm) W1 (mm) B0 (mm) K0 (mm) P1 (mm) W Pin1 (mm) Quadrant TLV320DAC3101IRHBR VQFN RHB 32 3000 330.0 12.4 5.3 5.3 1.5 8.0 12.0 Q2 TLV320DAC3101IRHBR VQFN RHB 32 3000 330.0 12.4 5.3 5.3 1.5 8.0 12.0 Q2 TLV320DAC3101IRHBT VQFN RHB 32 250 180.0 12.4 5.3 5.3 1.5 8.0 12.
PACKAGE MATERIALS INFORMATION www.ti.com 27-Jul-2013 *All dimensions are nominal Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm) TLV320DAC3101IRHBR VQFN RHB 32 3000 367.0 367.0 35.0 TLV320DAC3101IRHBR VQFN RHB 32 3000 367.0 367.0 35.0 TLV320DAC3101IRHBT VQFN RHB 32 250 210.0 185.0 35.0 TLV320DAC3101IRHBT VQFN RHB 32 250 210.0 185.0 35.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.