TLV320AIC3204
TLV320AIC3204
1 Introduction
• Integrated LDO
1.1 Features • 5 mm x 5 mm 32-pin QFN Package
• Stereo Audio DAC with 100dB SNR
• 4.1mW Stereo 48ksps DAC Playback 1.2 Applications
• Stereo Audio ADC with 93dB SNR • Portable Navigation Devices (PND)
• 6.1mW Stereo 48ksps ADC Record • Portable Media Player (PMP)
• PowerTune™ • Mobile Handsets
• Extensive Signal Processing Options • Communication
• Six Single-Ended or 3 Fully-Differential Analog • Portable Computing
Inputs
• Stereo Analog and Digital Microphone Inputs
1.3 Description
• Stereo Headphone Outputs
• Stereo Line Outputs The TLV320AIC3204 (sometimes referred to as the
AIC3204) is a flexible, low-power, low-voltage stereo
• Very Low-Noise PGA
audio codec with programmable inputs and outputs,
• Low Power Analog Bypass Mode PowerTune capabilities, fixed predefined and
• Programmable Microphone Bias parameterizable signal processing blocks, integrated
• Programmable PLL PLL, integrated LDOs and flexible digital interfaces.
IN1_L
-72...0dB
IN2_L AGC DRC Vol. Ctrl
-6...+29dB
IN3_L + 0…+47.5 dB
ADC DAC + HPL
Left Left
tpl ´ Signal Signal ´
ADC DAC
Proc. Proc.
+ Gain Adj.
1dB steps
0.5 dB
steps -30...0 dB -6...+29dB
CM
+ LOL
1dB steps
Data Interface
-30...0 dB -6...+29dB
+ LOR
CM
0… 1dB steps
+ +47.5 dB Gain Adj.
ADC DAC -6...+29dB
Right Right
ADC
tpr ´ Signal Signal ´ DAC + HPR
Proc. Proc.
IN3_R +
0.5 dB steps
IN2_R AGC DRC Vol. Ctrl -72...0dB 1dB steps
IN1_R
SPI_Select
SPI / I2C Digital Interrupt Secondary Primary
PLL
Reset Control Block Mic. Ctrl I2S IF I2S Interface
HPVdd
LDO Select
AVdd
DVdd
IOVdd
AVss
DVss
IOVss
SCL/SSZ
SDA/MOSI
MISO
SCLK
MCLK
GPIO
DOUT
DIN
BCLK
WCLK
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas
Instruments semiconductor products and disclaimers thereto appears at the end of this document.
PowerTune is a trademark of Texas Instruments.
PRODUCTION DATA information is current as of publication date. Copyright © 2008–2008, Texas Instruments Incorporated
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
TLV320AIC3204
These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in
conductive foam during storage or handling to prevent electrostatic damage to the MOS gates.
DOUT/MFP2
SCLK/MFP3
DIN/MFP1
MCLK (1)
WCLK
OVIDD
BCLK
IOVSS
1 8
3 Electrical Specifications
THD+N Total Harmonic Distortion plus Noise IN2R,IN3R routed to Right ADC –85
IN2L, IN3L routed to Left ADC
–3dB full-scale, 1-kHz input signal
AUDIO ADC
Input signal level (0dB) Single-ended, CM=0.75V, AVdd = 1.5V 0.375 VRMS
1kHz sine wave input
Single-ended Configuration
IN1R, IN2R, IN3R routed to Right ADC
IN1L, IN2L, IN3L routed to Left ADC
Rin = 20K, fs = 48kHz,
Device Setup
AOSR=128, MCLK = 256* fs,
PLL Disabled, AGC = OFF,
Channel Gain = 0dB,
Processing Block = PRB_R1
Power Tune = PTM_R4
(1) (2)
SNR Signal-to-noise ratio, A-weighted Inputs ac-shorted to ground 91 dB
(1) (2)
DR Dynamic range A-weighted –60dB full-scale, 1-kHz input signal 90 dB
THD+N Total Harmonic Distortion plus Noise –3dB full-scale, 1-kHz input signal –80 dB
AUDIO ADC
Input signal level (0dB) Differential Input, CM=0.9V 10 mV
1kHz sine wave input
Differential configuration
IN1L and IN1R routed to Right ADC
IN2L and IN2R routed to Left ADC
Device Setup Rin =10K, fs =48kHz, AOSR=128
MCLK = 256* fs PLL Disabled
AGC = OFF, Channel Gain=40dB Processing Block
= PRB_R1,
Power Tune = PTM_R4
ICN Idle-Channel Noise, A-weighted (1) (2)
Inputs ac-shorted to ground, input referred noise 2 µVRMS
(1) Ratio of output level with 1-kHz full-scale sine wave input, to the output level with the inputs short circuited, measured A-weighted over a
20-Hz to 20-kHz bandwidth using an audio analyzer.
(2) All performance measurements done with 20-kHz low-pass filter and, where noted, A-weighted filter. Failure to use such a filter may
result in higher THD+N and lower SNR and dynamic range readings than shown in the Electrical Characteristics. The low-pass filter
removes out-of-band noise, which, although not audible, may affect dynamic specification values
(1) All performance measurements done with 20-kHz low-pass filter and, where noted, A-weighted filter. Failure to use such a filter may
result in higher THD+N and lower SNR and dynamic range readings than shown in the Electrical Characteristics. The low-pass filter
removes out-of-band noise, which, although not audible, may affect dynamic specification values
(1) Ratio of output level with 1-kHz full-scale sine wave input, to the output level with the inputs short circuited, measured A-weighted over a
20-Hz to 20-kHz bandwidth using an audio analyzer.
(2) All performance measurements done with 20-kHz low-pass filter and, where noted, A-weighted filter. Failure to use such a filter may
result in higher THD+N and lower SNR and dynamic range readings than shown in the Electrical Characteristics. The low-pass filter
removes out-of-band noise, which, although not audible, may affect dynamic specification values
WCLK
td(WS)
BCLK
td(DO-WS) td(DO-BCLK)
DOUT
tS(DI) th(DI)
DIN
All numbers are from characterization and are not tested in final production.
3.4.2 TYPICAL TIMING CHARACTERISTICS (see Figure 3-1)
All specifications at 25°C, DVdd = 1.8V
Note: All timing specifications are measured at characterization but not tested at final test.
WCLK
td (WS)
BCLK td (DO-WS) td(DO-BCLK)
DOUT
ts (DI) th (DI)
DIN
Note: All timing specifications are measured at characterization but not tested at final test.
WCLK
td(WS) td(WS)
BCLK
td(DO-BCLK)
DOUT
ts(DI) th(DI)
DIN
Note: All timing specifications are measured at characterization but not tested at final test.
WCLK
th(ws) th(ws)
ts(ws) th(ws)
BCLK tL(BCLK)
tH(BCLK)
td(DO-BCLK)
tP(BCLK)
DOUT
ts(DI) th(DI)
DIN
Note: All timing specifications are measured at characterization but not tested at final test.
Figure 3-5.
SSZ t
S t Lag td
t Lead t
sck
tf tr
SCLK t wsck
t wsck
MISO tv t ho t dis
4 TYPICAL CHARACTERISTICS
40 -60
20 -80
10 -90
0 -100
-20 0 20 40 60 0 20 40 60 80 100
Channel Gain - dB Headphone Output Power - mW
-20 SNR
SNR - Signal-to-Noise Ratio - dB
95
-30 50
CM=1.5 V 90
-40
CM=1.65 V 85 40
-50
80 OUTPUT POWER 30
-60
75
-70
20
-80 70
-90 65 10
-100 60 0
0 50 100 150 200 0.75 0.9 1.25 1.5 1.65
Headphone output Power - mW
Output Common Mode Setting - V
5
200
AVDD LDO
0
150 DVDD LDO
-5
100
-10
50
-15
0 -20
0 10 20 30 40 50 0 10 20 30 40 50
Load - mA Load - mA
2.55
MicBIAS Voltage - mV
2.5
2.45
2.4
0 0.5 1 1.5 2 2.5 3
MicBIAS Load - mA
Figure 4-7.
4.2 FFT
SINGLE ENDED LINE INPUT TO ADC FFT @ -1dBr DAC PLAYBACK TO HEADPHONE FFT @ -1dBFS
vs vs
FREQUENCY FREQUENCY
0 0
ADC DAC
-20 -20
-40
-40
Power - dBFs
Power - dBr
-60
-60
-80
-80
-100
-100
-120
-140 -120
0 5000 10000 15000 20000 0 5000 10000 15000 20000
f - Frequency - Hz f - Frequency - Hz
DAC PLAYBACK TO LINE-OUT FFT @ -1dBFS LINE INPUT TO HEADPHONE FFT @ 446mVrms
vs vs
FREQUENCY FREQUENCY
0 0
DAC
-20
-20
-40
-40
Power - dBr
Power - dBr
-60
-60
-80
-80
-100
-100
-120
-120 -140
0 5000 10000 15000 20000 0 5000 10000 15000 20000
f - Frequency - Hz f - Frequency - Hz
-20
-40
Power - dBr
-60
-80
-100
-120
-140
0 5000 10000 15000 20000
f - Frequency - Hz
Figure 4-12.
5 Application Information
Host Processor
SPI_Select
1k 1k 2.7k 1K 0.1u
MICBIAS LOL
4700p 0.1u
TPA2012
0.1uF 0.1u Class D Amp
1K
IN1_R LOR
4700p 0.1u
0.1uF
IN1_L
TLV320AIC3204
0.1uF
1.9...3.6V
IN2_L
LDOIN 0.1uF 1.0uF 10uF
0.1uF
IN2_R
1.1...3.6V
1k 1k
MFP3/SCLK IOVDD
0.1uF
IN3_R LDO_SELECT
5.2 OVERVIEW
The TLV320AIC3204 offers a wide range of configuration options. Figure 1-1 shows the basic functional
blocks of the device.
(1) S(1): The MCLK pin can be used to drive the PLL and Codec Clock inputs simultaneously
(2) S(2): The BCLK pin can be used to drive the PLL and Codec Clock and audio interface bit clock inputs simultaneously
(3) S(3): The DIN/MFP1 pin can be used to drive the PLL and audio interface data inputs simultaneously
(4) S(4): The GPIO/MFP5 pin can be used to drive the PLL and Codec Clock inputs simultaneously
(5) D: Default Function
(6) E: The pin is exclusively used for this function, no other function can be implemented with the same pin (e.g. if GPIO/MFP5 has been
allocated for General Purpose Output, it cannot be used as the INT1 output at the same time)
Pin Function 1 2 3 4 5 8 11 32
MCLK BCLK WCLK DIN DOUT SCLK MISO GPIO
MFP1 MFP2 MFP3 MFP4 MFP5
L General Purpose Input II E
L General Purpose Input III E
M INT1 output E E E
N INT2 output E E E
O Digital Microphone Data Input E E E
P Digital Microphone Clock Output E E
Q Secondary I2S BCLK input E E
R Secondary I2S WCLK in E E
2
S Secondary I S DIN E E
T Secondary I2S DOUT E
U Secondary I2S BLCK OUT E E E
2
V Secondary I S WCLK OUT E E E
W Headset Detect Input E
X Aux Clock Output E E E
Required Register
Description Required Register Setting Description
Setting
Pg 0, Reg 52,
I2S ADC word clock input Pg 0, Reg 56, D(2:1)=01 Secondary I2S WCLK in on pin 32, D(5:2)=0001
G8 R32
on pin 8, SCLK/MFP3 Pg 0, Reg 31, D(2:1)=01 GPIO/MFP50 Pg 0, Reg 31,
D(4:3)=0
Pg 0, Reg 56,
I2S ADC word clock input Pg 0, Reg 52, D(5:2)=0001 Secondary I2S DIN on pin 8,
G32 S8 D(2:1)=01
on pin 32 GPIO/MFP5 Pg 0, Reg 31, D(2:1)=00 SCLK/MFP3
Pg 0, Reg 31,0=1
Pg 0, Reg 52,
I2S ADC WCLK out on pin Secondary I2S DIN on pin 32,
H11 Pg 0, Reg 55, D(4:1)=0110 S32 D(5:2)=0001
11 MISO/MFP4 GPIO/MFP5
Pg 0, Reg 31,0=0
I2S ADC WCLK out on pin Secondary I2S DOUT on pin 11, Pg 0, Reg 55,
H32 Pg 0, Reg 52, D(5:2)=0111 T11
32 GPIO/MFP5 MISO/MFP4 D(4:1)=1000
I2S DIN on pin 4, Secondary I2S BCLK OUT on pin Pg 0, Reg 53,
I4 Pg 0, Reg 54, D(2:1)=01 U5
DIN/MFP1 5, DOUT/MFP2 D(3:1)=110
I2S DOUT on pin 4, Secondary I2S BCLK OUT on pin Pg 0, Reg 55,
J5 Pg 0, Reg 53, D(3:1)=001 U11
DOUT/MFP2 11, MISO/MFP4 D(4:1)=1001
General Purpose Out I on Secondary I2S BCLK OUT on pin Pg 0, Reg 52,
K5 Pg 0, Reg 53, D(3:1)=010 U32
pin 5, DOUT/MFP2 32, GPIO/MFP5 D(5:2)=1000
General Purpose Out II on Secondary I2S WCLK OUT on pin Pg 0, Reg 53,
K11 Pg 0, Reg 55, D(4:1)=0010 V5
pin 11, MISO/MFP4 5, SCLK/MFP3 D(3:1)=111
General Purpose Out III on Secondary I2S WCLK OUT on pin Pg 0, Reg 55,
K32 Pg 0, Reg 52, D(5:2)=0011 V11
pin 32, GPIO/MFP5 11, MISO/MFP4 D(4:1)=1010
General Purpose In I on pin Secondary I2S WCLK OUT on pin Pg 0, Reg 52,
L4 Pg 0, Reg 54, D(2:1)=10 V32
4, DIN/MFP1 32, GPIO/MFP5 D(5:2)=1001
Pg 0, Reg 56,
General Purpose In II on Headset Detect Input on pin 8,
L8 Pg 0, Reg 56, D(2:1)=10 W8 D(2:1)=00
pin 8, SCLK/MFP3 SCLK/MFP3
Pg 0,67,7=1
General Purpose In III on Aux Clock Output on pin 5, Pg 0, Reg 53,
L32 Pg 0, Reg 52, D(5:2)=0010 X5
pin 32, GPIO/MFP5 DOUT/MFP2 D(3:1)=011
INT1 output on pin 5, Aux Clock Output on pin 11, Pg 0, Reg 55,
M5 Pg 0, Reg 53, D(3:1)=100 X11
DOUT/MFP2 MISO/MFP4 D(4:1)=0011
INT1 output on pin 11, Aux Clock Output on pin 32, Pg 0, Reg 52,
M11 Pg 0, Reg 55, D(4:1)=0100 X32
MISO/MFP4 GPIO/MFP5 D(5:2)=0100
INT1 output on pin 32,
M32 Pg 0, Reg 52, D(5:2)=0101
GPIO/MFP5
IN1_L
N -
IN2_R N
MAL
IN3_R LDAC
RDAC
Left Channel, Input Options: Line Out LOL
Amplifier
LOR
-6dB … + 29 dB
Single Ended: IN1_L or IN2_L or IN3_L or IN1_R
CM1L
1,10,6
CM1R
CM
CM2R
MAR
IN1_L
P
N
+ PGA
Mic
LeftLADC
ADC Right DAC
0...47.5 dB
CM HP
P -
IN2_L N HPL
LDAC
Headphone
IN3_R HPR
RDAC Amplifier
Mixer Amp -6dB … + 29 dB
0..-30dB MAR
IN2_R
IN1R
IN1_R
5.5 POWERTUNE
The TLV320AIC3204 features PowerTune, a mechanism to balance power-versus-performance trade-offs
at the time of device configuration. The device can be tuned to minimize power dissipation, to maximize
performance, or to an operating point between the two extremes to best fit the application.
5.5.2.4 ADC, Mono, 48kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
AOSR = 128, Processing Block = PRB_R4 (Decimation Filter A)
Device Common Mode Setting = 0.75V Device Common Mode Setting = 0.9V
PTM_R1 PTM_R2 PTM_R3 PTM_R4 PTM_R1 PTM_R2 PTM_R3 PTM_R4 UNIT
0dB full scale X 375 375 375 X 500 500 500 mVRMS
Max. allowed input level w.r.t. X –12 0 0 X –12 0 0 dB full
0dB full scale scale
Effective SNR w.r.t. X 78.3 90.8 90.6 X 80.3 92.8 92.7 dB
max. allowed input level
Power consumption X 9.1 11.4 15.4 X 9.1 11.4 15.4 mW
5.5.2.7 ADC, Stereo, 8kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
AOSR = 128, Processing Block = PRB_R1 (Decimation Filter A)
Device Common Mode Setting = 0.75V Device Common Mode Setting = 0.9V
PTM_R1 PTM_R2 PTM_R3 PTM_R4 PTM_R1 PTM_R2 PTM_R3 PTM_R4 UNIT
0dB full scale 375 X X X 500 X X X mVRMS
Max. allowed input level w.r.t. 0 X X X 0 X X X dB full
0dB full scale scale
Effective SNR w.r.t. 91.1 X X X 93.2 X X X dB
max. allowed input level
Power consumption 6.5 X X X 6.5 X X X mW
5.5.2.10 ADC, Mono, 8kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
5.5.2.13 ADC, Stereo, 192kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
AOSR = 32, Processing Block = PRB_R14 (Decimation Filter C)
Device Common Mode Setting = 0.75V Device Common Mode Setting = 0.9V
PTM_R1 PTM_R2 PTM_R3 PTM_R4 PTM_R1 PTM_R2 PTM_R3 PTM_R4 UNIT
0dB full scale X X X 375 X X X 500 mVRMS
Max. allowed input level w.r.t. X X X 0 X X X 0 dB full
0dB full scale scale
Effective SNR w.r.t. X X X 86.5 X X X 88.7 dB
max. allowed input level
Power consumption X X X 21.9 X X X 21.9 mW
5.5.3.3 DAC, Mono, 48kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
DOSR = 128, Processing Block = PRB_P13 (Interpolation Filter B)
Device Common Mode Setting = 0.75V Device Common Mode Setting = 0.9V
PTM_P1 PTM_P2 PTM_P3 PTM_P4 PTM_P1 PTM_P2 PTM_P3 PTM_P4 UNIT
0dB full scale (1) 75 225 375 375 100 300 500 500 mVRMS
HP out Effective SNR w.r.t. 88.1 96.1 98.7 99.5 90.4 96.3 99.4 100 dB
(32Ω 0dB full scale
load)
Power consumption 5.8 6.2 6.5 6.5 5.8 6.2 6.5 6.5 mW
Line out Effective SNR w.r.t. 89.6 97.1 100.3 100.3 90.5 96.3 100 100 dB
0dB full scale
Power consumption 5.0 5.4 5.7 5.7 5.0 5.4 5.7 5.7 mW
(1) Reduced 0dB full-scale swing can be compensated by applying appropriate gain in the output drivers see Section 5.13.1.
5.5.3.5 DAC, Stereo, 8kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
DOSR = 768, Processing Block = PRB_P7 (Interpolation Filter B)
Device Common Mode Setting = 0.75V Device Common Mode Setting = 0.9V
PTM_P1 PTM_P2 PTM_P3 PTM_P4 PTM_P1 PTM_P2 PTM_P3 PTM_P4 UNIT
0dB full scale 75 X X X 100 X X X mVRMS
HP out Effective SNR w.r.t. 88.7 X X X 90.5 X X X dB
(32Ω 0dB full scale (1)
load)
Power consumption 6.1 X X X 6.1 X X X mW
Line out Effective SNR w.r.t. 88.7 X X X 90.5 X X X dB
0dB full scale
Power consumption 3.6 X X X 4.3 X X X mW
(1) Reduced 0dB full-scale swing can be compensated by applying appropriate gain in the output drivers see Section 5.13.1.
5.5.3.7 DAC, Mono, 8kHz, Highest Performance, DVdd = 1.8V, AVdd = 1.8V
DOSR = 768, Processing Block = PRB_P4 (Interpolation Filter A)
Device Common Mode Setting = 0.75V Device Common Mode Setting = 0.9V
PTM_P1 PTM_P2 PTM_P3 PTM_P4 PTM_P1 PTM_P2 PTM_P3 PTM_P4 UNIT
(1)
0dB full scale 75 X X X 100 X X X mVRMS
HP out Effective SNR w.r.t. 89.4 X X X 89.8 X X X dB
(32Ω 0dB full scale
load)
Power consumption 4.4 X X X 4.4 X X X mW
Line out Effective SNR w.r.t. 89.6 X X X 91.2 X X X dB
0dB full scale
Power consumption 3.6 X X X 3.6 X X X mW
(1) Reduced 0dB full-scale swing can be compensated by applying appropriate gain in the output drivers see Section 5.13.1.
5.6 ADC
5.6.1 Concept
The TLV320AIC3204 includes a stereo audio ADC, which uses a delta-sigma modulator with a
programmable oversampling ratio, followed by a digital decimation filter. The ADC supports sampling rates
from 8kHz to 192kHz. In order to provide optimal system power management, the stereo ADC can be
powered up one channel at a time, to support the case where only mono record capability is required. In
addition, both channels can be fully powered or entirely powered down. Because of the oversampling
nature of the audio ADC and the integrated digital decimation filtering, requirements for analog
anti-aliasing filtering are very relaxed. The TLV320AIC3204 integrates a second order analog anti-aliasing
filter with 28-dB attenuation at 6MHz. This filter, combined with the digital decimation filter, provides
sufficient anti-aliasing filtering without requiring additional external components.
5.6.2 Routing
As shown in Figure 5-2, the TLV320AIC3204 includes six analog inputs which can be configured as either
3 stereo single-ended pairs or 3 fully-differential pairs. These pins connect through series resistors and
switches to the virtual ground terminals of two fully-differential amplifiers (one per ADC/PGA channel). By
turning on only one set of switches per amplifier at a time, the inputs can be effectively multiplexed to
each ADC PGA channel. By turning on multiple sets of switches per amplifier at a time, audio sources can
be mixed. The TLV320AIC3204 supports the ability to mix up to four single-ended analog inputs or up to
two fully-differential analog inputs into each ADC PGA channel.
In most applications, high input impedance is desired for analog inputs. However when used in
conjunction with high gain as in the case of microphone inputs, the higher input impedance results in
higher noise or lower dynamic range. The TLV320AIC3204 allows the user the flexibility of choosing the
input impedance from 10kΩ, 20kΩ and 40kΩ. When multiple inputs are mixed together, by choosing
different input impedances, level adjustment can be achieved. For example, if one input is selected with
10kΩ input impedance and the second input is selected with 20kΩ input impedance, then the second input
is attenuated by half as compared to the first input. Note that this input level control is not intended to be a
volume control, but instead used occasionally for level setting.
Mixing of multiple inputs can easily lead to PGA outputs that exceed the range of the internal amplifiers,
resulting in saturation and clipping of the mixed output signal. Whenever mixing is being implemented, the
system designer is advised to take adequate precautions to avoid such a saturation from occurring. In
general, the mixed signal should not exceed 0dB.
Typically, voice or audio signal inputs are capacitively coupled to the device. This allows the device to
independently set the common mode of the input signals to values chosen by register control of Page 1,
Register 10, D(6) to either 0.9V or 0.75V. The correct value maximizes the dynamic range across the
entire analog-supply range. Failure to capacitively connect the input to the device can cause high offset
due to mismatch in source common-mode and device common-mode setting. In extreme cases it could
also saturate the analog channel, causing distortion.
Analog Audio
In Interface
PGA ADC
Filtering
ADC
Fully
0, -6, -12 dB 0...47.5 dB -12...20 dB 0…-0.4 dB
Programmable
Step = 0.5 dB Step = 0.5 dB Step = 0.1 dB Coefficients
When the gain of the ADC Channel is kept at 0dB and the common mode set to 0.75V, a single-ended
input of 0.375VRMS results in a full-scale digital signal at the output of ADC channel. Similarly, when the
gain is kept at 0dB, and common mode is set to 0.9V, a single-ended input of 0.5VRMS results in a
full-scale digital signal at the output of the ADC channel. However various block functions control the gain
through the channel. The gain applied by the PGA is described in Table 5-1. Additionally, the digital
volume control adjusts the gain through the channel as described in Section 5.7.2. A finer level of gain is
controlled by fine gain control as described in Section 5.7.3. The decimation filters A, B and C along with
the delta-sigma modulator contribute to a DC gain of 1.0 through the channel.
The gain changes are implemented with an internal soft-stepping algorithm that only changes the actual
volume level by one 0.5-dB step every one or two ADC output samples, depending on the register value
(see registers Page 0, Reg 81, D(1:0)). This soft-stepping ensures that volume control changes occur
smoothly with no audible artifacts. On reset, the PGA gain defaults to a mute condition, and at power
down, the PGA soft-steps the volume to mute before shutting down. A read-only flag Page 0, Reg 36, D(7)
and D(3) is set whenever the gain applied by the PGA equals the desired value set by the register. The
soft-stepping control can also be disabled by programming Page 0, Reg 81, D(1:0).
During volume control changes, the soft-stepping feature is used to avoid audible artifacts. The
soft-stepping rate can be set to either 1 or 2 gain steps per sample. Soft-stepping can also be entirely
disabled. This soft-stepping is configured via Page 1, Register 81, D(1:0), and is common to soft-stepping
control for the analog PGA. During power-down of an ADC channel, this volume control soft-steps down to
-12.0dB before powering down. Due to the soft-stepping control, soon after changing the volume control
setting or powering down the ADC channel, the actual applied gain may be different from the one
programmed through the control register. The TLV320AIC3204 gives feedback to the user, through
read-only flags Page 1, Reg 36, D(7) for Left Channel and Page 1, Reg 36, D(3) for the right channel.
5.7.4 AGC
The TLV320AIC3204 includes Automatic Gain Control (AGC) for ADC recording. AGC can be used to
maintain a nominally-constant output level when recording speech. As opposed to manually setting the
PGA gain, in the AGC mode, the circuitry automatically adjusts the PGA gain as the input signal becomes
overly loud or very weak, such as when a person speaking into a microphone moves closer or farther from
the microphone. The AGC algorithm has several programmable parameters, including target gain, attack
and decay time constants, noise threshold, and max PGA applicable, that allow the algorithm to be fine
tuned for any particular application. The algorithm uses the absolute average of the signal (which is the
average of the absolute value of the signal) as a measure of the nominal amplitude of the output signal.
Since the gain can be changed at the sample interval time, the AGC algorithm operates at the ADC
sample rate.
• Target Level represents the nominal output level at which the AGC attempts to hold the ADC output
signal level. The TLV320AIC3204 allows programming of eight different target levels, which can be
programmed from –5.5 dB to –24 dB relative to a full-scale signal. Since the TLV320AIC3204 reacts to
the signal absolute average and not to peak levels, it is recommended that the target level be set with
enough margin to avoid clipping at the occurrence of loud sounds.
• Attack Time determines how quickly the AGC circuitry reduces the PGA gain when the output signal
level exceeds the target level due to increase in input signal level. Wide range of attack time
programmability is supported in terms of number of samples (i.e. number of ADC sample frequency
clock cycles).
• Decay Time determines how quickly the PGA gain is increased when the output signal level falls
below the target level due to reduction in input signal level. Wide range of decay time programmability
is supported in terms of number of samples (i.e., number of ADC sample frequency clock cycles).
• Gain Hysteresis is the hysteresis applied to the required gain calculated by the AGC function while
changing its mode of operation from attack to decay or vice-versa. For example, while attacking the
input signal, if the current applied gain by the AGC is x dB, and suddenly because of input level going
down, the new calculated required gain is y dB, then this gain is applied provided y is greater than x by
the value set in Gain Hysteresis. This feature avoids the condition when the AGC function can fluctuate
between a very narrow band of gains leading to audible artifacts. The Gain Hysteresis can be adjusted
or disabled by the user.
• Noise threshold determines the level below which if the input signal level falls, the AGC considers it
as silence, and thus brings down the gain to 0 dB in steps of 0.5 dB every FS and sets the noise
threshold flag. The gain stays at 0 dB unless the input speech signal average rises above the noise
threshold setting. This ensures that noise is not 'gained up' in the absence of speech. Noise threshold
level in the AGC algorithm is programmable from -30dB to -90 dB of full-scale. When AGC Noise
Threshold is set to –70dB, –80db, or –90dB, the microphone input Max PGA applicable setting must
be greater than or equal to 11.5dB, 21.5dB, or 31.5dB respectively. This operation includes hysteresis
and debounce to avoid the AGC gain from cycling between high gain and 0 dB when signals are near
the noise threshold level. The noise (or silence) detection feature can be entirely disabled by the user.
• Max PGA applicable allows the designer to restrict the maximum gain applied by the AGC. This can
be used for limiting PGA gain in situations where environmental noise is greater than the programmed
noise threshold. Microphone input Max PGA can be programmed from 0 dB to 63.5 dB in steps of 0.5
dB.
• Hysteresis, as the name suggests, determines a window around the Noise Threshold which must be
exceeded to either detect that the recorded signal is indeed noise or signal. If initially the energy of the
recorded signal is greater than the Noise Threshold, then the AGC recognizes it as noise only when
the energy of the recorded signal falls below the Noise Threshold by a value given by Hysteresis.
Similarly, after the recorded signal is recognized as noise, for the AGC to recognize it as a signal, its
energy must exceed the Noise Threshold by a value given by the Hysteresis setting. In order to
prevent the AGC from jumping between noise and signal states, (which can happen when the energy
of recorded signal is very close to the Noise threshold) a non-zero hysteresis value should be chosen.
The Hysteresis feature can also be disabled.
• Debounce Time (Noise and Signal) determines the hysteresis in time domain for noise detection.
The AGC continuously calculates the energy of the recorded signal. If the calculated energy is less
than the set Noise Threshold, then the AGC does not increase the input gain to achieve the Target
Level. However, to handle audible artifacts which can occur when the energy of the input signal is very
close to the Noise Threshold, the AGC checks if the energy of the recorded signal is less than the
Noise Threshold for a time greater than the Noise Debounce Time. Similarly the AGC starts increasing
the input-signal gain to reach the Target Level when the calculated energy of the input signal is greater
42 Application Information Submit Documentation Feedback
TLV320AIC3204
than the Noise Threshold. Again, to avoid audible artifacts when the input-signal energy is very close
to Noise Threshold, the energy of the input signal needs to continuously exceed the Noise Threshold
value for the Signal Debounce Time. If the debounce times are kept very small, then audible artifacts
can result by rapid enabling and disabling the AGC function. At the same time, if the Debounce time is
kept too large, then the AGC may take time to respond to changes in levels of input signals with
respect to Noise Threshold. Both noise and signal debounce time can be disabled.
• The AGC Noise Threshold Flag is a read-only flag indicating that the input signal has levels lower
than the Noise Threshold, and thus is detected as noise (or silence). In such a condition the AGC
applies a gain of 0 dB.
• Gain Applied by AGC is a ready-only register setting which gives a real-time feedback to the system
on the gain applied by the AGC to the recorded signal. This, along with the Target Setting, can be
used to determine the input signal level. In a steady state situation
Target Level (dB ) = Gain Applied by AGC (dB) + Input Signal Level (dB)
When the AGC noise threshold flag is set, then the status of gain applied by AGC should be ignored.
• The AGC Saturation Flag is a read-only flag indicating that the ADC output signal has not reached its
Target Level. However, the AGC is unable to increase the gain further because the required gain is
higher than the Maximum Allowed PGA gain. Such a situation can happen when the input signal has
very low energy and the Noise Threshold is also set very low. When the AGC noise threshold flag is
set, the status of AGC saturation flag should be ignored.
• The ADC Saturation Flag is a read-only flag indicating an overflow condition in the ADC channel. On
overflow, the signal is clipped and distortion results. This typically happens when the AGC Target Level
is kept very high and the energy in the input signal increases faster than the Attack Time.
• An AGC low-pass filter is used to help determine the average level of the input signal. This average
level is compared to the programmed detection levels in the AGC to provide the correct functionality.
This low pass filter is in the form of a first-order IIR filter. Three 8-bit registers are used to form the
24-bit digital coefficient as shown on the register map. In this way, a total of 9 registers are
programmed to form the 3 IIR coefficients. The transfer function of the filter implemented for signal
level detection is given by
N0 + N1z -1
H( z) =
2 23 - D1z -1 (5-1)
Where:
Coefficient N0 can be programmed by writing into Page 8, Register 12, 13 and 14.
Coefficient N1 can be programmed by writing into Page 8, Register 16, 17 and 18.
Coefficient D1 can be programmed by writing into Page 8, Register 20, 21 and 22.
N0, N1 and D1 are 24-bit 2’s complement numbers and their default values implement a low-pass
filter with cut-off at 0.002735*ADC_FS .
See Table 5-3 for various AGC programming options. AGC can be used only if analog microphone
input is routed to the ADC channel.
Input
Signal
Output Target
Signal Level
AGC
Gain
AGC
From
Digital Vol. Ctrl
To Analog PGA
AGC
From
Digital Vol. Ctrl
To Analog PGA
From Delta-Sigma st
AGC
Modulator or 1 Order Gain To Audio
Filter A 25-Tap FIR ´ IIR
Digital Microphone Compen Interface
sation
AGC
From
Digital Vol. Ctrl
To Analog PGA
AGC
From Delta-Sigma st
1 Order Gain To Audio
Modulator or Filter B ´ IIR
Digital Microphone Compen Interface
sation
To Audio
Interface
AGC
From
Digital Vol. Ctrl
To Analog PGA
AGC
From
Digital Vol. Ctrl
To Analog PGA
From Delta-Sigma st
AGC
1 Order Gain To Audio
Modulator or Filter B 20-Tap FIR ´ IIR Compen Interface
Digital Microphone
sation
AGC
From
Digital Vol. Ctrl
To Analog PGA
st AGC
From Delta-Sigma
1 Order Gain To Audio
Modulator or Filter C ´ IIR Compen Interface
Digital Microphone
sation
AGC
From
Digital Vol. Ctrl
To Analog PGA
AGC
From
Digital Vol. Ctrl
To Analog PGA
From Delta-Sigma st
AGC
1 Order Gain To Audio
Modulator or Filter C 25-Tap FIR ´ IIR Compen Interface
Digital Microphone sation
AGC
From
Digital Vol. Ctrl
To Analog PGA
The frequency response for each of the biquad section with default coefficients is flat at a gain of 0dB.
The coefficients of the FIR filters are 24-bit 2’s complement format and correspond to the ADC coefficient
space as listed below. There is no default transfer function for the FIR filter. When the FIR filter gets used
all applicable coefficients must be programmed.
-40
-50
-60
-70
-80
-90
-100
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Frequency Normalized w.r.t. FS
-20
Magnitude - dB
-30
-40
-50
-60
-70
-80
-90
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Frequency Normalized w.r.t. FS
-20
Magnitude - dB
-40
-60
-80
-100
-120
Signal
Processing
Blocks
ADC_MOD_CLK
The TLV320AIC3204 outputs internal clock ADC_MOD_CLK on GPIO pin ( Page 0, Register 51, D(5:2))
or MISO pin (Page 0, Register 55, D(4:1)). This clock can be connected to the external digital microphone
device. The single-bit output of the external digital microphone device can be connected to GPIO, DIN or
SCLK pins. Internally the TLV320AIC3204 latches the steady value of data on the rising edge of
ADC_MOD_CLK for the Left ADC channel, and the steady value of data on falling edge for the Right ADC
channel.
ADC_MOD_CLK
The digital-microphone mode can be selectively enabled for only-left, only-right, or stereo channels. When
the digital microphone mode is enabled, the analog section of the ADC can be powered down and
bypassed for power efficiency. The AOSR value for the ADC channel must be configured to select the
desired decimation ratio to be achieved based on the external digital microphone properties.
where
t pr =
(Delay( 4 : 0) + Delay(6 : 5) * AOSR * k f )
AOSR * ADC _ FS
and
LEFT _ ADC _ PHASE _ COMP ( t ) = LEFT _ ADC _ OUT ( t - t pl )
(5-6)
Where
Delay (7)
t pl =
AOSR * ADC _ FS (5-7)
5.9.4 DC Measurement
The TLV320AIC3204 supports a highly flexible DC measurement feature using the high resolution
oversampling and noise-shaping ADC. This mode can be used when the particular ADC channel is not
used for the voice/audio record function. This mode can be enabled by programming Page 0, Register
102, D(7:6). The converted data is 24-bits, using 2.22 numbering format. The value of the converted data
for the left-channel ADC can be read back from Page 0, Register 104-106 and for the right-channel ADC
from Page 0, Register 107-109. Before reading back the converted data, Page 0, Register 103, D(7:6)
must be programmed to latch the converted data into the read-back register. After the converted data is
read back, Page 0, Register 103, D(7:6) must be reset to 00 immediately. In DC measurement mode, two
measurement methods are supported.
Mode A
In DC-measurement mode A, a variable-length averaging filter is used. The length of the averaging filter
D, can be programmed from 1 to 20 by programming Page 0, Register 100, D(4:0). To choose mode A,
Page 0, Register 102, D(5) must be programmed to 0.
Mode B
To choose mode B Page 0, Register 102, D(5) must be programmed to 1. In DC-measurement mode B, a
first-order IIR filter is used. The coefficients of this filter are determined by D, Page 0, Register 102,
D(4:0). The nature of the filter is given in the table below
By programming Page 0, Reg 103, D(5) to ‘1’, the averaging filter is periodically reset after 2^R number of
ADC_MOD_CLK, where R is programmed in Page 0, Reg 103, D(4:0). When Page 0, Reg 103, D(5) is set
to 1 then the value of D should be less than the value of R. When Page 0, Reg 103, D(5) is programmed
as 0 the averaging filter is never reset.
artifacts. In order to avoid such artifacts the TLV320AIC3204 also incorporates anti-thump circuitry to allow
connection of unused inputs to the common-mode level. This feature is disabled by default, and can be
enabled by writing the appropriate value into Page 1, Register 58, D(7:2). The use of this feature in
combination with the PTM_R1 setting in Page 0, Register 61 when the ADC channel is powered down
causes the additional current consumption of 700µA from AVdd and 125µA from DVdd in the sleep mode.
Step 2
Setting up the device via register programming:
The following list gives a sequence of items that must be executed between powering the device up and
reading data from the device:
Define starting point: Set register page to 0
Initiate SW Reset
Program Clock Settings Program PLL clock dividers P,J,D,R (if PLL is necessary)
Power up PLL (if PLL is necessary)
Program and power up NADC
Program and power up MADC
Program OSR value
Program the processing block to be used
At this point, at the latest, analog power supply must be applied to the device ( via internal LDO or
external)
5.11 DAC
The TLV320AIC3204 includes a stereo audio DAC supporting data rates from 8kHz to 192kHz. Each
channel of the stereo audio DAC consists of a signal-processing engine with fixed processing blocks, a
digital interpolation filter, multi-bit digital delta-sigma modulator, and an analog reconstruction filter. The
DAC is designed to provide enhanced performance at low sampling rates through increased oversampling
and image filtering, thereby keeping quantization noise generated within the delta-sigma modulator and
signal images strongly suppressed within the audio band to beyond 20kHz. To handle multiple input rates
and optimize power dissipation and performance, the TLV320AIC3204 allows the system designer to
program the oversampling rates over a wide range from 1 to 1024 by configuring the Page 0, Reg 13, and
Reg 14. The system designer can choose higher oversampling ratios for lower input data rates and lower
oversampling ratios for higher input data rates.
The TLV320AIC3204 DAC channel includes a built-in digital interpolation filter to generate oversampled
data for the sigma delta modulator. The interpolation filter can be chosen from three different types
depending on required frequency response, group delay and sampling rate.
Interp.
IIR BiQuad BiQuad BiQuad BiQuad BiQuad BiQuad ´
Filter to
A B C D E F
from A,B Modulator
Interface
Digital
HPF DRC Volume
Ctrl
Figure 5-19. Signal Chain for PRB_P2, PRB_P5, PRB_P10 and PRB_P15
Interp.
IIR BiQuad BiQuad BiQuad BiQuad BiQuad BiQuad ´ to
Filter
A B C D E F Modulator
from A,B
Interface Digital
Volume
Ctrl
Figure 5-20. Signal Chain for PRB_P3, PRB_P6, PRB_P11 and PRB_P16
Interp.
IIR Filter ´ to
B,C Modulator
from
Interface Digital
Volume
Ctrl
Figure 5-21. Signal Chain for PRB_P7, PRB_P12, PRB_P17 and PRB_P20
+ BiQuad BiQuad 3D
+
AL AR PGA
-
+
IIR - BiQuad BiQuad Interp.
+ ´ to
Right BR CR Filter A
from Modulator
Right
Channel Digital
Interface Volume
Ctrl
-
IIR + BiQuad BiQuad BiQuad BiQuad BiQuad Interp. ´ to
+
Right BR CR DR ER FR Filter A Modulator
from
Right
Channel
Interface Digital
Volume
HPF DRC
Ctrl
Figure 5-29.
-1
N0 + N1z
H( z) =
2 23 - D1z -1 (5-8)
The frequency response for the 1st order IIR Section with default coefficients is flat
0
-10
-20
Magnitude - dB
-30
-40
-50
-60
-70
-80
-90
1 2 3 4 5 6 7
Frequency Normalized w.r.t. FS
-10
-20
Magnitude - dB
-30
-40
-50
-60
-70
-80
0.5 1 1.5 2 2.5 3 3.5
Frequency Normalized w.r.t. FS
-10
-20
Magnitude - dB
-30
-40
-50
-60
-70
0 0.2 0.4 0.6 0.8 1 1.2 1.4
Frequency Normalized w.r.t. FS
The basic filter characteristics for the Interpolation Filters A, B and C are as follows. These values are at
48ksps with the droop of the analog reconstruction filters taken into account.
HPL
HPR
(1) If the device must be placed into 'mute' from the –6.0dB setting, set the device at a gain of –5.0dB first, then place the device into mute.
Differential Loading
The headphone amplifiers can be configured differentially as shown in Figure 5-34. However this scheme
is supported only when using the headphone-output stage powered from the AVdd supply.
HPL
HPR
The TLV320AIC3204 supports an additional low-power mode for routing a mono DAC for a differential
headphone configuration as shown in Figure 5-35.
LEFT_DACP HPL
LEFT
LEFT_DACM
DAC AFIR
HPR
The TLV320AIC3204 headphone drivers support pop-free operation. Because the HPL and HPR are
high-power drivers, pop can result due to sudden transient changes in the output drivers if care is not
taken. The most critical care is required while using the drivers as stereo single-ended
capacitively-coupled drivers as shown in Figure 5-33. The output drivers achieve pop-free power-up by
using slow power-up modes. Conceptually, the circuit during power-up can be visualized as
Cc
Output
Driver
Rpop PAD
Rload
The value of Rpop can be chosen by setting register Page 1, Register 20, D(1:0).
To minimize audible artifacts, two parameters can be adjusted to match application requirements. The
voltage Vload across Rload at the beginning of slow charging should not be more than a few mV. At that
time the voltage across Rload can be determined as:
R load
V load = ´ V cm
R load + R pop (5-10)
For a typical Rload of 32 Ω, Rpop of 6 kΩ or 25 kΩ will deliver good results (see Table 5-19 for register
settings).
According to the conceptual circuit in Figure 5-36, the voltage on PAD will exponentially settle to the
output common-mode voltage based on the value of Rpop and Cc. Thus, the output drivers must be in slow
power-up mode for time T, such that at the end of the slow power-on period, the voltage on Vpad is very
close to the common-mode voltage. The TLV320AIC3204 allows the time T to be adjusted to allow for a
wide range of Rload and Cc by programming Page 1, Register 20, D(5:2). For the time adjustments, the
value of Cc is assumed to be 47µF. N=5 is expected to yield good results.
Again for e.g., for Rload=32Ω, Cc=47µF and common mode of 0.9V the number of time constants required
for pop-free operation is 5 or 6. Higher or lower value of Cc will require higher or lower value for N.
During the slow-charging period, no signal is routed to the output driver. Therefore, choosing a larger than
necessary value of N results in a delay from power-up to signal at output. At the same time, choosing N to
be smaller than the optimal value results in poor pop performance at power-up.
The signals being routed to headphone drivers ( e.g. DAC, MAL , MAR and IN1) often have DC offsets
due to less-than-ideal processing. As a result, when these signals are routed to output drivers, the offset
voltage causes a pop. To improve the pop-performance in such situations, a feature is provided to
soft-step the DC-offset. At the beginning of the signal routing, a high-value attenuation can be applied
which can be progressively reduced in steps until the desired gain in the channel is reached. The time
interval between each of these gain changes can be controlled by programming Page 1, Register 20,
D(7:6). This gain soft-stepping is applied only during the initial routing of the signal to the output driver and
not during subsequent gain changes.
Page 1, Soft-stepping Step Time
Register 20, During initial signal routing
D(7:6)
00 0 ms ( soft-stepping disabled)
01 50ms
10 100ms
11 200ms
It is recommended to use the following sequence for achieving optimal pop performance at power-up
1. Choose the value of Rpop, N ( time constants) and soft-stepping step time for slow power-up.
2. Choose the configuration for output drivers, including common modes and output stage power
connections
3. Select the signals to be routed to headphones.
4. Power-up the blocks driving signals into HPL and HPR, but keep it muted
5. Unmute HPL and HPR and set the desired gain setting.
6. Power-on the HPL and HPR drivers.
7. Unmute the block driving signals to HPL and HPR after the Driver PGA flags are set to indicate
completion of soft-stepping after power-up. These flags can be read from Page 1, Register 63, D(7:6).
It is important to configure the Headphone Output driver depop control registers before powering up the
headphone; these register contents should not be changed when the headphone drivers are powered up.
Before powering down the HPL and HPR drivers, it is recommended that user read back the flags in Page
1, Register 63. For example. before powering down the HPL driver, ensure that bit D(7) = 1 and bit D(3) =
1 if IN1_L is routed to HPL and bit D(1) = 1 if the Left Mixer is routed to HPL. The output driver should be
powered down only after a steady-state power-up condition has been achieved. This steady state
power-up condition also must be satisfied for changing the HPL/R driver mute control in Page 1, Register
16 and 17, D(7), i.e. muting and unmuting should be done after the gain and volume controls associated
with routing to HPL/R finished soft-stepping.
In the differential configuration of HPL and HPR, when no coupling capacitor is used, the slow charging
method for pop-free performance need not be used. In the differential load configuration for HPL and
HPR, it is recommended to not use the output driver MUTE feature, because a pop may result.
During the power-down state, the headphone outputs are weakly pulled to ground using an approximately
50kΩ resistor to ground, to maintain the output voltage on HPL and HPR pins.
Because the output signal is a pulse train switching between Power Supply and Ground, the efficiency of
the amplifier is greatly improved. In this mode however, for good noise performance, care should be taken
to keep the analog power supply clean.
For using the Class-D mode of operation, the following clock-divider condition should be met:
MDAC = I × 4, where I = 1, 2, ..., 32
When a direct digital pulse train is driven out as a signal, high frequencies as a function of pulse train
frequency are also present which lead to power waste. To increase the efficiency and reduce power
dissipation in the load due to these high frequencies, an LC filter should be used in series with the output
and the load. The cutoff frequency of the LC filter should be adjusted to allow audio signals below 20kHz
to pass through, but highly attenuate the high-frequency signal content.
L = 82 mH CC = 47 mF
C = 1 mF Rload = 32 W
For using the headphones in the Class-D mode of operation, the headphones should first be powered up
in default Class-AB mode to charge the AC-coupling capacitor to the set common mode voltage. Once the
headphone amplifiers have been so powered up, the DAC should be routed to headphones and unmuted
before they can be switched to the Class-D mode. After Class D mode has been turned on, the linear,
Class AB mode amplifier must be turned off. For powering down the headphone amplifiers, the DAC
should first be muted.
LOL
LOR
LOL
Output +
RIGHT_DACP
LEFT LOR
DAC AFIR
Output -
RIGHT_DACM
gain change. The rate of soft-stepping can be controlled by programming Page 0, Reg 63, D(1:0) to either
one step per frame ( DAC_FS ) or one step per 2 frames. The soft-stepping feature can also be entirely
disabled. During soft-stepping the value of the actual applied gain would differ from the programmed gain
in register. The TLV320AIC3204 gives a feedback to the user in form of register readable flag to indicate
that soft-stepping is currently in progress. The flags for left and right channels can be read back by
reading Page 0, Reg 38, D(4) and D(0) respectively. A value of 0 in these flags indicates a soft-stepping
operation in progress, and a value of 1 indicates that soft-stepping has completed. A soft-stepping
operation comes into effect during a) power-up, when the volume control soft-steps from –63.5dB to
programmed gain value b) volume change by user when DAC is powered up and c) power-down, when
the volume control block soft-steps to –63.5dB before powering down the channel.
The coefficients for these filters are 24-bits wide in two’s-complement and are user programmable through
register write as given in Table 5-21
The default values of these coefficients implement a high-pass filter with a cut-off at 0.00166*DAC_FS,
and a low-pass filter with a cutoff at 0.00033 * DAC_FS.
The output of the DRC high-pass filter is fed to the Processing Block selected for the DAC Channel. The
absolute value of the DRC-LPF filter is used for energy estimation within the DRC.
The gain in the DAC Digital Volume Control is controlled by Page 0, Register 65 and 66. When the DRC is
enabled, the applied gain is a function of the Digital Volume Control register setting and the output of the
DRC.
The DRC parameters are described in sections that follow.
5.13.3.1 DRC Threshold
The DRC Threshold represents the level of the DAC playback signal at which the gain compression
becomes active. The output of the digital volume control in the DAC is compared with the set threshold.
The threshold value is programmable by writing to register Page 0, Register 68, D(4:2). The Threshold
value can be adjusted between –3dBFS to -24dBFS in steps of 3dB. Keeping the DRC Threshold value
too high may not leave enough time for the DRC block to detect peaking signals, and can cause
excessive distortion at the outputs. Keeping the DRC Threshold value too low can limit the perceived
loudness of the output signal.
The recommended DRC-Threshold value is –24 dB.
When the output signal exceeds the set DRC Threshold, the interrupt flag bits at Page 0, Register 44,
D(3:2) are updated. These flag bits are 'sticky' in nature, and are reset only after they are read back by the
user. The non-sticky versions of the interrupt flags are also available at Page 0, Register 46, D(3:2).
5.13.3.2 DRC Hysteresis
DRC Hysteresis is programmable by writing to Page 0, Register 68, D(1:0). It can be programmed to
values between 0dB and 3dB in steps of 1dB. It is a programmable window around the programmed DRC
Threshold that must be exceeded for a disabled DRC to become enabled, or an enabled DRC to become
disabled. For example, if the DRC Threshold is set to -12dBFS and DRC Hysteresis is set to 3dB, then if
the gain compressions in the DRC is inactive, the output of the DAC Digital Volume Control must exceed
–9dBFS before gain compression due to the DRC is activated. Similarly, when the gain compression in
the DRC is active, the output of the DAC Digital Volume Control needs to fall below -15dBFS for gain
compression in the DRC to be deactivated. The DRC Hysteresis feature prevents the rapid activation and
de-activation of gain compression in the DRC in cases when the output of DAC Digital Volume Control
rapidly fluctuates in a narrow region around the programmed DRC Threshold. By programming the DRC
Hysteresis as 0dB, the hysteresis action is disabled.
Recommended Value of DRC Hysteresis is 3 dB.
5.13.3.3 DRC Hold
The DRC Hold is intended to slow the start of decay for a specified period of time in response to a
decrease in energy level. To minimize audible artifacts, it is recommended to set the DRC Hold time to 0
through programming Page 0, Register 69, D(6:3) = 0000.
5.13.3.4 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, D(7:4). Attack
Rates can be programmed from 4dB gain change per 1/DAC_FS to 1.2207e-5dB gain change per
1/DAC_FS.
Attack Rates should be programmed such that before the output of the DAC Digital Volume control can
clip, the input signal should be sufficiently attenuated. High Attack Rates can cause audible artifacts, and
too-slow Attack Rates may not be able to prevent the input signal from clipping.
Two registers are used to independently control the Left sine-wave volume and the Right sine-wave
volume. The 6-bit digital volume control allows level control of 0dB to –63dB in one dB steps. The
left-channel volume is controlled by writing to Page 0, Register 71, D(5:0). The right-channel volume is
controlled by Page 0, Register 72, D(5:0). A master volume control for the left and right channel of the
beep generator can be set up using Page 0, Register 72, D(7:6). The default volume control setting is
0dB, the tone generator maximum-output level.
For playing back the sine wave, the DAC must be configured with regards to clock setup and routing. The
sine wave gets started by setting the Beep Generator Enable Bit (Page 1, Reg 71, D(7)=1)). After the sine
wave has played for its predefined time period this bit will automatically set back to 0. While the sine wave
is playing, the parameters of the beep generator cannot be changed. To stop the sine wave while it is
playing set the Beep Generator Enable Bit to 0.
The user programmable coefficients C1 to C70 are defined on Pages 44, 45 and 46 for Buffer A and
Pages 62, 63 and 64 for Buffer B.
Program Clock Settings Program PLL clock dividers P,J,D,R (if PLL is necessary)
Power up PLL (if PLL is necessary)
Program and power up NADC
Program and power up MADC
Program OSR value
Program I2S word length if required (e.g. 20bit)
Program the processing block to be used
At this point, at the latest, analog power supply must be applied to the device ( via internal LDO or
external)
Apply waiting time determined by the de-pop settings and the soft-stepping settings of the driver gain or
poll Page 1, Reg 63
BCLK DIN/MFP1
MCLK GPIO
PLL_CLKIN
PLL
x(RxJ·D)/P
BCLK
MCLK GPIO
PLL_CLK
CODEC_CLKIN
DAC_CLK ADC_CLK
DAC_MOD_CLK ADC_MOD_CLK
DAC_FS ADC_FS
The DAC Modulator is clocked by DAC_MOD_CLK. For proper power-up operating of the DAC Channel,
these clocks must be enabled by configuring the NDAC and MDAC clock dividers ( Page 0,Register 11,
D(7) =1 and Page 0, Register 12, D(7)=1). When the DAC channel is powered down, the device internally
initiates a power-down sequence for proper shut-down. During this shut-down sequence, the NDAC and
MDAC dividers must not be powered down, or else a proper low power shut-down may not take place.
The user can read back the power-status flag Page 0, Register 37, D(7) and Page 0, Register 37, D(3).
When both the flags indicate power-down, the MDAC divider may be powered down, followed by the
NDAC divider.
The ADC modulator is clocked by ADC_MOD_CLK. For proper power-up of the ADC Channel, these
clocks are enabled by the NADC and MADC clock dividers (Page 0,Register 18, D(7) =1 and Page 0,
Register 19, D(7)=1). When the ADC channel is powered down, the device internally initiates a
power-down sequence for proper shut-down. During this shut-down sequence, the NADC and MADC
dividers must not be powered down, or else a proper low power shut-down may not take place. The user
can read back the power-status flag Page 0, Register 36, D(6) and Page 0, Register 36, D(2). When both
the flags indicate power-down, the MADC divider may be powered down, followed by NADC divider.
When ADC_CLK is derived from the NDAC divider output, the NDAC must be kept powered up till the
power-down status flags for ADC do not indicate power-down. When the input to the AOSR clock divider
is derived from DAC_MOD_CLK, then MDAC must be powered up when ADC_FS is needed ( i.e. when
WCLK is generated by TLV320AIC3204 or AGC is enabled) and can be powered down only after the ADC
power-down flags indicate power-down status.
In general, all the root clock dividers should be powered down only after the child clock dividers have been
powered down for proper operation.
The TLV320AIC3204 also has options for routing some of the internal clocks to the output pins of the
device to be used as general purpose clocks in the system. The feature is shown in Figure 5-41.
DAC_MOD_CLK ADC_MOD_CLK
DAC_CLK ADC_CLK
BDIV_CLKIN
÷N N = 1,2,...,127,128
BCLK
In the mode when TLV320AIC3204 is configured to drive the BCLK pin (Page 0, Register 27, D3=’1’) it
can be driven as divided value of BDIV_CLKIN. The division value can be programmed in Page 0,
Register 30, D(6:0) from 1 to 128. The BDIV_CLKIN can itself be configured to be one of DAC_CLK,
DAC_MOD_CLK, ADC_CLK or ADC_MOD_CLK by configuring the BDIV_CLKIN mux in Page 0, Register
29, D(1:0). Additionally a general purpose clock can be driven out on either GPIO, DOUT or MISO pin.
This clock can be a divided down version of CDIV_CLKIN. The value of this clock divider can be
programmed from 1 to 128 by writing to Page 0, Register 26, D(6:0). The CDIV_CLKIN can itself be
programmed as one of the clocks among the list shown in Figure 5-42. This can be controlled by
programming the mux in Page 0, Register 25, D(2:0).
PLL_CLK DAC_MOD_CLK ADC_MOD_CLK
MCLK BCLK DIN DAC_CLK ADC_CLK
CDIV_CLKIN
÷M M = 1,2,...,127,128
CLKOUT
5.16.1 PLL
The TLV320AIC3204 has an on chip PLL with fractional multiplication to generate the clock frequency
needed by the audio ADC, DAC, and Digital Signal Processing blocks. The programmability of the PLL
allows operation from a wide variety of clocks that may be available in the system.
The PLL input supports clocks varying from 512kHz to 20MHz and is register programmable to enable
generation of required sampling rates with fine precision. The PLL can be turned on by writing to Page 0,
Register 5, D(7). When the PLL is enabled, the PLL output clock PLL_CLK is given by the following
equation:
PLL _ CLKIN ´ R ´ J.D
PLL _ CLK =
P (5-17)
R = 1, 2, 3,4
J = 4,5,6,… 63, and D = 0, 1, 2… 9999
P = 1, 2, 3… 8
R, J, D, and P are register programmable.
The PLL can be programmed via Page 0, Registers 5 thru 8. The PLL can be turned on via Page 0,
Register 5, D(7). The variable P can be programmed via Page 0, Register 5, D(6:4). The default register
value for P is 2. The variable R can be programmed via Page 0, Register 5, D(3:0). The default register
value for R is 1. The variable J can be programmed via Page 0, Register 6, D(5:0). The variable D is
12-bits and is programmed into two registers. The MSB portion can be programmed via Page 0, Register
7, D(5:0), and the LSB portion is programmed via Page 0, Register 8, D(5:0). The default register value for
D is 0.
When the PLL is enabled the following conditions must be satisfied
• When the PLL is enabled and D = 0, the following conditions must be satisfied for PLL_CLKIN:
PLL _ CLKIN
512kHz £ £ 20MHz
P (5-18)
• When the PLL is enabled and D ≠ 0, the following conditions must be satisfied for PLL_CLKIN:
PLL _ CLKIN
10MHz £ £ 20MHz
P (5-19)
In TLV320AIC3204 the PLL_CLK supports a wide range of output clock, based on register settings and
power-supply conditions.
The PLL can be powered up independent of the ADC and DAC blocks, and can also be used as a general
purpose PLL by routing its output to the GPIO output. After powering up the PLL, PLL_CLK is available
typically after 10ms. The PLL output frequency is controlled by J.D and R dividers
PLL Divider Bits
J Page 0, Register 6, D(5:0)
D Page 0, Register 7, D(5:0) && Page 0, Register 8, D(7:0)
R Page 0, Register 5, D(3:0)
The D-divider value is 14-bits wide and is controlled by 2 registers. For proper update of the D-divider
value, Page 0, Register 7 must be programmed first followed immediately by Page 0, Register 8. Unless
the write to Page 0, Register 8 is completed, the new value of D will not take effect.
The clocks for codec and various signal processing blocks, CODEC_CLKIN can be generated from MCLK
input, BCLK input, GPIO input or PLL_CLK (Page 0/Register 4/D(1:0) ).
If the CODEC_CLKIN is derived from the PLL, then the PLL must be powered up first and powered down
last.
Table 5-25 lists several example cases of typical MCLK rates and how to program the PLL to achieve a
sample rate Fs of either 44.1kHz or 48kHz.
5.17 INTERFACE
5.17.1 AUDIO DIGITAL I/O INTERFACE
Audio data is transferred between the host processor and the TLV320AIC3204 via the digital audio data
serial interface, or audio bus. The audio bus on this device is very flexible, including left or right-justified
data options, support for I2S or PCM protocols, programmable data length options, a TDM mode for
multichannel operation, very flexible master/slave configurability for each bus clock line, and the ability to
communicate with multiple devices within a system directly.
The audio bus of the TLV320AIC3204 can be configured for left or right-justified, I2S, DSP, or TDM modes
of operation, where communication with standard telephony PCM interfaces is supported within the TDM
mode. These modes are all MSB-first, with data width programmable as 16, 20, 24, or 32 bits by
configuring Page 0, Register 27, D(5:4). In addition, the word clock and bit clock can be independently
configured in either Master or Slave mode, for flexible connectivity to a wide variety of processors. The
word clock is used to define the beginning of a frame, and may be programmed as either a pulse or a
square-wave signal. The frequency of this clock corresponds to the maximum of the selected ADC and
DAC sampling frequencies.
The bit clock is used to clock in and clock out the digital audio data across the serial bus. When in Master
mode, this signal can be programmed to generate variable clock pulses by controlling the bit-clock divider
in Page 0, Register 30 (see Figure 5-40). The number of bit-clock pulses in a frame may need adjustment
to accommodate various word-lengths as well as to support the case when multiple TLV320AIC3204s may
share the same audio bus.
The TLV320AIC3204 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 TLV320AIC3204 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. This feature can be used independently of the
mode of audio interface chosen. This can be configured via Page 0, Register 29, D(3).
The TLV320AIC3204 further includes programmability (Page 0, Register 27, D0) to 3-state the DOUT line
during all bit clocks when valid data is not being sent. By combining this capability with the ability to
program at what bit clock in a frame the audio data begins, time-division multiplexing (TDM) can be
accomplished, enabling the use of multiple codecs on a single audio serial data bus. When the audio
serial data bus is powered down while configured in master mode, the pins associated with the interface
are put into a 3-state output condition.
By default when the word-clocks and bit-clocks are generated by the TLV320AIC3204, these clocks are
active only when the codec (ADC, DAC or both) are powered up within the device. This is done to save
power. However, it also supports a feature when both the word clocks and bit-clocks can be active even
when the codec in the device is powered down. This is useful when using the TDM mode with multiple
codecs on the same bus, or when word-clock or bit-clocks are used in the system as general-purpose
clocks.
5.17.1.1 Right Justified Mode
The Audio Interface of the TLV320AIC3204 can be put into Right Justified Mode by programming Page 0,
Register 27, D(7:6) = 10. In right-justified mode, the LSB of the left channel is valid on the rising edge of
the bit clock preceding the falling edge of the word clock. Similarly, the LSB of the right channel is valid on
the rising edge of the bit clock preceding the rising edge of the word clock.
1/fs
WCLK
BCLK
For Right-Justified mode, the number of bit-clocks per frame should be greater than twice the
programmed word-length of the data.
5.17.1.2 Left Justified Mode
The Audio Interface of the TLV320AIC3204 can be put into Left Justified Mode by programming Page 0,
Register 27, D(7:6) = 11. In left-justified mode, the MSB of the right channel is valid on the rising edge of
the bit clock following the falling edge of the word clock. Similarly the MSB of the left channel is valid on
the rising edge of the bit clock following the rising edge of the word clock.
WORD
LEFT CHANNEL RIGHT CHANNEL
CLOCK
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - -
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
WORD
LEFT CHANNEL RIGHT CHANNEL
CLOCK
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - -
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - - 3
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
Figure 5-46. Timing Diagram for Left-Justified Mode with Offset=0 and inverted bit clock
For Left-Justified mode, the number of bit-clocks per frame should be greater than twice the programmed
word-length of the data. Also, the programmed offset value should be less than the number of bit-clocks
per frame by at least the programmed word-length of the data.
5.17.1.3 I2S Mode
The Audio Interface of the TLV320AIC3204 can be put into Right Justified Mode by programming Page 0,
Register 27, D(7:6) = to 00. In I2S mode, the MSB of the left channel is valid on the second rising edge of
the bit clock after the falling edge of the word clock. Similarly the MSB of the right channel is valid on the
second rising edge of the bit clock after the rising edge of the word clock.
WORD
LEFT CHANNEL RIGHT CHANNEL
CLOCK
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - - 3
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
WORD
LEFT CHANNEL RIGHT CHANNEL
CLOCK
BIT
CLOCK
DATA N N N
- 5 4 3 2 1 0 - 5 4 3 2 1 0 - 5
1 1 1
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
WORD
LEFT CHANNEL RIGHT CHANNEL
CLOCK
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - - 3
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
Figure 5-49. Timing Diagram for I2S Mode with offset=0 and bit clock invert
For I2S mode, the number of bit-clocks per channel should be greater than or equal to the programmed
word-length of the data. Also the programmed offset value should be less than the number of bit-clocks
per frame by at least the programmed word-length of the data.
5.17.1.4 DSP Mode
The Audio Interface of the TLV320AIC3204 can be put into Right Justified Mode by programming Page 0,
Register 27, D(7:6) = 01. In DSP mode, the falling edge of the word clock starts the data transfer with the
left channel data first and immediately followed by the right channel data. Each data bit is valid on the
falling edge of the bit clock.
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - - 3
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - -
1 2 3 1 2 3 1 2 3
LD(n) = n'th sample of left channel data RD(n) = n'th sample of right channel data
WORD
LEFT CHANNEL RIGHT CHANNEL
CLOCK
BIT
CLOCK
N N N N N N N N N
DATA - - - 3 2 1 0 - - - 3 2 1 0 - - - 3
1 2 3 1 2 3 1 2 3
Figure 5-52. Timing Diagram for DSP Mode with offset = 1 and bit clock inverted
For DSP mode, the number of bit-clocks per frame should be greater than twice the programmed
word-length of the data. Also the programmed offset value should be less than the number of bit-clocks
per frame by at least the programmed word-length of the data.
5.17.1.5 Secondary I2S
The audio serial interface on the TLV320AIC3204 has an extensive IO control to allow communication
with two independent processors for audio data. Each processor can communicate with the device one at
a time. This feature is enabled by register programming of the various pin selections.
BCLK BCLK
BCLK
BCLK_INT
S_BCLK
S_BCLK
BCLK_OUT
WCLK WCLK
WCLK
S_WCLK DAC_WCLK_INT
S_WCLK
DAC_FS
ADC_FS Audio
DOUT DIN
Digital
WCLK
Serial
ADC_WCLK_INT
DOUT_int
Interface
ADC_WCLK
DOUT
DIN
S_DIN
Primary
Audio DIN
Processor DIN_INT
GPIO
S_DIN
SCLK ADC_WCLK
ADC_FS
MISO
GPIO
SCLK
S_BCLK BCLK
BCLK BCLK2
MISO
DOUT BCLK_OUT
Secondary BCLK_OUT
Audio
Processor Clock
GPIO DAC_FS
Generation
SCLK WCLK
WCLK2 S_WCLK
WCLK ADC_FS
MISO DAC_FS
DOUT ADC_FS
GPIO
DOUT S_DIN
SCLK
DOUT_int
MISO
DIN
(S_DOUT) DIN
The secondary audio interface uses multifunction pins. For an overview on multifunction pins please see
Section 5.2.5. Figure 5-53 illustrates possible audio interface routing. The multifunction pins SCLK and
MISO are only available in I2C communication mode.
This multiplexing capability allows the TLV320AIC3204 to communicate with two separate devices with
independent I2S/PCM busses, one at a time.
SCL
Start 7-bit Device Address Write Slave 8-bit Register Address Slave 8-bit Register Data Slave Stop
(M) (M) (M) Ack (M) Ack (M) Ack (M)
(S) (S) (S)
SCL
Start 7-bit Device Address Write Slave 8-bit Register Address Slave Repeat 7-bit Device Address Read Slave 8-bit Register Data Master Stop
(M) (M) (M) Ack (M) Ack Start (M) (M) Ack (S) No Ack (M)
(S) (S) (M) (S) (M)
In the case of an I2C register write, if the master does not issue a STOP condition, then the device enters
auto-increment mode. So in the next eight clocks, the data on SDA is treated as data for the next
incremental register.
Similarly, in the case of an I2C register read, after the device has sent out the 8-bit data from the
addressed register, if the master issues a ACKNOWLEDGE, the slave takes over control of SDA bus and
transmit for the next 8 clocks the data of the next incremental register.
5.17.2.2 SPI DIGITAL INTERFACE
In the SPI control mode, the TLV320AIC3204 uses the pins SCL/SSZ=SSZ, SCLK=SCLK, MISO=MISO,
SDA/MOSI=MOSI as a standard SPI port with clock polarity setting of 0 (typical microprocessor SPI
control bit CPOL = 0). The SPI port allows full-duplex, synchronous, serial communication between a host
processor (the master) and peripheral devices (slaves). The SPI master (in this case, the host processor)
generates the synchronizing clock (driven onto SCLK) and initiates transmissions. The SPI slave devices
(such as the TLV320AIC3204) depend on a master to start and synchronize transmissions. A transmission
begins when initiated by an SPI master. The byte from the SPI master begins shifting in on the slave
MOSI pin under the control of the master serial clock (driven onto SCLK). As the byte shifts in on the
MOSI pin, a byte shifts out on the MISO pin to the master shift register.
The TLV320AIC3204 interface is designed so that with a clock-phase bit setting of 1 (typical
microprocessor SPI control bit CPHA = 1), the master begins driving its MOSI pin and the slave begins
driving its MISO pin on the first serial clock edge. The SSZ pin can remain low between transmissions;
however, the TLV320AIC3204 only interprets the first 8 bits transmitted after the falling edge of SSZ as a
command byte, and the next 8 bits as a data byte only if writing to a register. Reserved register bits
should be written to their default values. The TLV320AIC3204 is entirely controlled by registers. Reading
and writing these registers is accomplished by an 8-bit command sent to the MOSI pin of the part prior to
the data for that register. The command is structured as shown in Section 5.17.2.3. The first 7 bits specify
the register address which is being written or read, from 0 to 127 (decimal). The command word ends with
an R/W bit, which specifies the direction of data flow on the serial bus. In the case of a register write, the
R/W bit should be set to 0. A second byte of data is sent to the MOSI pin and contains the data to be
written to the register. Reading of registers is accomplished in similar fashion. The 8-bit command word
sends the 7-bit register address, followed by R/W bit = 1 to signify a register read is occurring. The 8-bit
register data is then clocked out of the part on the MISO pin during the second 8 SCLK clocks in the
frame.
Table 5.17.2.3.
COMMAND WORD
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ADDR(6) ADDR(5) ADDR(4) ADDR(3) ADDR(2) ADDR(1) ADDR(0) R/WZ
SSZ
SCLK
MOSI A6 A5 A0 D7 D6 D1 D0
MISO
SSZ
SCLK
MOSI A6 A5 A0 D7 D6 D1 D0
MISO D7 D6 D1 D0
5.18 POWER
The TLV320AIC3204 has four power-supply connections which allow various optimizations for low system
power. The four supply pins are LDOin, DVdd, AVdd and IOVDD.
• IOVdd - The IOVdd pin supplies the digital IO cells of the device. The voltage of IOVdd can range from
1.1 to 3.6V and is determined by the digital IO voltage of the rest of the system.
• DVdd - This pin is either a supply input to the device, or if the internal LDO is used it is used to
connect an external capacitor. It supplies the digital core of the device. Lower DVdd voltages cause
lower power dissipation. If efficient switched-mode power supplies are used in the system, system
power can be optimized using low DVdd voltages. The device will offer full functionality up to the
highest specified clock frequencies for DVdd values of 1.65 to 1.95V.
• AVdd - This pin is either a supply input to the device, or if the internal LDO is used it is used to
connect an external capacitor. It supplies the analog core of the device. The analog core voltage
(AVdd) may be in the range of 1.5 to 1.95V for specified performance. For AVdd voltages above 1.8V,
the internal common mode voltage can be set to 0.9V (Pg 1, Reg 10, D(6)=0, default) resulting in
500mVrms full-scale voltage internally. For AVdd voltages below 1.8V, the internal common mode
voltage should be set to 0.75V (Pg 1, Reg 10, D(6)=1), resulting in 375mVrms internal full scale
voltage. At powerup, AVDD is weakly connected to DVDD. This coarse AVDD generation must be
turned off by writing Pg 1, Reg 1, D(3) = 1 at the time AVDD is applied, either from internal LDO or
through external LDO.
• LDOin - The LDOin pin serves two main functions. It serves as supply to internal LDOs as well as to
the analog-output amplifiers of the device. The LDOin voltage can range from 1.9V to 3.6V. In
conjunction with the two internal LDOs for AVdd and DVdd the device can run from a single supply.
For cases where high output voltages from the line out amplifiers (1Vrms) or high output power from
the headphone amplifier is required, the LDOin voltage is used as a supply.
5.19 REFERENCE
All data converters require a DC reference voltage. The TLV320AIC3204 achieves its low-noise
performance by internally generating a low-noise reference voltage. This reference voltage is generated
using a band-gap circuit with a good PSRR performance. This reference voltage must be filtered
externally using a minimum 1µF capacitor connected from the REF pin to analog ground (AVss).
To achieve low power consumption, this reference block is powered down when all analog blocks inside
the device are powered down. In this condition, the REF pin is 3-stated. On powerup of any analog block,
the reference block is also powered up and the REF pin settles to its steady-state voltage after the settling
time (a function of the de-coupling capacitor on the REF pin). This time is approximately equal to 1 second
when using a 1µF decoupling capacitor. In the event that a faster power-up is required, either the
reference block can be kept powered up (even when no other analog block is powered up) by
programming Page 1, Register 123, D(2) = 1. However, in this case, an additional 125µA of current from
DVdd and 105µA of current from AVdd is consumed. Additionally, to achieve a faster powerup, a
fast-charge option is also provided where the charging time can be controlled between 40ms and 120ms
by programming Page 1, Register 123, D(1:0). By default, the fast charge option is disabled.
Table 5-26. Input Common Mode voltage and Input Signal Swing
Input Common Mode AVdd (V) Channel Gain (dB) Single-Ended Input Differential Input Swing
Voltage (V) Swing for 0dBFS output for 0dBFS output signal
signal (VRMS) (VRMS)
0.75 >1.5 0 0.375 0.75
0.90 1.8 … 1.95 0 0.5 1.0
The choice of input common mode of 0.75V allows the use of PowerTune mode PTM_R1 which results in
significantly lower power dissipation. (see Section 5.5) An input common-mode voltage of 0.9V allows the
user to maximize the signal swings and SNR.
NOTE
The input common mode setting is common for ADC record, DAC playback and Analog
Bypass path
1 3
s s HPR
g g
s s HPL
Micpga
m m
SCLK
MICBIAS Micbias
This feature is enabled by programming Page 0, Register 67, D(1). 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 32ms - 512ms is
provided. This can be programmed via Page 0, Register 67, D(4:2). For improved button-press detection,
the debounce function has a range of 8ms to 32ms by programming Page 0, Register 67, D(1:0).
The TLV320AIC3204 also provides feedback to user when a button press, or a headset insertion/removal
event is detected through register readable flags as well as an interrupt on the IO pins. The value in Page
0, Register 45, D(5:4) provides the instantaneous state of button press and headset insertion. Page 0,
Register 44, D(5) is a sticky (latched) flag that is set when the button-press event is detected. Page 0,
Register 44, D(4) is a sticky flag which is set when the headset insertion or removal event is detected.
These sticky flags are set by the event occurrence, and are reset only when read. This requires polling
Page 0, Register 44. To avoid polling and the associated overhead, the TLV320AIC3204 also provides an
interrupt feature where the events can trigger the INT1 and/or INT2 interrupts. These interrupt events can
be routed to one of the digital output pins. Please refer to Section 5.21.2 for details.
The TLV320AIC3204 not only detects a headset insertion event, but also is able to distinguish between
the different headsets inserted such as stereo headphones or cellular headphones. After the
headset-detection event, the user can read Page 0, Register 67, D(6:5) to determine the type of headset
inserted.
The headset detection block requires AVdd to be powered and Master Analog Power control in Page 1,
Register 2, D(3) to be enabled. The headset detection feature in the TLV320AIC3204 is achieved with a
very low power overhead, requiring less than 20µA of additional current from AVdd supply.
5.21.2 Interrupts
Some specific events in the TLV320AIC3204 which may require host processor intervention, can be used
to trigger interrupts to the host processor. This avoids polling the status-flag registers continuously. The
TLV320AIC3204 has two defined interrupts; INT1 and INT2 that can be configured by programming Page
0, Register 48 and 49. A user can configure the interrupts INT1 and INT2 to be triggered by one or many
events such as
• Headset Detection
• Button Press
• DAC DRC Signal exceeding Threshold
• Noise detected by AGC
• Over-current condition in headphones
• Data Overflow in ADC and DAC Processing Blocks and Filters and
• DC Measurement Data Available
Each of these INT1 and INT2 interrupts can be routed to output pins like GPIO, DOUT and MISO by
configuring the respective output control registers in Page 0, Register 52, 53 and 55. These interrupt
signals can either be configured as a single pulse or a series of pulses by programming Page 0, Register
48, D(0) and Page 0, Register 49, D(0). If the user configures the interrupts as a series of pulses, the
events will trigger the start of pulses that will stop when the flag registers in Page 0, Register 42, 44 and
45 are read by the user to determine the cause of the interrupt.
5.22.1 Stereo DAC Playback with 48ksps Sample Rate and High Performance.
Assumption
AVdd = 1.8V, DVdd = 1.8V
MCLK = 12.288MHz
Ext C = 47uF
Based on C the wait time will change.
Wait time = N*Rpop*C + 4* Offset ramp time
5.22.2 Stereo DAC Playback with 48ksps Sample Rate and Low Power Mode
Assumption
AVdd = 1.8V, DVdd = 1.8V
MCLK = 12.288MHz
Ext C = 47µF
Based on C the wait time will change.
Wait time = N*Rpop*C + 4* Offset ramp time
Default settings used.
PLL Disabled
# Initialize to Page 0
w 30 00 00
# Initialize the device through software reset
w 30 01 01
# Power up the NDAC divide with value 1
w 30 0b 81
# Initialize to Page 0
w 30 00 00
# Initialize the device through software reset
w 30 01 01
# Power up the NDAC divider with value 1
w 30 0B 81
# Power up the MDAC divider with value 4
# For Class-D mode, MDAC = I*4
w 30 0C 84
# Program the OSR of DAC to 128
w 30 0D 00
w 30 0E 80
# Set the DAC Mode to PRB_P1v
w 30 3C 01
# Select Page 1
w 30 00 01
# Disable Internal Crude AVdd in presence of external AVdd supply or before
# powering up internal AVdd LDO
w 30 01 08
w 30 00 01
# Enable Class-D mode for HPL output
w 30 03 C0
# Enable Class-D mode for HPR output
w 30 04 C0
# Power down HPL and HPR drivers
w 30 09 00
Power Down
# Select Page 0
w 30 00 00
# Mute the DAC digital volume control
w 30 40 0d
# Power down the DAC
W 30 3F C0
# Disable Class-D mode for HPL output
w 30 03 00
# Disable Class-D mode for HPL output
w 30 04 00
5.22.4 Stereo ADC with 48ksps Sample Rate and High Performance
Assumption
AVdd = 1.8V, DVdd = 1.8V
MCLK = 12.288MHz
Default settings used.
PLL Disabled
I2S Interface with 16bit Word Length.
AOSR 128
PRB_R1
PTM_R4
# Initialize to Page 0
w 30 00 00
# S/W Reset to initialize all registers
w 30 01 01
# Power up NADC divider with value 1
w 30 12 81
# Power up MADC divider with value 2
w 30 13 82
# Program OSR for ADC to 128
w 30 14 80
# Select ADC PRB_R1
w 30 3d 01
# Select Page 1
w 30 00 01
# Disable Internal Crude AVdd in presence of external AVdd supply or before
# powering up internal AVdd LDO
w 30 01 08
# Enable Master Analog Power Control
w 30 02 00
# Set the input common mode to 0.9V
w 30 0a 00
# Select ADC PTM_R4
w 30 3d 00
# Set MicPGA startup delay to 3.1ms
w 30 47 32
# Set the REF charging time to 40ms
w 30 7b 01
# Route IN1L to LEFT_P with 20K input impedance
w 30 34 80
# Route Common Mode to LEFT_M with impedance of 20K
w 30 36 80
# Route IN1R to RIGHT_P with input impedance of 20K
w 30 37 80
# Route Common Mode to RIGHT_M with impedance of 20K
w 30 39 80
# Unmute Left MICPGA, Gain selection of 6dB to make channel gain 0dB
# Register of 6dB with input impedance of 20K => Channel Gain of 0dB
w 30 3b 0c
# Unmute Right MICPGA, Gain selection of 6dB to make channel gain 0dB
# Register of 6dB with input impedance of 20K => Channel Gain of 0dB
w 30 3c 0c
# Select Page 0
w 30 00 00
# Power up Left and Right ADC Channels
w 30 51 c0
# Unmute Left and Right ADC Digital Volume Control.
w 30 52 00
5.22.5 Stereo ADC with 48ksps Sample Rate and Low Power
Assumption
AVdd = 1.8V, DVdd = 1.8V
MCLK = 12.288MHz
Default settings used.
PLL Disabled
I2S Interface with 16bit Word Length.
# Initialize to Page 0
w 30 00 00
# S/W Reset to initialize all registers
w 30 01 01
# Power up NADC divider with value 1
w 30 12 81
# Power up MADC divider with value 4
w 30 13 84
# Program OSR for ADC to 64
w 30 14 40
# Select ADC PRB_R7
w 30 3d 07
# Select Page 1
w 30 00 01
# Disable Internal Crude AVdd in presence of external AVdd supply or before
#powering up internal AVdd LDO
w 30 01 08
# Enable Master Analog Power Control
w 30 02 00
# Set the input common mode to 0.75V
w 30 0a 40
# Select ADC PTM_R1
w 30 3d ff
# Unmute Right MICPGA, Gain selection of 6dB to make channel gain 0dB
# Register of 6dB with input impedance of 20K => Channel Gain of 0dB
w 30 3c 0c
# Select Page 0
w 30 00 00
# Power up Left and Right ADC Channels
w 30 51 c0
# Unmute Left and Right ADC Digital Volume Control.
w 30 52 00
6 REGISTER MAP
The TLV320AIC3204 contains 38 pages of 8-bit registers, each page can contain up to 128 registers.
The register pages are divided up based on functional blocks for this device. Page 0 is the default
“home” page after hardware reset.
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5–D0 R/W 00 0000 PLL divider D value (MSB)
PLL divider D value(MSB) & PLL divider D value(LSB)
00 0000 0000 0000: D=0000
00 0000 0000 0001: D=0001
…
10 0111 0000 1110: D=9998
10 0111 0000 1111: D=9999
10 0111 0001 0000…11 1111 1111 1111: Do not use
Note: This register will be updated only when the Page-0, Reg-8 is written immediately after
Page-0, Reg-7
6.2.13 Page 0 / Register 13: DAC OSR Setting Register 1, MSB Value
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D2 R 0000 00 Reserved. Write only default values
D1–D0 R/W 00 DAC OSR (DOSR) Setting
DAC OSR(MSB) & DAC OSR(LSB)
00 0000 0000: DOSR=1024
00 0000 0001: DOSR=1
00 0000 0010: DOSR=2
…
11 1111 1110: DOSR=1022
11 1111 1111: DOSR=1023
Note: This register is updated when Page-0, Reg-14 is written to immediately after Page-0, Reg-13
Note: DOSR should be a multiple of 2 while using DAC Filter Type A, Multiple of 4 while using
DAC Filter Type B and Multiple of 8 while using DAC Filter Type C
6.2.14 Page 0 / Register 14: DAC OSR Setting Register 2, LSB Value
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D0 R/W 1000 0000 DAC OSR (DOSR) Setting
DAC OSR(MSB) & DAC OSR(LSB)
00 0000 0000: DOSR=1024
00 0000 0001: Reserved. Do not use
00 0000 0010: DOSR=2
…
11 1111 1110: DOSR=1022
11 1111 1111: Reserved. Do not use
Note: This register should be written immediately after Page-0, Reg-13
Note: DOSR should be a multiple of 2 while using DAC Filter Type A, Multiple of 4 while using
DAC Filter Type B and Multiple of 8 while using DAC Filter Type C
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D2–D0 R/W 000 CDIV_CLKIN Clock Selection
000: CDIV_CLKIN= MCLK
001: CDIV_CLKIN= BCLK
010: CDIV_CLKIN=DIN
011: CDIV_CLKIN=PLL_CLK
100: CDIV_CLKIN=DAC_CLK
101: CDIV_CLKIN=DAC_MOD_CLK
110: CDIV_CLKIN=ADC_CLK
111: CDIV_CLKIN=ADC_MOD_CLK
6.2.26 Page 0 / Register 26: Clock Setting Register 10, CLKOUT M divider value
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7 R/W 0 CLKOUT M divider power control
0: CLKOUT M divider powered down
1: CLKOUT M divider powered up
D6–D0 R/W 000 0001 CLKOUT M divider value
000 0000: CLKOUT M divider = 128
000 0001: CLKOUT M divider = 1
000 0010: CLKOUT M divider = 2
…
111 1110: CLKOUT M divider = 126
111 1111: CLKOUT M divider = 127
Note: Please check the clock frequencies in the Overview section
6.2.28 Page 0 / Register 28: Audio Interface Setting Register 2, Data offset setting
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D0 R/W 0000 0000 Data Offset Value
0000 0000: Data Offset = 0 BCLK's
0000 0001: Data Offset = 1 BCLK's
…
1111 1110: Data Offset = 254 BCLK's
1111 1111: Data Offset = 255 BCLK's
6.2.30 Page 0 / Register 30: Clock Setting Register 11, BCLK N Divider
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7 R/W 0 BCLK N Divider Power Control
0: BCLK N divider powered down
1: BCLK N divider powered up
D6–D0 R/W 000 0001 BCLK N Divider value
0000 0000: BCLK N divider = 128
0000 0001: BCLK N divider =1
…
1111 1110: BCLK N divider = 126
1111 1111: BCLK N divider = 127
6.2.31 Page 0 / Register 31: Audio Interface Setting Register 4, Secondary Audio Interface
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7 R 0 Reserved. Write only default values
D6–D5 R/W 00 Secondary Bit Clock Multiplexer
00: Secondary Bit Clock = GPIO
01: Secondary Bit Clock = SCLK
10: Secondary Bit Clock = MISO
11: Secondary Bit Clock = DOUT
D4–D3 R/W 00 Secondary Word Clock Multiplexer
00: Secondary Word Clock = GPIO
01: Secondary Word Clock = SCLK
10: Secondary Word Clock = MISO
11: Secondary Word Clock = DOUT
D2–D1 R/W 00 ADC Word Clock Multiplexer
00: ADC Word Clock = GPIO
01: ADC Word Clock = SCLK
10: ADC Word Clock = MISO
11: Do not use
D0 R/W 0 Secondary Data Input Multiplexer
0: Secondary Data Input = GPIO
1: Secondary Data Input = SCLK
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D2 R 0 Right Channel DRC, Signal Threshold Flag
0: Signal Power is below Signal Threshold
1: Signal Power exceeded Signal Threshold (will be cleared when the register is read)
D1–D0 R 00 Reserved. Write only default values
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5 R 0 Right AGC Noise Threshold Flag
0: Signal Power is greater than Noise Threshold
1: Signal Power was lower than Noise Threshold
D4–D3 R 00 Reserved. Write only default values
D2 R 0 Left ADC DC Measurement Data Available Flag
0: Data not available
1: Data available
D1 R 0 Right ADC DC Measurement Data Available Flag
0: Data not available
1: Data available
D0 R 0 Reserved. Write only default values
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D4 R/W 0 INT2 Interrupt for AGC Noise Interrupt
0: Noise level detected by AGC will not generate a INT2 interrupt
1: Noise level detected by either off Left or Right Channel AGC will generate a INT2 interrupt.
Read Page-0, Register-45 to distinguish between Left or Right Channel
D3 R/W 0 INT2 Interrupt for Over Current Condition
0: Headphone Over Current condition will not generate a INT2 interrupt.
1: Headphone Over Current condition on either off Left or Right Channels will generate a INT2
interrupt. Read Page-0, Register-44 to distinguish between HPL and HPR
D2 R/W 0 INT2 Interrupt for overflow event
0: ADC or DAC data overflows does not result in a INT1 interrupt
1: ADC or DAC data overflow will result in a INT1 interrupt. Read Page-0, Register-42 to
distinguish between ADC or DAC data overflow
D1 R/W 0 INT2 Interrupt for DC Measurement
0: DC Measurement data available will not generate INT2 interrupt
1: DC Measurement data available will generate INT2 interrupt
D0 R/W 0 INT2 pulse control
0: INT2 is active high interrupt of 1 pulse of approx. 2ms duration
1: INT2 is active high interrupt of multiple pulses, each of duration 2ms. To stop the pulse train,
read Page-0, Reg-42d, 44d and 45d
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D3–D1 R/W 001 DOUT MUX Control
000: DOUT disabled
001: DOUT is Primary DOUT
010: DOUT is General Purpose Output
011: DOUT is CLKOUT
100: DOUT is INT1
101: DOUT is INT2
110: DOUT is Secondary BCLK
111: DOUT is Secondary WCLK
D0 R/W 0 DOUT as General Purpose Output
0: DOUT General Purpose Output is '0'
1: DOUT General Purpose Output is '1'
6.2.55 Page 0 / Register 60: DAC Signal Processing Block Control Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D5 R 000 Reserved. Write only default values
D4–D0 R/W 0 0001 Selects the ADC (recording) signal processing block
0 0000: Reserved. Do not use
0 0001: DAC Signal Processing Block PRB_P1
0 0010: DAC Signal Processing Block PRB_P2
0 0011: DAC Signal Processing Block PRB_P3
0 0100: DAC Signal Processing Block PRB_P4
…
1 1000: DAC Signal Processing Block PRB_P24
1 1001: DAC Signal Processing Block PRB_P25
1 1010-1 1111: Reserved. Do not use
Note; Please check the overview section for description of the Signal Processing Modes
6.2.56 Page 0 / Register 61: ADC Signal Processing Block Control Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D5 R 000 Reserved. Write only default values
D4–D0 R/W 0 0001 0 0000: Reserved. Do not use
0 0001: ADC Singal Processing Block PRB_R1
0 0010: ADC Signal Processing Block PRB_R2
0 0011: ADC Signal Processing Block PRB_R3
0 0100: ADC Signal Processing Block PRB_R4
…
1 0001: ADC Signal Processing Block PRB_R17
1 0010: ADC Signal Processing Block PRB_R18
1 0010-1 1111: Reserved. Do not use
Note: Please check the overview section for description of the Signal Processing Modes
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D1–D0 R/W 00 DAC Channel Volume Control's Soft-Step control
00: Soft-Stepping is 1 step per 1 DAC Word Clock
01: Soft-Stepping is 1 step per 2 DAC Word Clocks
10: Soft-Stepping is disabled
11: Reserved. Do not use
6.2.60 Page 0 / Register 65: Left DAC Channel Digital Volume Control Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D0 R/W 0000 0000 Left DAC Channel Digital Volume Control Setting
0111 1111-0011 0001: Reserved. Do not use
0011 0000: Digital Volume Control = +24dB
0010 1111: Digital Volume Control = +23.5dB
…
0000 0001: Digital Volume Control = +0.5dB
0000 0000: Digital Volume Control = 0.0dB
1111 1111: Digital Volume Control = -0.5dB
...
1000 0010: Digital Volume Control = -63dB
1000 0001: Digital Volume Control = -63.5dB
1000 0000: Reserved. Do not use
6.2.61 Page 0 / Register 66: Right DAC Channel Digital Volume Control Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D0 R/W 0000 0000 Right DAC Channel Digital Volume Control Setting
0111 1111-0011 0001: Reserved. Do not use
0011 0000: Digital Volume Control = +24dB
0010 1111: Digital Volume Control = +23.5dB
…
0000 0001: Digital Volume Control = +0.5dB
0000 0000: Digital Volume Control = 0.0dB
1111 1111: Digital Volume Control = -0.5dB
...
1000 0010: Digital Volume Control = -63dB
1000 0001: Digital Volume Control = -63.5dB
1000 0000: Reserved. Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D1–D0 R/W 11 DRC Hysteresis Control
00: DRC Hysteresis = 0dB
01: DRC Hysteresis = 1dB
10: DRC Hysteresis = 2dB
11: DRC Hysteresis = 3dB
6.2.78 Page 0 / Register 83: Left ADC Channel Volume Control Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7 R 0 Reserved. Write only default values
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D6–D0 R/W 000 0000 Left ADC Channel Volume Control
100 0000-110 1000: Reserved. Do not use
110 0111: Left ADC Channel Volume = -12dB
110 0110: Left ADC Channel Volume = -11.5dB
110 0101: Left ADC Channel Volume = -11.0dB
…
111 1111: Left ADC Channel Volume = -0.5dB
000 0000: Left ADC Channel Volume = 0.0dB
000 0001: Left ADC Channel Volume = 0.5dB
...
010 0110: Left ADC Channel Volume = 19.0dB
010 0111: Left ADC Channel Volume = 19.5dB
010 1000: Left ADC Channel Volume = 20.0dB
010 1001-011 1111: Reserved. Do not use
6.2.79 Page 0 / Register 84: Right ADC Channel Volume Control Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7 R 0 Reserved. Write only default values
D6–D0 R/W 000 0000 Right ADC Channel Volume Control
100 0000-110 1000: Reserved. Do not use
110 0111: Right ADC Channel Volume = -12dB
110 0110: Right ADC Channel Volume = -11.5dB
110 0101: Right ADC Channel Volume = -11.0dB
…
111 1111: Right ADC Channel Volume = -0.5dB
000 0000: Right ADC Channel Volume = 0.0dB
000 0001: Right ADC Channel Volume = 0.5dB
...
010 0110: Right ADC Channel Volume = 19.0dB
010 0111: Right ADC Channel Volume = 19.5dB
010 1000: Right ADC Channel Volume = 20.0dB
010 1001-011 1111: Reserved. Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D1–D0 R/W 00 Left Channel AGC Gain Hysteresis Control
00: Left Channel AGC Gain Hysteresis is disabled
01: Left Channel AGC Gain Hysteresis is 0.5dB
10: Left Channel AGC Gain Hysteresis is 1.0dB
11: Left Channel AGC Gain Hysteresis is 1.5dB
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D6–D0 R/W 111 1111 Right Channel AGC Maximum Gain Setting
000 0000: Right Channel AGC Maximum Gain = 0.0dB
000 0001: Right Channel AGC Maximum Gain = 0.5dB
000 0010: Right Channel AGC Maximum Gain = 1.0dB
…
111 0011: Right Channel AGC Maximum Gain = 57.5dB
111 0100-111 1111: Right Channel AGC Maximum Gain = 58.0dB
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D4–D0 R/W 0 0000 Right Channel AGC Noise Debounce Time Setting
0 0001: Right Channel AGC Noise Debounce Time =0
0 0010: Right Channel AGC Noise Debounce Time = 4 ADC Word Clocks
0 0011: Right Channel AGC Noise Debounce Time = 8 ADC Word Clocks
…
0 1010: Right Channel AGC Noise Debounce Time = 2048 ADC Word Clocks
0 1011: Right Channel AGC Noise Debounce Time = 4096 ADC Word Clocks
0 1100: Right Channel AGC Noise Debounce Time = 2*4096 ADC Word Clocks
0 1101: Right Channel AGC Noise Debounce Time = 3*4096 ADC Word Clocks
...
1 1101: Right Channel AGC Noise Debounce Time = 19*4096 ADC Word Clocks
1 1110: Right Channel AGC Noise Debounce Time = 20*4096 ADC Word Clocks
1 1111: Right Channel AGC Noise Debounce Time = 21*4096 ADC Word Clocks
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D4–D0 R/W 0 0000 DC Measurement D setting
0 0000: Reserved. Do not use
0 0001: DC Measurement D parameter =1
0 0010: DC Measurement D parameter =2
..
1 0011: DC Measurement D parameter = 19
1 0100: DC Measurement D parameter = 20
1 0101-1 1111: Reserved. Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5–D4 R/W 00 00: Output Common Mode for HPL & HPR is same as full-chip common mode
01: Output Common Mode for HPL & HPR is 1.25V
10: Output Common Mode for HPL & HPR is 1.5V
11: Output Common Mode for HPL & HPR is 1.65V
D3 R/W 0 0: Output Common Mode for LOL & LOR is same as full-chip common mode
1: Output Common Mode for LOL & LOR is 1.65V and output is powered by LDOIN
D2 R 0 Reserved. Write only default value
D1 R/W 0 0: Output of HPL & HPR is powered with AVDD supply
1: Output of HPL & HPR is powered with LDOIN supply
D0 R/W 0 0: When Page-1, Reg-10, D1=1, then LDOIN input range is 1.5V to 1.95V
1: When Page-1, Reg-10, D1=1, then LDOIN input range is 1.8V to 3.6V
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D0 R/W 0 0: HPL output is not routed to HPR
1: HPL output is routed to HPR (use when HPL&HPR output is powered by AVDD)
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5–D0 R/W 00 0000 10 0000-11 1001: Reserved. Do not use
11 1010: HPR driver gain is -6dB
(Note: It is not possible to mute HPR while programmed to -6dB)
11 1011: HPR driver gain is -5dB
11 1100: HPR driver gain is -4dB
…
00 0000: HPR driver gain is 0dB
...
01 1011: HPR driver gain is 27dB
01 1100: HPR driver gain is 28dB
01 1101: HPR driver gain is 29dB
01 1110-01 1111: Reserved. Do not use
Note: These gains are not valid while using the driver in Class-D mode
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5–D2 R/W 0000 0000: Slow power up of headphone amp's is disabled
0001: Headphone amps power up slowly in 0.5 time constants
0010: Headphone amps power up slowly in 0.625 time constants
0011; Headphone amps power up slowly in 0.725 time constants
0100: Headphone amps power up slowly in 0.875 time constants
0101: Headphone amps power up slowly in 1.0 time constants
0110: Headphone amps power up slowly in 2.0 time constants
0111: Headphone amps power up slowly in 3.0 time constants
1000: Headphone amps power up slowly in 4.0 time constants
1001: Headphone amps power up slowly in 5.0 time constants
1010: Headphone amps power up slowly in 6.0 time constants
1011: Headphone amps power up slowly in 7.0 time constants
1100: Headphone amps power up slowly in 8.0 time constants
1101: Headphone amps power up slowly in 16.0 time constants ( do not use for Rchg=25K)
1110: Headphone amps power up slowly in 24.0 time constants (do not use for Rchg=25K)
1111: Headphone amps power up slowly in 32.0 time constants (do not use for Rchg=25K)
Note: Time constants assume 47uF decoupling cap
D1–D0 R/W 00 00: Headphone amps power up time is determined with 25K resistance
01: Headphone amps power up time is determined with 6K resistance
10: Headphone amps power up time is determined with 2K resistance
11: Reserved. Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D6–D0 R/W 000 0000 IN1L to HPL Volume Control
000 0000: Volume Control = 0.0dB
000 0001: Volume Control = -0.5dB
000 0010: Volume Control = -1.0dB
000 0011: Volume Control = -1.5dB
000 0100: Volume Control = -2.0dB
000 0101: Volume Control = -2.5dB
000 0110: Volume Control = -3.0dB
000 0111: Volume Control = -3.5dB
000 1000: Volume Control = -4.0dB
000 1001: Volume Control = -4.5dB
000 1010: Volume Control = -5.0dB
000 1011: Volume Control = -5.5dB
000 1100: Volume Control = -6.0dB
000 1101: Volume Control = -7.0dB
000 1110: Volume Control = -8.0dB
000 1111: Volume Control = -8.5dB
001 0000: Volume Control = -9.0dB
001 0001: Volume Control = -9.5dB
001 0010: Volume Control = -10.0dB
001 0011: Volume Control = -10.5dB
001 0100: Volume Control = -11.0dB
001 0101: Volume Control = -11.5dB
001 0110: Volume Control = -12.0dB
001 0111: Volume Control = -12.5dB
001 1000: Volume Control = -13.0dB
001 1001: Volume Control = -13.5dB
001 1010: Volume Control = -14.0dB
001 1011: Volume Control = -14.5dB
001 1100: Volume Control = -15.0dB
001 1101: Volume Control = -15.5dB
001 1110: Volume Control = -16.0dB
001 1111: Volume Control = -16.5dB
010 0000: Volume Control = -17.1dB
010 0001: Volume Control = -17.5dB
010 0010: Volume Control = -18.1dB
010 0011: Volume Control = -18.6dB
010 0100: Volume Control = -19.1dB
010 0101: Volume Control = -19.6dB
010 0110: Volume Control = -20.1dB
010 0111: Volume Control = -20.6dB
010 1000: Volume Control = -21.1dB
010 1001: Volume Control = -21.6dB
010 1010: Volume Control = -22.1dB
010 1011: Volume Control = -22.6dB
010 1100: Volume Control = -23.1dB
010 1101: Volume Control = -23.6dB
010 1110: Volume Control = -24.1dB
010 1111: Volume Control = -24.6dB
011 0000: Volume Control = -25.1dB
011 0001: Volume Control = -25.6dB
011 0010: Volume Control = -26.1dB
011 0011: Volume Control = -26.6dB
011 0100: Volume Control = -27.1dB
011 0101: Volume Control = -27.6dB
011 0110: Volume Control = -28.1dB
011 0111: Volume Control = -28.6dB
011 1000: Volume Control = -29.1dB
011 1001: Volume Control = -29.6dB
011 1010: Volume Control = -30.1dB
011 1011: Volume Control = -30.6dB
011 1100: Volume Control = -31.1dB
011 1100: Volume Control = -31.6dB
011 1101: Volume Control = -32.1dB
011 1110: Volume Control = -32.6dB
011 1111: Volume Control = -33.1dB
100 0000: Volume Control = -33.6dB
100 0001: Volume Control = -34.1dB
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
100 0010: Volume Control = -34.6dB
100 0011: Volume Control = -35.2dB
100 0100: Volume Control = -35.7dB
100 0101: Volume Control = -36.2dB
100 0110: Volume Control = -36.7dB
100 0111: Volume Control = -37.2dB
100 1000: Volume Control = -37.7dB
100 1001: Volume Control = -38.2dB
100 1010: Volume Control = -38.7dB
100 1011: Volume Control = -39.2dB
100 1100: Volume Control = -39.7dB
100 1101: Volume Control = -40.2dB
100 1110: Volume Control = -40.7dB
100 1111: Volume Control = -41.2dB
101 0000: Volume Control = -41.7dB
101 0001: Volume Control = -42.1dB
101 0010: Volume Control = -42.7dB
101 0011: Volume Control = -43.2dB
101 0100: Volume Control = -43.8dB
101 0101: Volume Control = -44.3dB
101 0110: Volume Control = -44.8dB
101 0111: Volume Control = -45.2dB
101 1000: Volume Control = -45.8dB
101 1001: Volume Control = -46.2dB
101 1010: Volume Control = -46.7dB
101 1011: Volume Control = -47.4dB
101 1100: Volume Control = -47.9dB
101 1101: Volume Control = -48.2dB
101 1110: Volume Control = -48.7dB
101 1111: Volume Control = -49.3dB
110 0000: Volume Control = -50.0dB
110 0001: Volume Control = -50.3dB
110 0010: Volume Control = -51.0dB
110 0011: Volume Control = -51.42dB
110 0100: Volume Control = -51.82dB
110 0101: Volume Control = -52.3dB
110 0110: Volume Control = -52.7dB
110 0111: Volume Control = -53.7dB
110 1000: Volume Control = -54.2dB
110 1001: Volume Control = -55.4dB
110 1010: Volume Control = -56.7dB
110 1011: Volume Control = -58.3dB
110 1100: Volume Control = -60.2dB
110 1101: Volume Control = -62.7dB
110 1110: Volume Control = -64.3dB
110 1111: Volume Control = -66.2dB
111 0000: Volume Control = -68.7dB
111 0001: Volume Control = -72.3dB
111 0010: Volume Control = MUTE
111 0011-111 1111: Reserved. Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D6–D0 R/W 000 0000 IN1R to HPR Volume Control
000 0000: Volume Control = 0.0dB
000 0001: Volume Control = -0.5dB
000 0010: Volume Control = -1.0dB
000 0011: Volume Control = -1.5dB
000 0100: Volume Control = -2.0dB
000 0101: Volume Control = -2.5dB
000 0110: Volume Control = -3.0dB
000 0111: Volume Control = -3.5dB
000 1000: Volume Control = -4.0dB
000 1001: Volume Control = -4.5dB
000 1010: Volume Control = -5.0dB
000 1011: Volume Control = -5.5dB
000 1100: Volume Control = -6.0dB
000 1101: Volume Control = -7.0dB
000 1110: Volume Control = -8.0dB
000 1111: Volume Control = -8.5dB
001 0000: Volume Control = -9.0dB
001 0001: Volume Control = -9.5dB
001 0010: Volume Control = -10.0dB
001 0011: Volume Control = -10.5dB
001 0100: Volume Control = -11.0dB
001 0101: Volume Control = -11.5dB
001 0110: Volume Control = -12.0dB
001 0111: Volume Control = -12.5dB
001 1000: Volume Control = -13.0dB
001 1001: Volume Control = -13.5dB
001 1010: Volume Control = -14.0dB
001 1011: Volume Control = -14.5dB
001 1100: Volume Control = -15.0dB
001 1101: Volume Control = -15.5dB
001 1110: Volume Control = -16.0dB
001 1111: Volume Control = -16.5dB
010 0000: Volume Control = -17.1dB
010 0001: Volume Control = -17.5dB
010 0010: Volume Control = -18.1dB
010 0011: Volume Control = -18.6dB
010 0100: Volume Control = -19.1dB
010 0101: Volume Control = -19.6dB
010 0110: Volume Control = -20.1dB
010 0111: Volume Control = -20.6dB
010 1000: Volume Control = -21.1dB
010 1001: Volume Control = -21.6dB
010 1010: Volume Control = -22.1dB
010 1011: Volume Control = -22.6dB
010 1100: Volume Control = -23.1dB
010 1101: Volume Control = -23.6dB
010 1110: Volume Control = -24.1dB
010 1111: Volume Control = -24.6dB
011 0000: Volume Control = -25.1dB
011 0001: Volume Control = -25.6dB
011 0010: Volume Control = -26.1dB
011 0011: Volume Control = -26.6dB
011 0100: Volume Control = -27.1dB
011 0101: Volume Control = -27.6dB
011 0110: Volume Control = -28.1dB
011 0111: Volume Control = -28.6dB
011 1000: Volume Control = -29.1dB
011 1001: Volume Control = -29.6dB
011 1010: Volume Control = -30.1dB
011 1011: Volume Control = -30.6dB
011 1100: Volume Control = -31.1dB
011 1100: Volume Control = -31.6dB
011 1101: Volume Control = -32.1dB
011 1110: Volume Control = -32.6dB
011 1111: Volume Control = -33.1dB
100 0000: Volume Control = -33.6dB
100 0001: Volume Control = -34.1dB
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
100 0010: Volume Control = -34.6dB
100 0011: Volume Control = -35.2dB
100 0100: Volume Control = -35.7dB
100 0101: Volume Control = -36.2dB
100 0110: Volume Control = -36.7dB
100 0111: Volume Control = -37.2dB
100 1000: Volume Control = -37.7dB
100 1001: Volume Control = -38.2dB
100 1010: Volume Control = -38.7dB
100 1011: Volume Control = -39.2dB
100 1100: Volume Control = -39.7dB
100 1101: Volume Control = -40.2dB
100 1110: Volume Control = -40.7dB
100 1111: Volume Control = -41.2dB
101 0000: Volume Control = -41.7dB
101 0001: Volume Control = -42.1dB
101 0010: Volume Control = -42.7dB
101 0011: Volume Control = -43.2dB
101 0100: Volume Control = -43.8dB
101 0101: Volume Control = -44.3dB
101 0110: Volume Control = -44.8dB
101 0111: Volume Control = -45.2dB
101 1000: Volume Control = -45.8dB
101 1001: Volume Control = -46.2dB
101 1010: Volume Control = -46.7dB
101 1011: Volume Control = -47.4dB
101 1100: Volume Control = -47.9dB
101 1101: Volume Control = -48.2dB
101 1110: Volume Control = -48.7dB
101 1111: Volume Control = -49.3dB
110 0000: Volume Control = -50.0dB
110 0001: Volume Control = -50.3dB
110 0010: Volume Control = -51.0dB
110 0011: Volume Control = -51.42dB
110 0100: Volume Control = -51.82dB
110 0101: Volume Control = -52.3dB
110 0110: Volume Control = -52.7dB
110 0111: Volume Control = -53.7dB
110 1000: Volume Control = -54.2dB
110 1001: Volume Control = -55.4dB
110 1010: Volume Control = -56.7dB
110 1011: Volume Control = -58.3dB
110 1100: Volume Control = -60.2dB
110 1101: Volume Control = -62.7dB
110 1110: Volume Control = -64.3dB
110 1111: Volume Control = -66.2dB
111 0000: Volume Control = -68.7dB
111 0001: Volume Control = -72.3dB
111 0010: Volume Control = MUTE
111 0011-111 1111: Reserved. Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5–D0 R/W 00 0000 MAL Volume Control
00 0000: Volume Control = 0.0dB
00 0001: Volume Control = -0.4dB
00 0010: Volume Control = -0.9dB
00 0011: Volume Control = -1.3dB
00 0100: Volume Control = -1.8dB
00 0101: Volume Control = -2.3dB
00 0110: Volume Control = -2.9dB
00 0111: Volume Control = -3.3dB
00 1000: Volume Control = -3.9dB
00 1001: Volume Control = -4.3dB
00 1010: Volume Control = -4.8dB
00 1011: Volume Control = -5.2dB
00 1100: Volume Control = -5.8dB
00 1101: Volume Control = -6.3dB
00 1110: Volume Control = -6.6dB
00 1111: Volume Control = -7.2dB
01 0000: Volume Control = -7.8dB
01 0001: Volume Control = -8.2dB
01 0010: Volume Control = -8.5dB
01 0011: Volume Control = -9.3dB
01 0100: Volume Control = -9.7dB
01 0101: Volume Control = -10.1dB
01 0110: Volume Control = -10.6dB
01 0111: Volume Control = -11.0dB
01 1000: Volume Control = -11.5dB
01 1001: Volume Control = -12.0dB
01 1010: Volume Control = -12.6dB
01 1011: Volume Control = -13.2dB
01 1100: Volume Control = -13.8dB
01 1101: Volume Control = -14.5dB
01 1110: Volume Control = -15.3dB
01 1111: Volume Control = -16.1dB
10 0000: Volume Control = -17.0dB
10 0001: Volume Control = -18.1dB
10 0010: Volume Control = -19.2dB
10 0011: Volume Control = -20.6dB
10 0100: Volume Control = -22.1dB
10 0101: Volume Control = -24.1dB
10 0110: Volume Control = -26.6dB
10 0111: Volume Control = -30.1dB
10 1000: Volume Control = MUTE
10 1001-11 1111: Reserved. Do no use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D5–D0 R/W 00 0000 MAR Volume Control
00 0000: Volume Control = 0.0dB
00 0001: Volume Control = -0.4dB
00 0010: Volume Control = -0.9dB
00 0011: Volume Control = -1.3dB
00 0100: Volume Control = -1.8dB
00 0101: Volume Control = -2.3dB
00 0110: Volume Control = -2.9dB
00 0111: Volume Control = -3.3dB
00 1000: Volume Control = -3.9dB
00 1001: Volume Control = -4.3dB
00 1010: Volume Control = -4.8dB
00 1011: Volume Control = -5.2dB
00 1100: Volume Control = -5.8dB
00 1101: Volume Control = -6.3dB
00 1110: Volume Control = -6.6dB
00 1111: Volume Control = -7.2dB
01 0000: Volume Control = -7.8dB
01 0001: Volume Control = -8.2dB
01 0010: Volume Control = -8.5dB
01 0011: Volume Control = -9.3dB
01 0100: Volume Control = -9.7dB
01 0101: Volume Control = -10.1dB
01 0110: Volume Control = -10.6dB
01 0111: Volume Control = -11.0dB
01 1000: Volume Control = -11.5dB
01 1001: Volume Control = -12.0dB
01 1010: Volume Control = -12.6dB
01 1011: Volume Control = -13.2dB
01 1100: Volume Control = -13.8dB
01 1101: Volume Control = -14.5dB
01 1110: Volume Control = -15.3dB
01 1111: Volume Control = -16.1dB
10 0000: Volume Control = -17.0dB
10 0001: Volume Control = -18.1dB
10 0010: Volume Control = -19.2dB
10 0011: Volume Control = -20.6dB
10 0100: Volume Control = -22.1dB
10 0101: Volume Control = -24.1dB
10 0110: Volume Control = -26.6dB
10 0111: Volume Control = -30.1dB
10 1000: Volume Control = MUTE
10 1001-11 1111: Reserved. Do no use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D2–D0 R 000 Reserved. Write only default value.
6.2.131 Page 1 / Register 52: Left MICPGA Positive Terminal Input Routing
Configuration Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D6 R/W 00 IN1L to Left MICPGA positive terminal selection
00: IN1L is not routed to Left MICPGA
01: IN1L is routed to Left MICPGA with 10K resistance
10: IN1L is routed to Left MICPGA with 20K resistance
11: IN1L is routed to Left MICPGA with 40K resistance
D5–D4 R/W 00 IN2L to Left MICPGA positive terminal selection
00: IN2L is not routed to Left MICPGA
01: IN2L is routed to Left MICPGA with 10K resistance
10: IN2L is routed to Left MICPGA with 20K resistance
11: IN2L is routed to Left MICPGA with 40K resistance
D3–D2 R/W 00 IN3L to Left MICPGA positive terminal selection
00: IN3L is not routed to Left MICPGA
01: IN3L is routed to Left MICPGA with 10K resistance
10: IN3L is routed to Left MICPGA with 20K resistance
11: IN3L is routed to Left MICPGA with 40K resistance
D1–D0 R/W 00 IN1R to Left MICPGA positive terminal selection
00: IN1R is not routed to Left MICPGA
01: IN1R is routed to Left MICPGA with 10K resistance
10: IN1R is routed to Left MICPGA with 20K resistance
11: IN1R is routed to Left MICPGA with 40K resistance
6.2.133 Page 1 / Register 54: Left MICPGA Negative Terminal Input Routing
Configuration Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D6 R/W 00 CM to Left MICPGA (CM1L) positive terminal selection
00: CM is not routed to Left MICPGA
01: CM is routed to Left MICPGA via CM1L with 10K resistance
10: CM is routed to Left MICPGA via CM1L with 20K resistance
11: CM is routed to Left MICPGA via CM1L with 40K resistance
D5–D4 R/W 00 IN2R to Left MICPGA positive terminal selection
00: IN2R is not routed to Left MICPGA
01: IN2R is routed to Left MICPGA with 10K resistance
10: IN2R is routed to Left MICPGA with 20K resistance
11: IN2R is routed to Left MICPGA with 40K resistance
D3–D2 R/W 00 IN3R to Left MICPGA positive terminal selection
00: IN3R is not routed to Left MICPGA
01: IN3R is routed to Left MICPGA with 10K resistance
10: IN3R is routed to Left MICPGA with 20K resistance
11: IN3R is routed to Left MICPGA with 40K resistance
D1–D0 R/W 00 CM to Left MICPGA (CM2L) positive terminal selection
00: CM is not routed to Left MICPGA
01: CM is routed to Left MICPGA via CM2L with 10K resistance
10: CM is routed to Left MICPGA via CM2L with 20K resistance
11: CM is routed to Left MICPGA via CM2L with 40K resistance
6.2.134 Page 1 / Register 55: Right MICPGA Positive Terminal Input Routing
Configuration Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D6 R/W 00 IN1R to Right MICPGA positive terminal selection
00: IN1R is not routed to Right MICPGA
01: IN1R is routed to Right MICPGA with 10K resistance
10: IN1R is routed to Right MICPGA with 20K resistance
11: IN1R is routed to Right MICPGA with 40K resistance
D5–D4 R/W 00 IN2R to Right MICPGA positive terminal selection
00: IN2R is not routed to Right MICPGA
01: IN2R is routed to Right MICPGA with 10K resistance
10: IN2R is routed to Right MICPGA with 20K resistance
11: IN2R is routed to Right MICPGA with 40K resistance
D3–D2 R/W 00 IN3R to Right MICPGA positive terminal selection
00: IN3R is not routed to Right MICPGA
01: IN3R is routed to Right MICPGA with 10K resistance
10: IN3R is routed to Right MICPGA with 20K resistance
11: IN3R is routed to Right MICPGA with 40K resistance
D1–D0 R/W 00 IN2L to Right MICPGA positive terminal selection
00: IN2L is not routed to Right MICPGA
01: IN2L is routed to Right MICPGA with 10K resistance
10: IN2L is routed to Right MICPGA with 20K resistance
11: IN2L is routed to Right MICPGA with 40K resistance
6.2.136 Page 1 / Register 57: Right MICPGA Negative Terminal Input Routing
Configuration Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D6 R/W 00 CM to Right MICPGA (CM1R) positive terminal selection
00: CM is not routed to Right MICPGA
01: CM is routed to Right MICPGA via CM1R with 10K resistance
10: CM is routed to Right MICPGA via CM1R with 20K resistance
11: CM is routed to Right MICPGA via CM1R with 40K resistance
D5–D4 R/W 00 IN1L to Right MICPGA positive terminal selection
00: IN1L is not routed to Right MICPGA
01: IN1L is routed to Right MICPGA with 10K resistance
10: IN1L is routed to Right MICPGA with 20K resistance
11: IN1L is routed to Right MICPGA with 40K resistance
D3–D2 R/W 00 IN3L to Right MICPGA positive terminal selection
00: IN3L is not routed to Right MICPGA
01: IN3L is routed to Right MICPGA with 10K resistance
10: IN3L is routed to Right MICPGA with 20K resistance
11: IN3L is routed to Right MICPGA with 40K resistance
D1–D0 R/W 00 CM to Right MICPGA (CM2R) positive terminal selection
00: CM is not routed to Right MICPGA
01: CM is routed to Right MICPGA via CM2R with 10K resistance
10: CM is routed to Right MICPGA via CM2R with 20K resistance
11: CM is routed to Right MICPGA via CM2R with 40K resistance
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D6 R/W 0 0: IN1R input is not weakly connected to common mode
1: IN1R input is weakly driven to common mode. Use when not routing IN1L to Left and Right
MICPGA and HPR
D5 R/W 0 0: IN2L input is not weakly connected to common mode
1: IN2L input is weakly driven to common mode. Use when not routing IN2L to Left and Right
MICPGA
D4 R/W 0 0: IN2R input is not weakly connected to common mode
1: IN2R input is weakly driven to common mode. Use when not routing IN2R to Left and Right
MICPGA
D3 R/W 0 0: IN3L input is not weakly connected to common mode
1: IN3L input is weakly driven to common mode. Use when not routing IN3L to Left and Right
MICPGA
D2 R/W 0 0: IN3R input is not weakly connected to common mode
1: IN3R input is weakly driven to common mode. Use when not routing IN3R to Left and Right
MICPGA
D1–D0 R 00 Reserved. Write only default values
6.2.141 Page 1 / Register 62: ADC Analog Volume Control Flag Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D2 R 00 0000 Reserved. Write only default values
D1 R 0 Left Channel Analog Volume Control Flag
0: Applied Volume is not equal to Programmed Volume
1: Applied Volume is equal to Programmed Volume
D0 R 0 Right Channel Analog Volume Control Flag
0: Applied Volume is not equal to Programmed Volume
1: Applied Volume is equal to Programmed Volume
6.2.142 Page 1 / Register 63: DAC Analog Gain Control Flag Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7 R 0 HPL Gain Flag
0: Applied Gain is not equal to Programmed Gain
1: Applied Gain is equal to Programmed Gain
D6 R 0 HPR Gain Flag
0: Applied Gain is not equal to Programmed Gain
1: Applied Gain is equal to Programmed Gain
D5 R 0 LOL Gain Flag
0: Applied Gain is not equal to Programmed Gain
1: Applied Gain is equal to Programmed Gain
D4 R 0 LOR Gain Flag
0: Applied Gain is not equal to Programmed Gain
1: Applied Gain is equal to Programmed Gain
D3 R 0 IN1L to HPL Bypass Volume Flag
0: Applied Volume is not equal to Programmed Volume
1: Applied Volume is equal to Programmed Volume
D2 R 0 IN1R to HPR Bypass Volume Flag
0: Applied Volume is not equal to Programmed Volume
1: Applied Volume is equal to Programmed Volume
D1 R 0 MAL Volume Flag
0: Applied Volume is not equal to Programmed Volume
1: Applied Volume is equal to Programmed Volume
D0 R 0 MAR Volume Flag
0: Applied Volume is not equal to Programmed Volume
1: Applied Volume is equal to Programmed Volume
6.2.144 Page 1 / Register 71: Analog Input Quick Charging Configuration Register
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D7–D6 R 00 Reserved. Write only default values
D5–D0 R/W 00 0000 Analog inputs power up time
00 0000: Default. Use one of the values give below
11 0001: Analog inputs power up time is 3.1 ms
11 0010: Analog inputs power up time is 6.4 ms
11 0011: Analog inputs power up time is 1.6 ms
Others: Do not use
(continued)
READ/ RESET
BIT DESCRIPTION
WRITE VALUE
D0 R/W 0 DAC Adaptive Filter Buffer Switch control
0: DAC Coefficient Buffers will not be switched at next frame boundary
1: DAC Coefficient Buffers will be switched at next frame boundary, if in adaptive filtering mode.
This will self clear on switching.
PACKAGING INFORMATION
Orderable Device Status (1) Package Package Pins Package Eco Plan (2) Lead/Ball Finish MSL Peak Temp (3)
Type Drawing Qty
TLV320AIC3204IRHBR ACTIVE QFN RHB 32 3000 Green (RoHS & CU NIPDAU Level-3-260C-168 HR
no Sb/Br)
TLV320AIC3204IRHBT ACTIVE QFN RHB 32 250 TBD Call TI Call TI
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in
a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check
http://www.ti.com/productcontent for the latest availability information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements
for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered
at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and
package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS
compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame
retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder
temperature.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is
provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the
accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take
reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on
incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited
information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI
to Customer on an annual basis.
Addendum-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 23-Oct-2008
Pack Materials-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 23-Oct-2008
Pack Materials-Page 2
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio
Data Converters dataconverter.ti.com Automotive www.ti.com/automotive
DSP dsp.ti.com Broadband www.ti.com/broadband
Clocks and Timers www.ti.com/clocks Digital Control www.ti.com/digitalcontrol
Interface interface.ti.com Medical www.ti.com/medical
Logic logic.ti.com Military www.ti.com/military
Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork
Microcontrollers microcontroller.ti.com Security www.ti.com/security
RFID www.ti-rfid.com Telephony www.ti.com/telephony
RF/IF and ZigBee® Solutions www.ti.com/lprf Video & Imaging www.ti.com/video
Wireless www.ti.com/wireless
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2008, Texas Instruments Incorporated