TLV320AIC21IPFBG4 [TI]
Layout and Grounding Guidelines for TLV320AIC2x; 对于TLV320AIC2x布局和接地指南型号: | TLV320AIC21IPFBG4 |
厂家: | TEXAS INSTRUMENTS |
描述: | Layout and Grounding Guidelines for TLV320AIC2x |
文件: | 总53页 (文件大小:955K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Low-Power, Highly-Integrated, Programmable
16-Bit, 26-KSPS, Dual-Channel CODEC
FEATURES
•
Differential and Single-Ended Analog
Input/Output
•
•
•
Stereo 16-Bit Oversampling Sigma-Delta A/D
Converter
•
Built-In Analog Functions:
– Analog and Digital Sidetone
– Antialiasing Filter (AAF)
Stereo 16-Bit Oversampling Sigma-Delta D/A
Converter
Support Maximum Master Clock of 100 MHz to
Allow DSPs Output Clock to be Used as a
Master Clock
– Programmable Input and Output Gain
Control (PGA)
– Microphone/Handset/Headset Amplifiers
•
•
Selectable FIR/IIR Filter With Bypassing
Option
– AIC20/21/20K Have a Built-In 8-Ω Speaker
Driver
Programmable Sampling Rate up to:
– Max 26 Ksps With On-Chip IIR/FIR Filter
– Max 104 Ksps With IIR/FIR Bypassed
– Power Management With Hardware/Software
Power-Down Modes 30 µW
•
•
Separate Software Control for ADC and DAC
Power Down
Fully Compatible With Common TMS320® DSP
Family and Microcontroller Power Supplies
•
•
On-Chip FIR Produced 84-dB SNR for ADC
and 92-dB SNR for DAC over 13-Khz BW
Smart Time Division Multiplexed (SMARTDM®)
Serial Port
– 1.65-V - 1.95-V Digital Core Power
– 1.1-V - 3.6-V Digital I/O
– Glueless 4-Wire Interface to DSP
– Automatic Cascade Detection (ACD)
Self-Generates Master/Slave Device
Addresses
– 2.7-V - 3.6-V Analog
•
•
•
Internal Reference Voltage (Vref
)
2s Complement Data Format
– Programming Mode to Allow On-The-Fly
Reconfiguration
Test Mode Which Includes Digital Loopback
and Analog Loopback
– Continuous Data Transfer Mode to Minimize
Bit Clock Speed
APPLICATIONS
– Support Different Sampling Rate for Each
Device
•
•
•
•
•
Wireless Accessories
Hands-Free Car Kits
VOIP
Cable Modem
Speech Processing
– Turbo Mode to Maximize Bit Clock For
Faster Data Transfer and Allow Multiple
Serial Devices to Share the Same Bus
– Allows up to Eight Devices to be Connected
to a Single Serial Port
•
Host port
– 2-Wire Interface
– Selectable I2C or S2C
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 data sheet.
SMARTDM, TMS320, TMS320C5000, TMS320C6000 are registered trademarks of Texas Instruments.
PRODUCTION DATA information is current as of publication date.
Copyright © 2002–2005, 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.
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
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.
DESCRIPTION
The TLV320AIC2x is a low-cost, low-power, highly-integrated, high-performance, dual-voice codec. It features
two 16-bit analog-to-digital (A/D) channels and two 16-bit digital-to-analog (D/A) channels, which can be
connected to a handset, headset, speaker, microphone, or a subscriber line via a programmable analog
crosspoint.
The TLV320AIC2x provides high resolution signal conversion from digital-to-analog (D/A) and from
analog-to-digital (A/D) using oversampling sigma-delta technology with programmable sampling rate.
The TLV320AIC2x implements the smart time division multiplexed serial port (SMARTDM™) . The SMARTDM
port is a synchronous 4-wire serial port in TDM format for glue-free interface to TI DSPs (i.e., TMS320C5000®,
TMS320C6000® DSP platforms) and microcontrollers. The SMARTDM™ supports both continuous data transfer
mode and on-the-fly reconfiguration programming mode. The TLV320AIC2x can be gluelessly cascaded to any
SMARTDM-based device to form a multichannel codec, and up to eight TLV320AIC2x codecs can be cascaded
to a single serial port.
The TLV320AIC2x provides a flexible host port. The host port interface is a two-wire serial interface that can be
programmed to be either an industrial standard I2C or a simple S2C (start-stop communication protocol).
The TLV320AIC2x integrates all of the critical functions needed for most voice-band applications including MIC
preamplifier, handset amplifier headset amplifier, 8-Ω speaker driver, sidetone control, antialiasing filter (AAF),
input/output programmable gain amplifier (PGA), and selectable low-pass IIR/FIR filters.
The TLV320AIC2x implements an extensive power management; including device power-down, independent
software control for turning off ADC, DAC, operational-amplifiers, and IIR/FIR filter (bypassable) to maximize
system power conservation. The TLV320AIC2x consumes only 14.9 mW per channel at 3 V.
The TLV320AIC2x low power operation from 2.7-V to 3.6-V power supplies along with extensive power
management make it ideal for portable applications including wireless accessories, hands-free car kits, VOIP,
cable modem, and speech processing. Its low group delay characteristic makes it suitable for single or
multichannel active control applications.
The TLV320AIC2x is characterized for commercial operation from 0°C to 70°C, and industrial operation from
-40°C to 85°C. The TLV320AIC2xk is characterized for industrial operation from -40°C to 85°C.
ORDERING INFORMATION
TA
48-TQFP PFB PACKAGE(1)
0°C to 70°C
-40°C to 85°C
TLV320AIC2xC
TLV320AIC2xI
(1) For the most current package and ordering information, see the Package Option Addendum at the
end of this document, or see the TI website at www.ti.com.
2
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
PFB
TOP VIEW
36 35 34 33 32 31 30 29 28 27 26 25
LCDAC 37
HNSO- 38
HNSO+ 39
HNSI- 40
HNSI+ 41
AVDD 42
24 VSS
23 RESET
22 MCLK
21 M/S
20 SCLK
FS
19
43
AVSS
18 DIN
44
45
46
LINEI+
LINEI-
17 DOUT
16 DVSS
15 DVDD
14 FSD
LINEO-
LINEO+ 47
48
NC
IOVSS
13
1
2
3
4
5
6
7
8
9
10 11 12
Terminal Functions
TERMINAL
NAME
NO.
I/O
DESCRIPTION
HDSI-
HDSI+
1
2
I
Head-set input. The Head-set input can be treated similar to the Line-input pins
HDSO-
3
4
O
150-Ω output
HDSO+
AVDD2
AVSS2
TESTP
NC
5
6
I
I
I
Analog power supply
Analog ground
7
Test pin. Should be connected to digital ground.
Not connected
8, 48
9
PWRDN
SDA
I
Power down
I2C/S2C data
I2C/S2C clock
10
11
12
13
14
15
16
17
18
19
20
I/O
SCL
I
I
IOVDD
IOVSS
FSD
I/O power supply
I/O ground
I
O
I
Frame sync delayed
Digital supply (1.8 V)
Digital ground
DVDD
DVSS
DOUT
DIN
I
O
I
Data OUT
Data IN
FS
I/O
I/O
Frame sync
SCLK
Serial clock
3
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Terminal Functions (continued)
TERMINAL
NAME
NO.
21
22
23
24
25
I/O
DESCRIPTION
M/S
I
I
I
I
I
Master slave select applied to CODEC1 only. CODEC2 is always a slave.
MCLK
Master clock
RESET
VSS
Reset
Device ground. Typically this should be connected to the Analog Ground.
Driver ground
DRVSS1
SPKO+
SPKO-
26
28
O
8-Ω output
DRVDD
27
29
I
I
Driver supply
Driver ground
DRVSS2
CIDI-
CIDI+
30
31
I
Caller-ID input. The Caller-ID input can be treated similar to the Line-input pins
AVDD1
AVSS1
MICI-
33
32
34
35
36
37
I
I
Analog supply
Analog ground
I
Microphone input
MICI+
I
Microphone input
MICBIAS
LCDAC
I
Microphone bias
O
6-Bit DAC output may be used to drive LCDAC
HNSO-
HNSO+
38
39
O
I
150-Ω output
HNSI-
HNSI+
40
41
Hand-set input. The Hand-set input can be treated similar to the Line-input pins
AVDD
AVSS
42
43
I
I
Analog supply
Analog ground
LINEI+
LINEI-
44
45
I
Line input
LINEO-
LINEO+
46
47
O
600-Ω output
4
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Electrical Characteristics
All specifications are common across the AIC20, AIC21, AIC24, AIC25, AIC20K, and AIC24K except where
explicitly stated.
AIC20/21/24/25: Over Recommended Operating Free-Air Temperature Range, AVDD = 3.3 V, DVDD = 1.8 V,
IOVDD = 3.3 V (Unless Otherwise Noted)
AIC20K/24K: Over Recommended Operating Free-Air Temperature Range, AVDD = 3.3 V, DVDD = 1.8 V,
IOVDD = 3.3 V (Unless Otherwise Noted)
Absolute Maximum Ratings(1)
over Operating Free-Air Temperature Range (Unless Otherwise Noted)
TLV320AIC2x
VCC
Supply voltage range:
DVDD(2)
AVDD, IOVDD, DRVDD(2)
-0.3 V to 2.25 V
-0.3 V to 4 V
VO
VI
Output voltage range, all digital output signals
Input voltage range, all digital input signals
Operating free-air temperature range
Storage temperature range
-0.3 V to IOVDD + 0.3 V
-0.3 V to IOVDD + 0.3 V
-40°C to 85°C
TA
Tstg
-65°C to 150°C
260°C
Case temperature for 10 seconds: package
(1) Stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. These are stress ratings
only and functional operation of the device at these or any other conditions beyond those indicated under recommended operating
conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
(2) All voltage values are with respect to VSS
.
Recommended Operating Conditions
MIN
2.7
NOM
3.3
MAX
3.6
3.6
1.95
3.6
2
UNIT
Analog, AVDD
Analog output driver, DRVDD(1)
V
V
V
V
V
2.7
3.3
VCC Supply voltage
Digital core, DVDD
Digital I/O, IOVDD
1.65
1.1
1.8
3.3
Analog single-ended peak-to-peak input voltage, VI(analog)
Between LINEO+ and LINEO- (differential)
600
150
150
8
Between HDSO+ and HDSO- (differential)
Between HNSO+ and HDSO- (differential)
Between SPKO+ and SPKO- (differential)
RL
CL
Output load resistance,
Ω
Analog output load capacitance
Digital output capacitance
Master clock
20
20
pF
pF
100
26
MHz
kHz
°C
ADC or DAC conversion rate
Operating free-air temperature,
TA
-40
85
(1) DRVDD should be kept at the same voltage as AVDD.
5
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Digital Inputs and Outputs
FS = 8 KHz, outputs not loaded
PARAMETER
MIN
TYP
MAX
UNIT
V
VOH
VOL
IIH
High-level output voltage, DOUT
Low-level output voltage, DOUT
High-level input current, any digital input
Low-level input current, any digital input
Input capacitance
0.8 IOVDD
0.1 IOVDD
V
5
5
3
5
µA
µA
pF
pF
IIL
Ci
Co
Output capacitance
ADC PATH FILTER
(1)(2)
FS = 8 KHz
TEST
CONDITIONS
PARAMETER
PATH FILTER
MIN
TYP
MAX
MIN
TYP
MAX UNIT
FIR FILTER
IIR FILTER
-27 / 0.15
0 Hz to 60 Hz
60 Hz to 200 Hz
200 Hz to 300 Hz
300 Hz to 2.4 KHz
2.4 kHz to 3 kHz
3 kHz to 3.4 KHz
3.4 kHz to 3.6 KHz
4 KHz
-27 / 0.07
-1 / 0.07
-0.03 / 0.05
0.15
-0.75 / 0.15
0. 11 / 0.15
0.25
-0.1
-0.1
Filter gain relative to gain
at 1020 Hz
-0.05
-0.5
0.15
-0.5
-0.5
0.2
dB
0.1
0.2
-0.4
0.15
-26
-42
4.5 KHz to 72 kHz
-52
-52
(1) The filter gain outside of the passband is measured with respect to the gain at 1020 Hz. The analog input test signal is a sine wave with
0 dB = 4 VI(PP) as the reference level for the analog input signal. The pass band is 0 to 3600 Hz for an 8-KHz sample rate. This pass
band scales linearly with the sample rate.
(2) The filter characteristics are specified by design and are not tested in production. In places where more than one value is specified, the
first value is with the High Pass Filter on and the second value is with the HPF off
ADC DYNAMIC PERFORMANCE
(1)
With FIR Filter, FS = 8 KHz
TEST
CONDITIONS
PARAMETER
Line In Driver
MIN
TYP
MAX
MIN
TYP
MAX UNIT
AIC20/21/24/25
AIC20k/24k
VI = -3 dB
VI = -9 dB
VI = -3 dB
VI = -9 dB
VI = -3 dB
VI = -9 dB
81
73
83
81
80
73
84
76
90
88
83
76
70
70
84
76
90
88
83
76
SNR
THD
Signal-to-noise ratio
Total harmonic distortion
dB
Signal-to-harmonic
distortion + noise
THD+N
(1) The test condition is a differential 1020-Hz input signal with an 8-KHz conversion rate. Input and output common mode is 1.35 V.
6
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
ADC DYNAMIC PERFORMANCE
With IIR Filter, FS = 8 KHz
TEST
CONDITIONS
PARAMETER
MIN
TYP
MAX
MIN
TYP
MAX UNIT
AIC20/21/24/25
AIC20k/24k
VI = -3 dB
VI = -9 dB
VI = -3 dB
VI = -9 dB
VI = -3 dB
VI = -9 dB
82
76
83
77
78
70
82
76
83
77
78
70
SNR
THD
Signal-to-noise ratio
Total harmonic distortion
dB
Signal-to-harmonic
distortion + noise
THD+N
ADC CHANNEL CHARACTERISTICS
AIC20/21/24/25/20k/24k
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
V
VI(pp)
VIO
IB
Differential-ended input level
Input offset voltage
Input bias current
PGA gain = 0 dB
4
±5
125
1.35
87
mV
µA
V
Common mode voltage
Dynamic range
VI = -3 dB
dB
Zero Digital
Code
Mute attenuation
PGA = MUTE
dB
Intrachannel isolation
Gain error
87
-0.45
±15
dB
dB
EG
VI = -3 dB at 1020 Hz
EO(ADC)
ADC converter offset error
mV
Common-mode rejection ratio at INMx and
INPx
CMRR
VI = -100 mV at 1020 Hz
50
dB
Idle channel noise
Input resistance
Input capacitance
V(INP,INM,MICIN) = 0 V
70
10
µVrms
kΩ
pF
Ri
Ci
TA = 25°C
TA = 25°C
IIR
2
5/fs
17/fs
S
Channel delay
FIR
S
DAC PATH FILTER
(1)(2)
FS = 8 KHz
FIR FILTER
TYP
IIR FILTER
TYP
PARAMETER
TEST CONDITIONS
MIN
MAX
MIN
MAX UNIT
PATH FILTER, FS = 8 KHz
0 Hz to 200 Hz
200 Hz to 300 Hz
300 Hz to 2.4 KHz
2.4 kHz to 3 kHz
3 kHz to 3.4 KHz
3.4 kHz to 3.6 KHz
4 KHz
0.1
-0.05
0.15
0.1
0.05
0.05
0.1
-0.25
-0.3
-0.1
-0.2
0.1
dB
Filter gain relative to gain
at 1020 Hz
-0.55
0.05
-30
-0.25
0.05
0
-34
-70
-28
4.5 KHz to 72 KHZ
-70
(1) The filter gain outside of the passband is measured with respect to the gain at 1020 Hz. The input signal is the digital equivalent of a
sine wave (digital full scale = 0 dB). The nominal differential DAC channel output with this input condition is 4 VI(PP) . The pass band is
0 to 3600 Hz for an 8-kHz sample rate. This pass band scales linearly with the conversion rate.
(2) The filter characteristics are specified by design and are not tested in production.
7
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
DAC DYNAMIC PERFORMANCE
AIC20/21/24/25
MIN TYP
AIC20k/24k
TYP
PARAMETER
TEST CONDITIONS
MAX
MIN
MAX UNIT
The test condition is the digital equivalent of a 1020-Hz input signal with an 8-kHz conversion rate.
The test is measured at output of the application schematic low-pass filter. The test is conducted in
16-bit mode.
DAC Line Output (LINEO-, LINEO+)
Using FIR Filter
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
88
81
84
77
82
76
92
83
90
84
88
80
80
92
83
90
84
88
80
SNR
THD
Signal-to-noise ratio
70
Total Harmonic Distortion
dB
Signal-to-total Harmonic
Distortion + noise
THD+N
The test condition is the digital equivalent of a 1020-Hz input signal with an 8-kHz conversion rate.
The test is measured at output of the application schematic low-pass filter. The test is conducted in
16-bit mode.
DAC Line Output (LINEO-, LINEO+)
Using IIR Filter
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
83
74
85
80
80
73
83
74
85
80
80
73
SNR
THD
Signal-to-noise ratio
Total Harmonic Distortion
dB
Signal-to-total Harmonic
Distortion + noise
THD+N
The test condition is the digital equivalent of a 1020-Hz input signal with an 8-kHz conversion rate.
The test is measured at output of the application schematic low-pass filter. The test is conducted in
16-bit mode.
DAC Headphone Output (HDSO-,
HDSO+), (HNSO-, HNSO+)(1)
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
92
83
90
89
88
82
92
83
90
89
88
82
SNR
THD
Signal-to-noise ratio
Total Harmonic Distortion
dB
Signal-to-total Harmonic
Distortion + noise
THD+N
The test condition is the digital equivalent of a 1020-Hz input signal with an 8-kHz conversion rate.
The test is measured at output of the application schematic low-pass filter. The test is conducted in
16-bit mode.
DAC Speaker Output (SPKO-,
SPKO+)(1)(2)
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
VI = 0 dB
VI = -9 dB
91
83
91
91
88
82
91
83
91
91
88
82
SNR
Signal-to-noise ratio
THD
Total Harmonic Distortion
dB
Signal-to-total Harmonic
Distortion + noise
THD+N
(1) The conversion rate is 8 kHz.
(2) The speaker driver is valid only for the AIC20/21/20K.
8
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
DAC CHANNEL CHARACTERISTICS
PARAMETER
Dynamic range
TEST CONDITIONS
MIN
TYP
92
MAX
UNIT
dB
VI = 0 dB at 1020 Hz
Interchannel isolation
90
dB
EG
Gain error, 0 dB
VO = 0 dB at 1020 Hz
PGA = Mute
-0.7
90
dB
Mute attenuation
dB
Common-mode voltage
Idle channel narrow band noise
1.35
40
V
(1)
0 - 4 kHz
V rms
Output offset voltage at OUTP1_150
(differential)
VOO
VO
DIN = All zeros
±8
V
Analog output voltage, (3.3 V)
HDSO+
IIR
0.35
2.35
V
s
5/fs
Channel delay
FIR
18/fs
s
(1) The conversion rate is 8 kHz.
OUTPUT AMPLIFIER CHARACTERISTICS
PARAMETER
AIC20/21/24/25/20k/24k
TEST CONDITIONS
MIN
TYP
MAX
UNIT
(1)
SPEAKER INTERFACE
Speaker output power
Maximum output current
250
250
mW
mA
VCC = 3.3 V, fully
differential, 8-Ω load
HANDSET AND HEADSET INTERFACE
Speaker output power
13
13
mW
mA
VCC = 3.3 V, fully
differential, 150-Ω load
Maximum output current
LINE INTERFACE
Speaker output power
3.5
3.5
mW
mA
VCC = 3.3 V, fully
differential, 600-Ω load
Maximum output current
(1) The speaker driver is valid only for the AIC20/21/20k.
BIAS AMPLIFIER CHARACTERISTICS
PARAMETER
AIC20/21/24/25/20k/24k
TEST CONDITIONS
MIN
TYP
MAX
UNIT
V
VO
VS
Output voltage
Integrated noise
Offset voltage
Current drive
Unity gain bandwith
DC gain
1.35/2.35
300 Hz – 13 KHz
20
10
5
µV
mV
mA
MHz
dB
1
90
70
PSRR
dB
POWER-SUPPLY REJECTION(1)
PARAMETER
TEST CONDITIONS
MIN
TYP
75
MAX
UNIT
Supply-voltage rejection ratio, analog supply
(fj = 0 to fs/2 )
AVDD
Differential
(1) Power supply rejection measurements are made with both the ADC and the DAC channels idle and a 200 mV peak-to-peak signal
applied to the appropriate supply.
9
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
POWER-CONSUMPTION
AIC20/21/24/25/20k/24k
PARAMETER
TEST CONDITIONS
MIN
TYP
5.7
3.5
9.3
2
MAX
UNIT
ADC (single channel)
DAC (single channel)
Without drivers
No signal
(1)
Speaker driver
Handset driver
Headset driver
Lineout driver
Reference
No signal
No signal
2
No signal
2
mW
2.3
3.4
4.6
1.8
35.8
Digital
PLL off
Analog
PLL
Digital
Total Analog with all sections on
POWER DOWN CURRENT
No signal, PLL off
Hardware power-down (no clock)
1
2
Analog, PLL off
Digital
µA
Software power-down
650
(1) The speaker driver is valid only for the AIC20/21/20k.
LCD DAC
AIC20/21/20k
TYP
PARAMETER
MIN
MAX
UNIT
V
VO
Output range
Sampling rate
INL
0.35
2.35
104
kHz
LSB
LSB
mV
dB
±0.5
±0.25
±25
DNL
VS
EG
Offset voltage
Gain error
±0.02
Typical ADC performance With PGA Gain Setting Using FIR(1)
PGA GAIN SETTING
SNR
83
THD
90
SINAD
UNIT
9 dB
18 dB
24 dB
36 dB
81
83
77
72
83
97
dB
78
95
72
95
(1) Test condition is a 1020-Hz input differential signal with an 8-kHz conversion rate. Input amplitude is given such that output of PGA is at
-3 dB level.
10
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Block Diagram - AIC20/21/20K
SPKO+
SPKO-
Speaker
8 Ω Output
LINE0+
LINEO-
Line Output
600 Ω
CODEC 1 (Channel 1)
Σ-∆
DAC
HNSO+
HNSO-
Handset
150 Ω Output
+
0dB to -42 dB
(1.5 dB Steps).
-48 dB, -54 dB
Analog Sidetone
-9 dB to -27 dB
HNSI+
HNSI-
Handset
Input
Σ-∆
ADC
HDSO+
HDSO-
Headset
150 Ω Output
+
0dB to 42dB
(1.5 dB Steps).
48 dB, 54 dB
HDSI+
HDSI-
Headset
Input
CODEC 2 (Channel 2)
Σ-∆
DAC
MICI+
MICI-
Microphone
Input
0dB to -42 dB
(1.5 dB Steps).
-48 dB, -54 dB
0dB to 42dB
(1.5 dB Steps).
48 dB, 54 dB
Σ-∆
ADC
LINEI+
LINEI-
Line
Input
Analog Sidetone
-9 dB to -27 dB
CIDI+
CIDI-
1.35 V / 2.35
2 mA
MICBIAS
LCDAC
SMARTDM
Serial Port
DAC
Internal Clock
Generator
Host Port
MCLK
FSD DOUT DIN SCLK FS
M/S
SDA
SCL
11
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Block Diagram - AIC24/25/24K
OUTP1
Line Output
600 Ω
OUTM1
CODEC 1 (Channel 1)
Σ−∆
DAC
OUTP2
150 Ω Output
+
OUTM2
0 dB to −42 dB
(1.5 dB Steps).
−48 dB, −54 dB
Analog Sidetone
−9 dB to −27 dB
INP2
Input
INM2
Σ−∆
ADC
OUTP3
150 Ω Output
+
0 dB to 42 dB
(1.5 dB Steps).
48 dB, 54 dB
OUTM3
INP3
Input
INM3
CODEC 2 (Channel 2)
Σ−∆
DAC
MICI+
Microphone
0 dB to −42 dB
(1.5 dB Steps).
−48 dB, −54 dB
Input
MICI−
0 dB to 42 dB
(1.5 dB Steps).
48 dB, 54 dB
Σ−∆
ADC
INP1
Input
INM1
Analog Sidetone
−9 dB to −27 dB
INP4
Input
INM4
1.35 V / 2.35
2 mA
MICBIAS
LCDAC
SMARTDM
Serial Port
DAC
Internal Clock
Generator
Host Port
MCLK
FSD DOUT DIN SCLK FS
M/S
SDA
SCL
12
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Block Diagram (One of Two Channels Shown)
CODEC
Decimation Filter
SMARTDM
Serial
M/S
Sigma-
Delta
ADC
FIR Filter
IIR Filter
Anti-
Aliasing
Filter
Sinc
Filter
Port
PGA
0 dB to 42 dB (1.5 dB Steps)
48 dB, 54 dB
DOUT
DIN
Analog
Digital Loopback
Loopback
w/ Sidetone Control
and Mute
-9 dB to -27 dB
FS
V
ref
SCLK
FSD
Interpolation Filter
Sigma-
Delta
DAC
FIR Filter
IIR Filter
Low Pass
Filter
Sinc
Filter
PGA
0 dB to -42 dB (1.5 dB Steps)
-48 dB, -54 dB
Definitions and Terminology
Data Transfer
Interval
The time during which data is transferred from DOUT and to DIN.
The interval is 16 shift clocks, and the data transfer is initiated by
the falling edge of the FS signal.
Signal Data
This refers to the input signal and all of the converted representations
through the ADC channel and the signal through the DAC channel to the
analog output. This is contrasted with the purely digital software control
data.
Frame Sync
Frame sync refers only to the falling edge of the signal FS that initiates
the data transfer interval
Frame Sync and Sampling Period
Frame sync and sampling period is the time between falling edges of
successive FS signals.
fs
The sampling frequency
ADC Channel
ADC channel refers to all signal processing circuits between the analog
input and the digital conversion result at DOUT.
DAC channel
DAC channel refers to all signal processing circuits between the digital
data word applied to DIN and the differential output analog signal
available at OUTP and OUTM.
Dxx
DSxx
d
Bit position in the primary data word (xx is the bit number)
Bit position in the secondary data word (xx is the bit number)
The alpha character d represents valid programmed or default data in the
control register format (see Section 3.2, Secondary Serial Communi-
cation) when discussing other data bit portions of the register.
PGA
IIR
Programmable gain amplifier
Infinite impulse response
Finite impulse response
FIR
13
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
TIMING REQUIREMENTS
t
wH
2.4 V
2.4 V
MCLK
t
wL
t
su1
t
h1
2.4 V
RESET
Figure 1. Hardware Reset Timing
SCLK
t
d1
t
d2
t
d1
t
d2
FS
FSD
t
d3
t
en
t
dis
DOUT
DIN
D15
t
su2
t
h2
D15
Figure 2. Serial Communication Timing
TEST CONDITIONS
MIN
TYP
MAX UNIT
twH
twL
tsu1
th1
Pulse duration, MCLK high
Pulse duration, MCLK low
5
5
3
2
Setup time, RESET, before MCLK high (see Figure 1)
Hold time, RESET, after MCLK high (see Figure 1)
Delay time, SCLK↑ to FS/FSD↓
td1
CL = 20 pF
5
5
ns
td2
Delay time, SCLK↑ to FS/FSD↑
td3
Delay time, SCLK↑ to DOUT
15
15
15
ten
Enable time, SCLK↑ to DOUT
tdis
tsu2
th2
Disable time, SCLK↑ to DOUT
Setup time, DIN, before SCLK↓
10
10
Hold time, DIN, after SCLK↓
14
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
SDA
t
t
f
SU;DAT
t
t
r
t
t
BUF
t
r
LOW
HD;STA
t
f
SCL
t
HD;STA
t
HIGH
t
t
SU;STO
HD;DAT
t
SU;STA
Figure 3. I2C / S2C Timing Diagram
PARAMETER
SYMBOL
MIN
0
MAX
UNIT
SCL clock frequency
tSCL
900
kHz
Hold time (repeated START condition. After this period, the first clock pulse is
generated.
tHD;STA
100
Low period of the SCL clock
tLOW
tHIGH
tSU;STA
tHD;DAT
tSU;DAT
tr
560
560
100
50
High period of the SCL clock
Set-up time for a repeated START condition
Data hold time
ns
Data set-up time
50
Rise time of both SDA and SCL signals
Fall time of both SDA and SCL signals
Set-up time for STOP condition
Bus free time between a STOP and START condition
300
100
tf
tSU;STO
tBUF
100
500
15
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
PARAMETER MEASUREMENT INFORMATION
0
−20
−40
−60
−80
−100
−120
−140
0
500
1000
1500
2000
2500
3000
3500
4000
f − Frequency − Hz
Figure 4. FFT—ADC Channel (-3 dB input)
0
−20
−40
−60
−80
−100
−120
−140
0
500
1000
1500
2000
2500
3000
3500
4000
f − Frequency − Hz
Figure 5. FFT—ADC Channel (-9 dB input)
0
−20
−40
−60
−80
−100
−120
−140
0
2000
4000
6000
8000
10000 12000 14000 16000
18000 20000
f − Frequency − Hz
Figure 6. FFT—DAC Channel (0 dB input)
16
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
PARAMETER MEASUREMENT INFORMATION (continued)
0
−20
−40
−60
−80
−100
−120
−140
0
2000
4000
6000
8000
10000 12000 14000 16000 18000 20000
f − Frequency − Hz
Figure 7. FFT—DAC Channel (-9 dB input)
0
−20
−40
−60
−80
−100
−120
−140
0
2000
4000
6000
8000
10000
12000
14000
16000
f − Frequency − Hz
Figure 8. FFT—ADC Channel in FIR/IIR Bypass Mode (-3 dB input)
0
−20
−40
−60
−80
−100
−120
−140
0
2000
4000
6000
8000
10000 12000 14000
16000 18000 20000
f − Frequency − Hz
Figure 9. FFT—DAC Channel in FIR/IIR Bypass Mode (0 dB input)
17
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
PARAMETER MEASUREMENT INFORMATION (continued)
5
0
−5
−10
−15
−20
−25
−30
0
500
1000
1500
2000
2500
3000
3500
3500
3500
4000
4000
4000
f − Frequency − Hz
Figure 10. ADC FIR Frequency Response - HPF Off
10
0
−10
−20
−30
−40
−50
−60
−70
−80
0
500
1000
1500
2000
2500
3000
f − Frequency − Hz
Figure 11. ADC FIR Frequency Response - HPF On
5
0
−5
−10
−15
−20
−25
−30
−35
−40
−45
0
500
1000
1500
2000
2500
3000
f − Frequency − Hz
Figure 12. ADC IIR Frequency Response - HPF Off
18
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
PARAMETER MEASUREMENT INFORMATION (continued)
10
0
−10
−20
−30
−40
−50
−60
−70
−80
0
500
1000
1500
2000
2500
3000
3500
4000
f − Frequency − Hz
Figure 13. ADC IIR Frequency Response - HPF On
2
0
−2
−4
−6
−8
−10
−12
−14
0
2000
4000
6000
8000
10000
12000
14000
16000
f − Frequency − Hz
Figure 14. ADC Frequency Response - FIR/IIR Bypass Mode
20
0
−20
−40
−60
−80
−100
−120
−140
−160
0
1000
2000
3000
4000
5000
6000
7000
8000
f − Frequency − Hz
Figure 15. DAC FIR Frequency Response
19
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
PARAMETER MEASUREMENT INFORMATION (continued)
20
0
−20
−40
−60
−80
−100
−120
−140
−160
0
1000
2000
3000
4000
5000
6000
7000
8000
f − Frequency − Hz
Figure 16. DAC IIR Frequency Response
20
0
−20
−40
−60
−80
−100
−120
−140
−160
−180
−200
0
4000
8000
12000
16000
20000
24000
28000
32000
f − Frequency − Hz
Figure 17. DAC Channel Frequency Response - FIR/IIR Bypass Mode
20
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Description
Operating Frequencies
The sampling frequency is the frequency of the frame sync (FS) signal where falling edge starts digital-data
transfer for both ADC and DAC. The sampling frequency is derived from the master clock (MCLK) input by the
following equations:
•
•
Coarse sampling frequency (default):
– The coarse sampling is selected by programming P = 8 in the control register 4, which is the default
configuration of AIC2x on power-up or reset.
– FS = Sampling (conversion) frequency = MCLK / (16 x M x N x 8)
Fine sampling frequency (see Note 5):
– FS = Sampling (conversion) frequency = MCLK/ (16 x M x N x P)
NOTE:
1. Use control register 4 to set the following values of M, N, and P
2. M = 1, 2, . . . , 128
3. N = 1, 2, . . . , 16
4. P = 1, 2, . . . , 8
5. The fine sampling rate needs an on-chip phase lock loop (frequency multiplier) to
generate internal clocks. The output of the PLL is only used to generate internal
clocks that are needed by the data converters. Other clocks such as the serial
interface clocks in master mode are not generated from the PLL output. The clock
generation scheme is as shown in Figure 18. The PLL requires the relationship
between MCLK and P to meet the following condition: 10 MHz ≤ (MCLK/P) ≤ 25
MHz.
X 8
(DLL)
Digital
MCLK
1/P
128FS
1/(MN)
en_dll
SCLK
FS
1/(16 x mode x devnum)
(devnum x mode)/(MNP)
SCLK may not be a uniform clock depending upon value of devnum, mode, and M.NP.
When:
M = 1 - 128
P1 = 8, DLL(PLL) is Enabled
N = 1 - 16
P = 1 - 8
devnum = Number of Channels in Cascade.
Note That for a Standalone Device, devnum = 2.
Mode = 1 (For Continious Data Transfer Mode)
Mode = 2 (For Programming Mode)
Figure 18. Clock Timing
6. Selecting the Fine sampling mode turns on the analog PLL, which starts
generating after a finite time delay. The internal clocks are required to be present
in order to enable the DAC output drivers. Therefore, turning on any output drivers
immediately after turning on the PLL causes the output of the DAC to go to the
common-mode voltage. While using the PLL, the output drivers must first be
enabled before the PLL is enabled in order to ensure correct operation of the part.
This implies that register 6B for channel 1 and channel 2 in the codec must be
programmed before register 4.
21
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Description (continued)
7. Both equations of FS require that the following conditions should be met
–
–
(M x N x P) ≤ (devnum mode) if the FIR/IIR filter is not bypassed.
[Integer(M/4) x N x P] ≥ (devnum mode) if the FIR/IIR filter is bypassed.
Where:
devnum is the number of codec channels connecting in cascade (devnum = 2 for
standalone AIC20) mode is equal to 1 for continuous data transfer mode and 2 for
programming mode.
8. If the DAC OSR is set to 512, then M needs to be a multiple of 4. If the DAC OSR
is set to 256, then M needs to be a multiple of 2. M can take any value between 1
and 128 if the OSR is set to 128.
Example:
The MCLK comes from the DSP C5402 CLKOUT and equals to 20.48 MHz and the
conversion rate of 8 kHz is desired. First, set P = 1 to satisfy condition 5 so that
(MCLK/P) = 20.48 MHz/1 = 20.48 MHz. Next, pick M = 10 and N = 16 to satisfy
condition 65 and derive 8 kHz for FS. That is, FS = 20.48 MHz/ (16 x 10 x 16 x 1) = 8
kHz.
Internal Architecture
Analog Low Pass Filter
The built-in analog low pass antialiasing filter is a two-pole filter that has a 20-dB attenuation at 1 MHz.
Sigma-Delta ADC
The sigma-delta analog-to-digital converter is a sigma-delta modulator with 128x oversampling. The ADC
provides high-resolution, low-noise performance using oversampling techniques.
Decimation Filter
The decimation filters consist of a sinc filter stage followed by either FIR filters or IIR filters selected by bit D5 of
the control register 1. The FIR filter provides linear-phase output with 17/fs group delay, whereas the IIR filter
generates nonlinear phase output with negligible group delay. The decimation filters reduce the digital data rate
to the sampling rate. This is accomplished by decimating with a ratio of 1:128. The output of the decimation filter
is a 16-bit 2s-complement data word clocking at the sample rate selected for that particular data channel. The
BW of the filter is (0.45 × FS) and scales linearly with the sample rate.
Sigma-Delta DAC
The sigma-delta digital-to-analog converter is a sigma-delta modulator with 128x oversampling. The DAC
provides high-resolution, low-noise performance using oversampling techniques. The oversampling ratio (OSR)
in DAC is programmable to 256/512 using bits D0-D1 of register 3C, the default being 128. The OSR of 512 is
recommended when the FS is a maximum of 8 Ksps, and an OSR of 256 is recommended when the FS is a
maximum of 16 Ksps. It is also required that the value of M used in programming the PLL be a multiple of 4 if the
OSR is set to 512 and 2 if the OSR is set to 256
Interpolation Filter
The interpolation filters consist of either FIR or IIR filters selected by bit D5 of control register 1 followed by a sinc
filter stage. The FIR filter provides linear-phase output with 18/fs group delay, whereas the IIR filter generates
nonlinear phase output with negligible group delay. The interpolation filter resamples the digital data at a rate of
128 times the incoming sample rate. The high-speed data output from the interpolation filter is then used in the
sigma-delta DAC. The BW of the filter is (0.45 × FS) and scales linearly with the sample rate.
22
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Description (continued)
Analog/Digital Loopback
The analog and digital loopbacks provide a means of testing the data ADC/DAC channels and can be used for
in-circuit system level tests. The analog loopback always has the priority to route the DAC low pass filter output
into the analog input where it is then converted by the ADC to a digital word. The digital loopback routes the ADC
output to the DAC input on the device. Analog loopback is enabled by writing a 1 to bit D2 in the control register
1. Digital loopback is enabled by writing a 1 to bit D1 in control register 1.
Analog Sidetone
The analog sidetone attenuates the analog input and mixes it with the output of the DAC. The control register 5C
selects the attenuation level of the analog sidetone.
Digital Sidetone
The digital sidetone attenuates the ADC output and mixes it with the input of the DAC. The control register 5C
selects the attenuation level of the digital sidetone.
Analog Input/Output
To produce excellent common-mode rejection of unwanted signal performance, the analog signal is processed
differentially until it is converted to digital data. The signal source driving the analog inputs should have low
source impedance for lowest noise performance and accuracy. To obtain maximum dynamic range, the signal
must be ac coupled to the input terminal. The analog output is differential from the digital-to-analog converter.
Analog Crosspoint
The analog crosspoint is a lossless analog switch matrix controlled via the serial control port. It allows any source
device to be connected to any sink device. Additionally, special summing connections with adjustable loss (7 × 3
dB steps) are included to implement sidetone for the headset and handset ports. (Also included is muting
function on any of the sink devices). The control of the analog crosspoint, defined in the control register 6, is to
allow any analog input or output to connect to a codec at one time. If more than one input is selected, these
inputs are mixed together before the conversion. Caution needs to be taken to make sure that both DAC
channels are not connected to the same output.
Analog Input Amplifier
The integrated programmable gain amplifier (PGA) controls the amplification of any analog input before the
analog-to-digital converter converts the signal. The PGA's gain from 0 dB to 42 dB in 1.5-dB steps and 48 dB
and 54 dB are selected using the control register 5A.
Microphone Bias
To operate electret microphones properly, a bias voltage and current are provided. Typically, the current drawn
by the microphone is in the order of 100 µA to 800 µA and the bias voltage is specified across the microphone at
1.35 V or 2.35 V. The MICBIAS has good power supply noise rejection in the audio band and the bias voltage is
selectable, via bit D3 of control register 1, for each interface.
Output Drivers
The HSNO and HDSO are output from two audio amplifiers to drive low-voltage speakers like those in the
handset and headset. They can drive a load of 150 Ω. The drive amplifier is differential to minimize noise and
EMC immunity problems. The frequency response is flat up to 26 kHz.
Speaker Driver
The SPKO is output from the audio amplifier that can drive an 8-Ω speaker load. The drive amplifier is differential
to minimize noise and EMC immunity problems. The frequency response is flat up to 26 kHz.
23
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Description (continued)
IIR/FIR Control
Overflow Flags
The decimation IIR/FIR filter sets an overflow flag (bit D7) of control register 1 indicating that the input analog
signal has exceeded the range of internal decimation filter calculations. The interpolation IIR/FIR filter sets an
overflow flag (bit D4) of control register 1 indicating that the digital input has exceeded the range of internal
interpolation filter calculations. When the IIR/FIR overflow flag is set in the register, it remains set until the user
reads the register. Reading this value resets the overflow flag. These flags need to be reset after power up by
reading the register. If FIR/IIR overflow occurs, the input signal should be attenuated by either the PGA or some
other method.
IIR/FIR Bypass Mode
An option is provided to bypass IIR/FIR filter sections of the decimation filter and the interpolation filter. This
mode is selected through bit D6 of control register 2 and effectively increases the frequency of the FS signal to
four times normal output rate of the IIR/FIR-filter. For example, for a normal sampling rate of 8 Ksps (i.e., FS = 8
kHz) with IIR/FIR, if the IIR/FIR is bypassed, the frequency of FS is readjusted to 4×8 kHz = 32 kHz. The sync
filters of the two paths can not be bypassed. A maximum of four devices in cascade can be supported in the
IIR/FIR bypass mode.
In this mode , the ADC channel outputs data which has been decimated only till 4 FS. Similarly DAC channel
input needs to be preinterpolated to 4 FS before being given to the device. This mode allows users the flexibility
to implement their own filter in DSP for decimation and interpolation. M should be a multiple of 4 during IIR/FIR
bypass mode.
System Reset and Power Management
Software and Hardware Reset
The TLV320AIC2x resets internal counters and registers in response to either of two events:
•
•
A low-going reset pulse is applied to terminal RESET
A 1 is written to the programmable software reset bits (D3 of control register 3A)
NOTE: The TLV320AIC2x requires a power-up reset applied to the RESET pin.
Either event resets the control registers and clears all sequential circuits in the device. The H/W RESET (active
low) signal is at least 6 master clock periods long. As soon as the RESET input is applied, the TLV320AIC2x
enters the initialization cycle that lasts for 132 MCLKs, during which the serial port of the DSP must be 3-stated.
The initialization sequence performed by the AIC2x is known as Auto Cascade Detection (ACD). ACD is a
mechanism that allows a device to know its address in a cascade chain. Up to 8 AIC2x devices can be cascaded
together.
The Master device is the first device on the chain i.e. the FS of the Master is connected to the FS of the DSP.
During ACD, each device gets to know the number of devices in the chain as well as its relative position in the
chain. This is done upon hardware reset. Therefore. after power up, a hardware reset must be completed. ACD
requires 132 MCLKs after reset to complete operation. The number of MCLKs is independent of the number of
devices in the chain.
Adjacent devices in the chain have their FS and FSD pins connected to each other. The master device’s FS is
connected to the FS pin of the DSP. The FSD pin on the last device in the chain is pulled high for master-slave
configuration, and it is pulled low for stand-alone slave configuration.
The master device has the highest address i.e., the master device has address equal to total no of channels in
cascade minus 1. For example, if 8 devices are cascaded, then the master device has address 15 and 14
followed by the next device which has 13 and 12 etc.
During the first 64 MCLKs, FS is configured as an output and FSD as an input.
During the next 64 MCLKs, FS is configured as an input and FSD as an output.
24
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Description (continued)
The Master device always has its FS configured as an output and the last slave in the cascade (i.e. channel with
address 0) always has its FSD configured as an input.
To calculate the channel address, during the first 64 MCLKs, the device counts the number of clocks between
ACD starting (reset) and the FSD going high.
During the next 64 MCLKs, the device counts the number of clocks till FS is pulled low.
The sum total of the counts in the first phase and the second phase is the number of devices in the channel.
For a cascaded system the rise time of H/W RESET must be less than the MCLK period and should satisfy setup
time requirement of 2 ns with respect to MCLK rise-edge. If more than one codec is cascaded together, RESET
must be synchronized to MCLK. Additionally all devices must see the same edge of MCLK within a window of 0.5
ns. This requirement does not exist for a single master or slave. MCLK and RESET can be asynchronous
events.
Power Management
Most of the device (all except the digital interface) enters the power-down mode when D5 and D4, in control
register 3A, are set to 1. When the PWRDN pin is low, the entire device is powered down. In either case, register
contents are preserved and the output of the amplifier is held at midpoint voltage to minimize pops and clicks.
The amount of power drawn during software power down is higher than during a hardware power down because
of the current required to keep the digital interface active. Additional differences between software and hardware
power-down modes are detailed in the following paragraphs.
Software Power-Down
Data bits D5 and D4 of control register 3A are used by TLV320AIC2x to turn on or off the software power-down
mode, which takes effect in the next frame FS. The ADC and DAC can be powered down individually. In the
software power-down, the digital interface circuit is still active while the internal ADC and DAC channel and all
differential analog outputs are disabled, and DOUT is put in 3-state in the data frame only. Register data in the
control frame is still accepted via DIN, but data in the data frame is ignored. The device returns to normal
operation when D7 and D6 of control register 3A are reset.
If the PLL is enabled (i.e., P is not set to 8), then executing a software power down and power up of the device
causes the output drivers to go to the common-mode voltage. Therefore, before executing a software power
down, the PLL must first be disabled (i.e., P should first be set to 8) before control register 3A is programmed.
While bringing the codec out of software power down, the PLL should be re-enabled only after the codec is
brought out of power down (i.e., register 3A must be programmed first followed by register 4).
Hardware Power-Down
The TLV320AIC2x requires the PWRDN signal to be synchronized with MCLK. When PWRDN is held low, the
device enters hardware power-down mode. In this state, the internal clock control circuit and the differential
outputs are disabled. All other digital I/Os are disabled and DIN can not accept any data input. The device can
only be returned to normal operation by holding PWRDN high. When not holding the device in the hardware
power-down mode, PWRDN must be tied high.
Smart Time Division Multiplexed Serial Port (SMARTDM)
The SMART time division multiplexed serial port (SMARTDM) uses the four wires of DOUT, DIN, SCLK, and FS
to transfer data into and out of the AIC2x. The TLV320AIC2xs SMARTDM supports three serial interface
configurations (see Table 1): stand-alone master, stand-alone slave, and master-slave cascade, employing a
time division multiplexed (TDM) scheme (a cascade of only-slaves is not supported). The SMARTDM allows for a
serial connection of up to 8 stereo codecs to a single serial port. Data communication in the three serial interface
configurations can be carried out in either standard operation (Default) or turbo operation. Each operation has
two modes: programming mode (default mode) and continuous data transfer mode. To switch from the
programming mode to the continuous data transfer mode, set bit D6 of control register 1 to 1, which is reset
automatically after switching back to programming mode. The TLV320AIC2x can be switched back from the
continuous data transfer mode to the programming mode by setting the LSB of the data on DIN to 1, only if the
data format is (15+1), as selected by bit 0 of control register 1. The SMARTDM automatically adjusts the number
25
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Functional Description (continued)
of time slots per frame sync (FS) to match the number of codecs in the serial interface so that no time slot is
wasted. Both the programming mode and the continuous data transfer mode of the TLV320AIC2x are compatible
with the TLV320AIC12. The TLV320AIC2x provides primary/secondary communication and continuous data
transfer with improvements and eliminates the requirements for hardware and software requests for secondary
communication as seen in the TLV320AIC10. The TLV320AIC2x continuous data transfer mode now supports
both master/slave stand-alone and cascade.
Table 1. Serial Interface Configurations
M/S PIN
FSD PIN
MASTER
Pull high
TLV320AIC2x CONNECTIONS
Stand-alone
COMMENTS
MASTER
SLAVE
SLAVE
High
High
NA
Low
Low
Connect to the next slave's FS
(see Figure 23)
Master-slave cascade
Slave-slave cascade
Low
NA
Last slave's FSD pin is pulled high
Not supported
NA
NA
Clock Source (MCLK, SCLK)
MCLK is the external master clock input. The clock circuit generates and distributes necessary clocks throughout
the device. SCLK is the bit clock used to receive and transmit data synchronously. When the device is in the
master mode, SCLK and FS are output and derived from MCLK in order to provide clocking the serial
communications between the device and a digital signal processor (DSP). When in the slave mode, SCLK and
FS are inputs. SCLK is controlled by TURBO bit (D7) in control register 2. In the standard operation (non-turbo,
TURBO = 0), SCLK frequency is defined by:
•
SCLK = (16 × FS × #Devices × mode)
Where:
FS is the frame-sync frequency. #Device is the number of the codec channels in cascade. (#Device = 2 for
•
stand-alone AIC2x) Mode is equal to 1 for continuous data transfer mode and 2 for programming mode.
Serial Data Out (DOUT)
DOUT is placed in the high-impedance state after transmission of the LSB is completed. In data frame, the data
word is the ADC conversion result. In the control frame, the data is the register read results when requested by
the read/write (R/W) bit. If a register read is not requested, the low eight bits of the secondary word are all
zeroes. Valid data on DOUT is taken from the high-impedance state by the falling edge of frame-sync (FS). The
first bit transmitted on the falling edge of FS is the MSB of valid data.
Serial Data In (DIN)
The data format of DIN is the same as that of DOUT, in which MSB is received first on the falling edge of first
SCLK after FS. In a data frame, the data word is the input digital signal to the DAC channel. If (15+1)-bit data
format is used, the LSB (D0) of every DAC channel is set to 1 to switch from the continuous data transfer mode
to the programming mode. In a control frame, the data is the control and configuration data that sets the device
for a particular function as described in Section 3.9, Control Register Programming.
Frame-Sync FS
The frame-sync signal (FS) indicates the device is ready to send and receive data. FS is an output if the M/S pin
is connected to HI (master mode) and an input if the M/S pin is connected to LO (slave mode).
Data is valid on the falling edge of the FS signal.
The frequency of FS is defined as the sampling rate of the TLV320AIC2x and derived from the master clock
MCLK as followed (see Section 3.1 Operating Frequencies for details):
•
FS = MCLK / (16 × P × N × M)
26
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
0
1
29
30
31
SCLK
(Output)
32 SCLKs
FS
DIN/DOUT
(16 Bit)
D15
MSB
D14
D1
D0
LSB
D15
MSB
D14
D1
D0
LSB
Master (CH 1)
Slave (CH 2)
Figure 19. Timing Diagram for FS in the Continuous Transfer Mode
Cascade Mode and Frame-Sync Delayed (FSD)
In cascade mode, the DSP should be in slave mode, i.e., it receives all frame-sync pulses from the master
though the master's FS. The master's FSD is output to the first slave and the first slave's FSD is output to the
second slave device and so on. Figure 20 shows the cascade of four TLV320AIC2xs in which the closest one to
DSP is the master and the rest are slaves. The FSD output of each device is input to the FS terminal of the
succeeding device. Figure 21 shows the FSD timing sequence in the cascade.
27
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
To CLKOUT
or External Oscillator
CLKOUT
DR
DX
FSX
MCLK
FSR
FS
DIN
TLV320AIC20
1
DOUT
CLKX
CLKR
SCLK
FSD
M/S
TMS320C5X
TMS320C6X
3.3 V
FS
MCLK
DIN
TLV320AIC20
2
DOUT
SCLK
FSD
M/S
FS
MCLK
DIN
TLV320AIC20
3
DOUT
SCLK
FSD
M/S
FS
MCLK
DIN
TLV320AIC20
4
DOUT
SCLK
FSD
M/S
IOVDD
Figure 20. Cascade Connection (to DSP Interface)
Stand-Alone Slave
In the stand-alone slave connection, the FS and SCLK inputs must be synchronized to each other and
programmed according to Section 3.1 (Operating Frequencies). The FS and SCLK input are not required to
synchronize to the MCLK input but must remain active at all times to assure continuous sampling in the data
converter. FSD must be connected to LOW for stand-alone-slave. FS is output for initial 132 MCLK and it is kept
low. The host processor needs to keep the FS pin in high impedence state during this period to avoid contention.
Asynchronous Sampling (Codecs in cascade are sampled at different sampling frequency)
The AIC2x SMARTDM supports different sampling frequencies between the different channels in cascade,
connecting to a single serial port in which all codecs are sampled at the same frequency of FS.
For example: FS1 and FS2 are the desired sampling rates for CH1 and CH2 respectively:
1. FS = MCLK / (16 x M x N x P)
2. FS = n1 x FS1 (n1 = 1, 2, . . ., 8 defined in the control register 3A of CH1)
3. FS = n2 x FS2 (n2 = 1, 2, . . ., 8 defined in the control register 3A of CH2)
28
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
For validating the conversion data from this operation:
•
•
For DAC: The DSP needs to give the same data for n1 samples. CH1 picks one of the n1 samples.
For ADC: CH1 gives the same data for the n1 samples. DSP should pick one of the n1 samples.
0
1
29
30
31
SCLK
(Output)
32 SCLKs
FS
FSD
DIN/DOUT
(16 Bit)
D15
MSB
D14
D1
D0
LSB
D15
MSB
D14
D1
D0
LSB
Master (CH 1)
Slave (CH 2)
Figure 21. Timing Diagram for FSD Output
Master FS
DIN/DOUT
AIC20-1
AIC20-2
AIC20-3
AIC20-4
Slave0 Master Slave6 Slave5 Slave4 Slave3 Slave2 Slave1 Slave0 Master Slave6 Slave5 Slave4
16 Bits
AIC20-1 FSD,
AIC20-2 FS
AIC20-2 FSD,
AIC20-3 FS
AIC20-3 FSD,
AIC20-4 FS
Figure 22. NOTE: AIC2x #4 FSD should be pulled high.
Programming Mode
In the programming mode, the FS signal starts the input/output data stream. Each period of FS contains two
frames as shown in Figures 3-10 and 3-11: data frame and control frame. The data frame contains data
transmitted from the ADC or to the DAC. The control frame contains data to program each codec control register.
The SMARTDM automatically sets the number of time slots per frame equal to the number of codec channels in
the interface. Each time slot contains 16-bit data. The SCLK is used to perform data transfer for the serial
interface between the AIC2x codecs and the DSP. The frequency of SCLK varies, depending on the selected
mode of serial interface. In the stand alone-mode, there are 64 SCLKs (or four time slots) per sampling period. In
the master-slave cascade mode, the number of SLCKs equals 32x(number of codec channels in the cascade).
The digital output data from the ADC is taken from DOUT. The digital input data for the DAC is applied to DIN.
The synchronization clock for the serial communication data and the frame-sync is taken from SCLK. The
frame-sync signal that starts the ADC and DAC data transfer interval is taken from FS. The SMARTDM also
provides a turbo operation, in which the FS's frequency is always the device's sampling frequency, but SCLK is
running at a much higher speed. Thus, there are more than 64 SCLKs for each AIC2x per sampling period, in
which the data frame and control frame occupy only the first 64 SCLKs from the falling edge of the frame-sync
FS.
29
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
SCLK
64 SCLKS
FS
Data Frame
Control Frame
Slot 0
Slot 1
Slot 2
Slot 3
DIN
CH1 16-Bit DAC
CH2 16-Bit DAC
CH1 Register Data
CH2 Register Data
CH1 16-Bit ADC
CH2 16-Bit ADC
CH1 Register Data
CH2 Register Data
DOUT
Figure 23. Programming Mode: Stand-Alone Timing
Slot
Number
0
1
2
2n-3 2n-2 2n-1
SCLK
FS
16 SCLKs Per Slot
DIN/
DOUT
Master Slave Slave
n-1 n-2
Slave Slave Slave Master Slave Slave
Slave Slave Slave
3
2
1
n-1
n-2
3
2
1
Data Frame
NOTE: n/2 is the total number of AIC20s in the cascade
Control Frame
(Register R/W)
Figure 24. Standard Operation/Programming Mode: Master-Slave Cascade Timing
Continuous Data Transfer Mode
The continuous data transfer mode, selected by setting bit D6 of each codec's control register 1 to 1, contains
conversion data only. In continuous data transfer mode, the control frame is eliminated, and the period of FS
signal contains only the data frame in which the 16-bit data is transferred contiguously, with no inactivity between
bits. The control frame can be reactivated by setting the LSB of DIN data to 1 if the data is in the 15+1 format. To
return the programming mode in the 16-bit DAC data format mode, write 0 in bit D6 of each codec's control
register 1 using I2C or S2C, or do a hardware reset to come out of continuous data transfer mode. If continuous
data transfer mode needs to be used with turbo mode, then the codec should first be set in turbo mode before it
is switched from the default programming mode to the continuous data transfer mode.
SCLK
32 SCLKS
FS
Data Frame
Data Frame
Slot 0
Slot 1
Slot 0
Slot 1
CH1 16-Bit DAC
CH2 16-Bit DAC
CH1 16-Bit DAC
CH2 16-Bit DAC
DIN
CH1 16-Bit ADC
CH2 16-Bit ADC
CH1 16-Bit ADC
CH2 16-Bit ADC
DOUT
Figure 25. Standard Operation/Continuous Data Transfer Mode: Stand-Alone Timing
30
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Slot
Number
0
1
2
n-3
n-2
n-1
0
1
2
n-3
n-2
n-1
SCLK
FS
16 SCLKs Per Time Slot
DIN/
DOUT
Slave Slave Slave Master Slave Slave
n-1 n-2
Slave Slave Slave
Master Slave Slave
n-1 n-2
3
2
1
3
2
1
Data Frame / Sample 1
NOTE: n/2 is the total number of AIC20s in the cascade
Data Frame / Sample 2
Figure 26. Standard Operation/Continuous Data Transfer Mode: Master-Slave Cascade Timing
Turbo Operation (SCLK)
Setting TURBO = 1 (bit D7) in each codec's control register 2 enables the AIC2x's turbo mode that requires the
following condition to be met:
•
M × N > #Devices × mode
Where:
M, N, and P are clock divider values defined in the control register 4. #Device is the number of codec
•
channels in cascade. ( Number of Device = 2 for stand-alone AIC2x) Mode is equal to 1 for continuous data
transfer mode and 2 for programming mode.
The turbo operation is useful for applications that require more bandwidth for multitasking processing per
sampling period. In the turbo mode (see Figure 27), the FS frequency is always the device's sampling frequency,
but the SCLK is running at much higher speed. The output SCLK frequency is equal to (MCLK/P) and up to a
maximum speed of 25 MHz. The data/control frame is still 32-SCLK long and the FS is one-SCLK pulse. If the
AIC2x is in slave mode and the device is not set to turbo mode, only the first FS is used to synchronize the data
transfer. The AIC2x ignores all subsequent FS signals and utilizes an internally generated FS. However, if the
AIC2x is set to turbo mode while in slave mode, then the data transfer synchronizes on every FS signal.
Therefore, it is recommended that if the AIC2x is set to slave mode, then the turbo mode is used. Also note that
in turbo mode, it is recommended that SCLK should be a multiple of 32 x FS.
31
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
TURBO PROGRAMMING MODE
Stand-Alone Case:
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
Turbo SCLK
Sampling Period
FS
Data Frame
ADC/DAC Data
Control Frame
Register Data
Hi-Z
Master
(CH 1)
Slave
(CH 2)
Master
(CH 1)
Slave
(CH 2)
Master
DIN / DOUT
Cascade Case (Master + 4 Slaves):
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
Turbo SCLK
Sampling Period
FS
Control Frame
Data Frame
Data Frame
Control Frame
Hi-Z
DIN / DOUT
TURBO CONTINUOUS DATA TRANSFER MODE
Stand-Alone Case:
Turbo SCLK
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
One SCLK
Sampling Period
Hi-Z
FS
Data Frame
Data Frame
Hi-Z
...
...
1
0
15 14
1 0
DIN / DOUT
15 14
Cascade Case (Master + 4 Slaves):
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
Turbo SCLK
FS
Sampling Period
Data Frame
Data Frame
Hi-Z
Hi-Z
DIN / DOUT
NOTE: SCLK is not drawn to scale.
Figure 27. Timing Diagram for Turbo Operation
32
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register Programming
Each channel in the TLV320AIC2x contains six control registers that are used to program available modes of
operation. All register programming occurs during the control frame through DIN. New configuration takes effect
after a delay of one frame sync. The TLV320AIC2x is defaulted to the programming mode upon power up. Set bit
6 in control register 1 to switch to continuous data transfer mode. If the 15+1 data format of DIN has been
selected, the LSB of the DIN to 1 to switch from continuous data transfer mode to programming set mode.
Otherwise, either the device needs to be reset or the host port writes 0 to bit D6 of each codec's control register
1 during the continuous data transfer mode to switch back to the programming mode. The control registers are
replicated for each channel in the AIC2x, and these need to be programmed separately for the individual
channels. Register bits that control resources that are common to both channels are shadowed (i.e., writing to
the appropriate register bit of one channel is automatically reflected in the register bits for the other channel).
See the control register tables for a more detailed description of the exact register bits that are shadowed.
Data Frame Format
DIN
D0
D15 - D1
(15+1) Bit Mode
(Continuous Data Transfer Mode Only)
Control Frame
Request
A/D and D/A Data
DOUT
(16 Bit A/D Data)
D15 - D0
DIN
16 Bit Mode
D15 - D0
A/D and D/A Data
DOUT
16 Bit Mode
D15 - D0
Figure 28. Data Frame Format
Control Frame Format (Programming Mode)
During the control frame, the DSP sends 16-bit words to each codec's time slot SMARTDM(TM) through DIN to
read or write control registers in each codec shown in Table 4. The upper byte (Bits D15-D8) of the 16-bit
control-frame word defines the read/write command. Bits D15-D13 define the control register address with
register content occupied the lower byte D7-D0. Bit D12 is set to 0 for a write or to 1 for a read. Bit D11 in the
write command is used to perform the broadcast mode. During a register write, the register content is located in
the lower byte of DIN. During a register read, the register content is output in the lower byte of DOUT in the
same control frame, whereas the lower byte of DIN is ignored.
Broadcast Register Write
Broadcast operation is very useful for a cascading system of SMARTDM codecs in which all register
programming can be completed in one control frame. During the control frame and in any register-write time slot,
if the broadcast bit (D11) is set to 1, the register content of that time slot is written into the specified register of all
devices in cascade (see Figure 29). This reduces the DSP's overhead of doing multiple writes to program the
same data into cascaded devices.
33
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Data to be Written Into Register
D7 - D0
DIN (Write) D15 D14 D13
0
D11
1
1
1
Register
Address
R/W Broadcast
Don’t care
D7 - D0
DIN (Read) D15 D14 D13
1
1
1
1
0
X
Register
Address
SMARTDM Device
Address
Register Content
D7 - D0
DOUT (Read) D15 D14 D13 D12 D11 D10 D9
Figure 29. Control Frame Data Format
Master FS
Data Frame
AIC20 #1 AIC20 #2
Control Frame
AIC20 #1 AIC20 #2
Data Frame
Slave0 Master Slave2 Slave1 Slave0 Master Slave2 Slave1 Slave0 Master Slave2 Slave1 Slave0
DIN
Reg Addr (D15-D13)
R/W (D12)
001
0
010
0
100
0
110
0
Time Slot
Write
Command
Broadcast (D11)
D10-D8
1
1
1
1
111
111
111
111
A. NOTE: In this example, the broadcast operation (D11 = 1) is used to program the four control registers of Reg.1,
Reg.2, Reg.4, and Reg.6 in all four DSP codecs of two TLV320AIC2xs in cascade (Master, Slave2, Slave1, and
Slave0) during the same frame (i.e., register 1 of the four codecs contains the same data).
Host Port Interface
The host port uses a 2-wire serial interface (SCL, SDA) to program channel six of each of the codec control
registers, and selectable protocol between S2C mode and I2C mode. The S2C is a write-only mode, and the I2C
is a read-write mode selected by bits D1-D0 (HPC bits) of control register 2. If the host interface is not needed,
the two pins of SCL and SDA can be programmed to become general-purpose I/Os. If selected to be used as I/O
pins, the SDA and SCL pins become output and input pins respectively, determined by D1 and D0.
Both S2C and I2C require a SMARTDM device address to communicate with the AIC2x. One of SMARTDM's
advanced features is the automatic cascade detection (ACD) that enables SMARTDM to automatically detect the
total number of codecs in the serial connection and use this information to assign each codec a distinct
SMARTDM device address. Table 2 lists device addresses assigned to each codec in the cascade by the
SMARTDM. The master always has the highest position in the cascade. For example in Figure 20, there is a
total of 4 codecs in the cascade (i.e., one master and 3 slaves), then the device addresses in row 4 are used in
which the master is codec 1 with a device address of 0000.
34
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Table 2. SMARTDM Device Addresses
TOTAL
CHAN-
NELS
CHANNELS POSITION IN CASCADE (1 CODEC HAS 2 CHANNELS)
12 11 10
15
14
13
9
8
7
6
5
4
3
2
1
0
1
2
0000
0001 0000
0010 0001 0000
0011 0010 0001 0000
0100 0011 0010 0001 0000
0101 0100 0011 0010 0001 0000
0110 0101 0100 0011 0010 0001 0000
0111 0110 0101 0100 0011 0010 0001 0000
1000 0111 0110 0101 0100 0011 0010 0001 0000
1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
1101 1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
1110 1101 1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
1111 1110 1101 1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000
3
4
5
6
7
8
9
10
11
12
13
14
15
16
S2C (Start-Stop Communication)
The S2C is a write-only interface selected by programming bits D1-D0 of control register 2 to 01. The SDA input
is normally in a high state, pulled low (START bit) to start the communication, and pulled high (STOP bit) after
the transmission of the LSB. Figure 30 shows the timing diagram of S2C. The S2C also supports a broadcast
mode in which the same register of all devices in cascade is programmed in a single write. To use S2C's
broadcast mode, execute the following steps:
1. Write 111 1000 1111 1111 after the start bit to enable the broadcast mode.
2. Write data to program control register as specified in Figure 30 with bits D14-D11 = XXXX (don't care).
3. Write 111 1000 0000 0000 after the start bit to disable the broadcast mode.
SCL
D15 D14 D13 D12 D11 D10 D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
SDA
SMARTDM Device
Address
Register
Address
Register Content
Start Bit = 0
Stop Bit = 1
(see Table 3-1)
Figure 30. S2C Programming
35
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
I2C
•
•
Each I2C read-from or write-to each codec control register is given by an index register address.
Read/write sequence always starts with the first byte as I2C address followed by 0. During the second byte,
default/broadcast mode is set and the index register address is initialized. For write operation control register,
data to be written is given from the third byte onwards. For read operation, stop-start is performed after the
second byte. Now the first byte is I2C address followed by 1. From the second byte onwards, control register
data appears.
•
•
•
Each time read/write is performed, the index register address is incrimented so that the next read/write is
performed on the next control register.
During the first write cycle and all write cycles in the broadcast, only the device with address 0000 issues
ACK to the I2C.
Similarly, for a register with multiple sub-registers the sub-register index automatically increments with each
read/write. For example, the first read/write to register 3 read/writes to register 3A, the next to register 3B
and so forth until the last sub-register is reached. At this time the sub-register index wraps back around to
the first sub-register
2
I C Write Sequence
SCL
SDA
A6 A5 A4 A3 A2
I2C I2C I2C
A0
0
B7 B6 B5 B4 B3 R2 R1 R0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
ACK
ACK
ACK
ACK
A1
6
5
4
Start Bit = 0
SMARTDM Device
Address
(see Table 3-1)
Index Register Address
(Index)
11111 = Broadcast Mode
Control Register Data for Write
(Index+1)
00000 = Default
Control Register Data for Write
(Index)
Programmable 12C Device Address
Set by Control Register 2
Figure 31. I2C Write Sequence
2
I C Read Sequence
SCL
A6
A5
A4
A3
A2
A0
0
B7
B6
B5
B4
B3
R2
R1
R0
ACK
A1
ACK
SDA
I2C I2C I2C
Start Bit = 0
Stop Bit = 1
xxxxx = Don't Care
6
5
4
Index Register Address
(Index)
SMARTDM Device Address
(see Table 1)
2
Programmable 1 C Device Address
Set by Control Register 2
SCL
1
ACK
ACK
ACK
A6
A5
A4
A3
A2
A0
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
A1
SDA
I2C I2C I2C
6
5
4
Start Bit = 0
Control Register Data
(Index)
Control Register Data
(Index+1)
SMARTDM Device Address
(see Table 1)
2
Programmable 1 C Device Address
Set by Control Register 2
Figure 32. I2C Read Sequence
Each codec has an index register address. To perform a write operation, make the LSB of the first byte as 0
(write) (see Figure 33). During the second byte, the index register address is initialized and mode
(broadcast/default) is set. From the third byte onwards, write data to the control register (given by index register)
and increment the index register until stop or repeated start occurs. For operation, make the LSB of the first byte
as 1 (read). From the second byte onwards, AIC starts transmitting data from the control register (given by the
index register) and increments the index register. For setting the index register perform operation the same as
write case for 2 bytes, and then give a stop or repeated start.
36
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
•
S/Sr -> Start/Repeated Start.
Write Mode
Default/Broadcast
(00000/11111)
Increment Index Register Address
7 Bit
I C Device Address (3 Bit)+
1 Bit
R/W
8 Bit
8 Bit
8 Bit
2
S/Sr
Mode (5 Bit) + Index
Register Address
(3 Bit)
Control Register
Data (Write)
Control Register
Data (Write)
Ack
Ack
Ack
SMARTDM Device Address + = 0
To the Address Given
by Index Register
Address
To the Address Given
by Index Register
Address
Read Mode
Increment Index
Register Address
Increment Index
Register Address
7 Bit
1 Bit
R/W
8 Bit
8 Bit
2
S/Sr I C Device Address (3 Bit)+
Control Register Data
(Read)
Control Register
Data (Read)
Ack
Ack
Ack
SMARTDM Device Address + = 1
From the Address Given
by Index Register Address
From the Address Given
by Index Register Address
For Initializing Index Register Address
Stop
7 Bit
S/Sr I C Device Address (3 Bit)+
1 Bit
R/W
8 Bit
2
Mode (5 Bit) + Index
Register Address
(3 Bit)
Ack
Ack
SMARTDM Device Address + = 0
Figure 33. Index Register Addresses
Register Map
Each AIC2x codec consists of 2 channels. Each channel has 6 registers to enable the user to control various
components. Registers that control resources that are common across the two channels are shadowed. This
means that writing to the appropriate register in one channel automatically updates the contents of the same
register in the other channel to reflect the change. For example, writing to register 4 in channel 1 automatically
updates the contents of register 4 for channel 2 and vice versa. Refer to the individual register description for a
more detailed description of the exact register bits that are shadowed. Bits D15 through D13 represent the
control register address that is written with data carried in D7 through D0. Bit D12 determines a read or a write
cycle to the addressed register. When D12 = 0, a write cycle is selected. When D12 = 1, a read cycle is selected.
Bit D11 controls the broadcast mode as described above, in which the broadcast mode is enabled if D11 is set to
1. Always write 1s to the bits D10 through D8.
Table 3 shows the register map.
Table 3. Register Map
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Register Address
RW
BC
1
1
1
Control Register Content
Table 4. Register Addressing
REGISTER NO.
D15
D14
0
D13
0
REGISTER NAME
0
1
2
3
4
5
6
0
0
0
0
1
1
1
No operation
Control 1
Control 2
Control 3
Control 4
Control 5
Control 6
0
1
1
0
1
1
0
0
0
1
1
0
37
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register Content Description
Control Register 1(1)
D7
ADOVF
R
D6
CX
D5
IIR
D4
DAOVF
R
D3
D2
D1
D0
BIASV
R/W/S
ALB
R/W
DLB
R/W
DAC16
R/W/S
R/W/S
R/W
(1) NOTE: R = Read, W = Write, S = Shadowed
Control Register 1 Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
ADC over flow. This bit indicates whether the ADC is overflow.
ADOVF = 0 No overflow
D7
ADOVF
0
ADOVF = 1 A/D is overflow.
Continuous data transfer mode. This bit selects between programming mode and continuous data transfer
mode.
D6
CX
0
CX = 0 Programming mode
CX = 1 Continuous data transfer mode
IIR Filter. This bit selects between FIR and IIR for decimation/interpolation low-pass filter.
IIR = 0 FIR filter is selected
IIR = 1 IIR filter is selected.
D5
D4
IIR
0
0
DAC over flow. This bit indicates whether the DAC is overflow
DAOVF = 0 No overflow
DAOVF
DAOVF = 1 DAC is overflow
Bias voltage. This bit selects the output voltage for BIAS pin
BIASV = 0
D3
BIASV
0
BIAS pin = 1.35 V
BIASV = 1
BIAS pin = 2.35 V
Analog loop back
D2
D1
ALB
DLB
0
0
ALB = 0 Analog loopback disabled
ALB = 1 Analog loopback enabled
Digital loop back
DLB = 0 Digital loopback disabled
DLB = 1 Digital loopback enabled
DAC 16-bit data format. This bit applies to the continuous data transfer mode only to enable the 16-bit data
format for DAC input.DAC16 = 0 DAC input data length is 15 bits. Writing a 1 to the LSB of the DAC input to
switch from continuous data transfer mode to programming mode.
D0
DAC16
0
DAC16 = 1 DAC input data length is 16 bit.
Control Register 2(1)
D7
D6
D5
D4
D3
D2
D1
D0
TURBO
R/W/S
DIFBP
R/W/S
I2C6
I2C5
I2C4
GPO
R/W/S
HPC
R/W/S
R/W/S
R/W/S
R/W/S
R/W/S
(1) NOTE: R = Read, W = Write, S = Shadowed
Control Register 2 Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
Turbo mode. This bit is used to set the SCLK rate.
D7
TURBO
0
TURBO = 0 SCLK = (16 × FS × number of device × mode)
TURBO = 1 SCLK = MCLK/P (P is determined in register 4)
Decimation/interpolation filter bypass. This bit is used to bypass both decimation and interpolation filters.
DIFBP = 0 Decimation/interpolation filters are operated.
DIFBP = 1 Decimation/interpolation filters are bypassed.
I2C device address. These three bits are programmable to define three MSBs of the I2C device address
(reset value is 100). These three bits are combined with the 4-bit SMARTDM device address to form 7-bit
I2C device address.
D6
DIFBP
I2Cx
0
D5-D3
100
38
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register 2 Bit Summary (continued)
RESET
VALUE
BIT
NAME
FUNCTION
D2
GPO
0
General-purpose output
Host port control bits. Write the following values into D1-D0 to select the appropriate configuration for two
pins SDA and SCL. The SDA and SCL pins are used for I2C interface if D1-D0 = 00. The SDA and SCL pins
are used for S2C interface if D1-D0 = 01. If D1-D0 = 10, the SDA pin = D2, input going into the SCL pin is
output to DOUT (11), the SDA pin = control frame flag.
D1-D0
HPC
00
Control Register 3A(1)
D7
D6
D5
D4
D3
D2
D1
D0
00
PWDN
R/W
SWRS
R/W/S
ASRF
R/W
R/W
(1) NOTE: R = Read, W = Write
Control Register 3A Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
Power down PWDN = 00
No power down PWDN = 01
Power-down A/DPWDN = 10
Power-down D/APWDN = 11
Software power down the entire device
D5-D4
D3
PWDN
SWRS
00
0
Software reset. Set this bit to 1 to reset the device.
Asynchronous sampling rate factor. These three bits define the ratio n between FS frequency and the
desired sampling frequency fs (Applied only if different sampling rate between CODEC1 and CODEC2 is
desired)
ASRF = 001, n = FS/fs = 1
ASRF = 010, n = FS/fs = 2
ASRF = 011, n = FS/fs = 3
ASRF = 100, n = FS/fs = 4
ASRF = 101, n = FS/fs = 5
ASRF = 110, n = FS/fs = 6
ASRF = 111, n = FS/fs = 7
ASRF = 000, n = FS/fs = 8
D2-D0
ASRF
001
Control Register 3B(1)
D7
D6
D5
D4
D3
D2
D1
D0
01
8KBF
Reserved
MHNS
MHDS
MLDO
MSPK
R/W
R/W
R/W/S
(1) NOTE: R = Read, W = Write
Control Register 3B Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
8 kHz band pass filter. Set this bit to 1 to enable the band-bass filter [300 Hz -3.3 kHz] with the sampling
rate at 8 kHz.
D5
D4
8KBF
0
0
Reserved
Mute handset. This bit controls the MUTE function of handset output driver.
MHNS = 0 Handset output driver is not MUTE.
MHNS = 1 Handset output driver is MUTE.
D3
D2
D1
D0
MHNS
MHDS
MLNO
MSPK
0
0
0
0
Mute headset. This bit controls the MUTE function of headset output driver.
MHDS = 0 Headset output driver is not MUTE.
MHDS = 1 Headset output driver is MUTE.
Mute line output. This bit controls the MUTE function of the 600-Ω output driver.
MLNO = 0 The 600-Ω output driver is not MUTE.
MLNO = 1 The 600-Ω output driver is MUTE.
Mute 8-Ω speaker. This bit controls the MUTE function of the 8-Ω speaker driver.
MSPK = 0 The 8-Ω speaker driver is not MUTE.
MSPK = 1 The 8-Ω speaker driver is MUTE.
39
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register 3C(1)
D7
D6
D5
D4
D3
D2
D1
D0
10
Reserved
ICID
OSR
R/W
R/W
R/W/S
(1) NOTE: R = Read, W = Write, S = Shadowed
Control Register 3C Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
D5
Reserved
0
Chip ID. These two bits represent the device version number.
ICID = 000 Version 1
ICID = 001 Version 2
ICID = 010 Version 3
D4-D2
D1-D0
ICID
000
00
ICID = 011 Version 4
ICID = 100 Version 5
ICID = 101 Version 6
ICID = 110 Version 7
ICID = 111 Version 8
OSR option D1-D0 = X1 OSR for DAC Channel is 512 (Max FS = 8 Ksps)
D1-D0 = 10 OSR for DAC Channel is 256 (Max FS = 16 Ksps)
D1-D0 = 00 OSR for DAC Channel is 128 (Max FS = 26 Ksps)
OSR option
Control Register 3D(1)
D7
D6
D5
D4
D3
D2
D1
D0
11
LCDAC
R/W/S
R/W
(1) NOTE: R = Read, W = Write, S = Shadowed
Control Register 3D Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
D5-D0
LCDAC(1) 000000 LCD DAC. These bits represent the input value for the 6-bit LCD DAC.
(1) NOTE: See the Electrical Characteristics table for LCD DAC specification.
Control Register 4(1)
D7
D6
D5
D4
D3
D2
D1
D0
FSDIV
R/W
MNP
R/W/S
R/W/S
R/W/S
R/W/S
R/W/S
R/W/S
R/W/S
(1) NOTE: R = Read, W = Write, S = Shadowed
Control Register 4 Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
Frame sync division factor FSDIV = 0
D7
FSDIV
0
To write value of P to bits D2-D0 and value of N to bits D6-D3 FSDIV = 1
To write value of M to bits D6-D0
40
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register 4 Bit Summary (continued)
RESET
VALUE
BIT
NAME
FUNCTION
Divider values of M, N, and P to be used in junction with the FSDIV bit for calculation of FS frequency
according to the formula: FS = MCLK / (16 x M x N x P) where: M = 1, 2, .., 128
Determined by D6-D0 with FSDIV = 1
D7-D0 = 10000000 M = 128
D7-D0 = 10000001 M = 1
D7-D0 = 11111111 M = 127
N = 1, 2,.., 16
Determined by D6-D3 with FSDIV = 0, D6-D0 M, N, P
D7-D0 = 00000xxx N = 16
D6-D0
MNP
—
D7-D0 = 00001xxx N = 1
D7-D0 = 01111xxx N = 15
P = 1, 2,.., 8
Determined by D2-D0 with FSDIV = 0
D7-D0 = 0xxxx000 P = 8
D7-D0 = 0xxxx001 P = 1
D7-D0 = 0xxxx111 P = 7
Control Register 5A(1)
D7
D6
0
D5
D4
D3
D2
D1
D0
0
ADPGA
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
(1) NOTE: R = Read, W = Write
Table 5. A/D PGA Gain
D5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
D4
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
D3
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
D2
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
D1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
D0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
ADPGA
ADC input PGA gain = MUTE
ADC input PGA gain = 54 dB
ADC input PGA gain = 48 dB
ADC input PGA gain = 42 dB
ADC input PGA gain = 40.5 dB
ADC input PGA gain = 39 dB
ADC input PGA gain = 37.5 dB
ADC input PGA gain = 36 dB
ADC input PGA gain = 34.5 dB
ADC input PGA gain = 33 dB
ADC input PGA gain = 31.5 dB
ADC input PGA gain = 30 dB
ADC input PGA gain = 28.5 dB
ADC input PGA gain = 27 dB
ADC input PGA gain = 25.5 dB
ADC input PGA gain = 24 dB
ADC input PGA gain = 22.5 dB
ADC input PGA gain = 21 dB
ADC input PGA gain = 19.5 dB
ADC input PGA gain = 18 dB
ADC input PGA gain = 16.5 dB
ADC input PGA gain = 15 dB
ADC input PGA gain = 13.5 dB
ADC input PGA gain = 12 dB
ADC input PGA gain = 10.5 dB
ADC input PGA gain = 9 dB
ADC input PGA gain = 7.5 dB
41
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Table 5. A/D PGA Gain (continued)
D5
0
D4
0
D3
0
D2
1
D1
0
D0
0
ADPGA
ADC input PGA gain = 6 dB
0
0
0
0
1
1
ADC input PGA gain = 4.5 dB
ADC input PGA gain = 3 dB
ADC input PGA gain = 1.5 dB
ADC input PGA gain = 0 dB
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
Control Register 5B(1)
D7
D6
1
D5
D4
D3
D2
D1
D0
0
DAPGA
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
(1) NOTE: R = Read, W = Write
D/A PGA Gain
D5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
D4
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
D3
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
D2
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
D1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
D0
DAPGA
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
DAC input PGA gain = MUTE
DAC input PGA gain = -54 dB
DAC input PGA gain = -48 dB
DAC input PGA gain = -42 dB
DAC input PGA gain = -40.5 dB
DAC input PGA gain = -39 dB
DAC input PGA gain = -37.5 dB
DAC input PGA gain = -36 dB
DAC input PGA gain = -34.5 dB
DAC input PGA gain = -33 dB
DAC input PGA gain = -31.5 dB
DAC input PGA gain = -30 dB
DAC input PGA gain = -28.5 dB
DAC input PGA gain = -27 dB
DAC input PGA gain = -25.5 dB
DAC input PGA gain = -24 dB
DAC input PGA gain = -22.5 dB
DAC input PGA gain = -21 dB
DAC input PGA gain = -19.5 dB
DAC input PGA gain = -18 dB
DAC input PGA gain = -16.5 dB
DAC input PGA gain = -15 dB
DAC input PGA gain = -13.5 dB
DAC input PGA gain = -12 dB
DAC input PGA gain = -10.5 dB
DAC input PGA gain = -9 dB
DAC input PGA gain = -7.5 dB
DAC input PGA gain = -6 dB
DAC input PGA gain = -4.5 dB
DAC input PGA gain = -3 dB
DAC input PGA gain = -1.5 dB
DAC input PGA gain = 0 dB
42
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register 5C(1)
D7
1
D6
0
D5
D4
D3
D2
D1
D0
ASTG
R/W
DSTG
R/W
R/W
R/W
R/W
R/W
R/W
(1) NOTE: R = Read, W = Write
Analog Sidetone Gain
D5
1
D4
1
D3
1
DSTG
Analog sidetone gain = MUTE
Analog sidetone gain = -27 dB
Analog sidetone gain = -24 dB
Analog sidetone gain = -21 dB
Analog sidetone gain = -18 dB
Analog sidetone gain = -15 dB
Analog sidetone gain = -12 dB
Analog sidetone gain = -9 dB
Digital Sidetone Gain
1
1
0
1
0
1
1
0
0
0
1
1
0
1
0
0
0
1
0
0
0
D2
1
D1
1
D0
1
DSTG
Digital sidetone gain = MUTE
Digital sidetone gain = -27 dB
Digital sidetone gain = -24 dB
Digital sidetone gain = -21 dB
Digital sidetone gain = -18 dB
Digital sidetone gain = -15 dB
Digital sidetone gain = -12 dB
Digital sidetone gain = -9 dB
1
1
0
1
0
1
1
0
0
0
1
1
0
1
0
0
0
1
0
0
0
Control Register 5D(1)
D7
1
D6
D5
D4
D3
D2
D1
D0
1
SPKG
R/W/S
Reserved
R/W
R/W
R/W
(1) NOTE: R = Read, W = Write
Control Register 5D Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
Speaker Gain
SPKG = 00 0 dB Gain
SPKG = 01 1 dB Gain
SPKG = 10 2 dB Gain
SPKG = 11 3 dB Gain
D5-D4
D3-D0
SPKG
00
Reserved
0000
Control Register 6A(1)
D7
D6
D5
D4
D3
D2
D1
D0
0
HDSI2O
R/W/S
HNSI2O
R/W/S
CIDI
R/W
LINEI
R/W
MICI
R/W
HNSI
R/W
HDSI
R/W
R/W
(1) NOTE: R = Read, W = Write
43
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Control Register 6A Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
Headset input to output
D6
HDSI2O
0
HDSI2O = 0 The headset input is not connected to the headset output.
HDSI2O = 1 The headset input is connected to the headset output.
Handset input to output
D5
D4
D3
D2
D1
D0
HNSI2O
CIDI
0
0
0
0
0
0
HNSI2O = 0 The handset input is not connected to the handset output.
HNSI2O = 1 The handset input is connected to the handset output.
Caller ID input select
CIDI = 0 The caller ID input is not connected to ADC channel.
CIDI = 1 The caller ID input is connected to ADC channel.
Line input select
LINEI = 0 The line driver input is not connected to ADC channel.
LINEI = 1 The line driver input is connected to ADC channel.
LINEI
MICI
MIC input select
MICI = 0 The microphone input is not connected to ADC channel.
MICI = 1 The microphone input is connected to ADC channel.
Handset input select
HNSI = 0 The handset input is not connected to ADC channel.
HNSI = 1 The handset input is connected to ADC channel
HNSI
HDSI
Headset input select
HDSI = 0 The headset input is not connected to ADC channel.
HDSI = 1 The headset input is connected to ADC channel.
Control Register 6B(1)
D7
1
D6
Reserved
R
D5
ASTOHD
R/W
D4
ASTOHN
R/W
D3
D2
D1
D0
SPKO
R/W
LINEO
R/W
HNSO
R/W
HDSO
R/W
R/W
(1) NOTE: R = Read, W = Write
Control Register 6B Bit Summary
RESET
VALUE
BIT
NAME
FUNCTION
D6
Reserved
0
Analog sidetone output select for headset. This bit connects the analog sidetone to headset output.
ASTOHD = 0. The analog sidetone is not connected to headset output.
ASTOHD = 1. The analog sidetone is connected to headset output.
D5
D4
D3
D2
D1
D0
ASTOHD
ASTOHN
SPKO
0
0
0
0
0
0
Analog sidetone output select for handset. This bit connects the analog sidetone to handset output.
ASTOHN = 0. The analog sidetone is not connected to handset output.
ASTOHN = 1. The analog sidetone is connected to handset output.
Speaker output select. This bit connects the DAC output to the 8-Ω speaker driver
SPKO = 0 The speaker driver output is not connected to DAC channel.
SPKO = 1 The speaker driver output is connected to DAC channel.
Line output select. This bit connects the DAC output to the 600-Ω line driver
LINEO = 0 The line driver output is not connected to DAC channel.
LINEO = 1 The line driver output is connected to DAC channel.
LINEO
Handset output select. This bit connects the DAC output to the 150-Ω handset driver
HNSO = 0 The handset driver output is not connected to DAC channel.
HNSO = 1 The handset driver output is connected to DAC channel.
HNSO
Headset output select. This bit connects the DAC output to the 150-Ω headset driver
HDSO = 0 The headset driver output is not connected to DAC channel.
HDSO = 1 The headset driver output is connected to DAC channel.
HDSO
44
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Layout and Grounding Guidelines for TLV320AIC2x
TLV320AIC2x has a built-in analog antialias filter, which provides rejection to external noise at high frequencies
that may couple into the device. Digital filters with high out-of-band attenuation also reject the external noise. If
the differential inputs are used for the ADC channel, then the noise in the common-mode signal is also rejected
by the high CMRR of TLV320AIC2x. Using external common-mode for microphone inputs also helps reject the
external noise. However to extract the best performance from TLV320AIC2x, care must be taken in board design
and layout to avoid coupling of external noise into the device.
TLV320AIC2x supports clock frequencies as high as 100 MHz. To avoid coupling of fast switching digital signals
to analog signals, the digital and analog sections should be separated on the board. In TLV320AIC2x the digital
and analog pins are kept separated to aid such a board layout. A separate analog ground plane must be used for
the analog section of the board. The analog and digital ground planes should be shorted at only one place as
close to TLV320AIC2x as possible. No digital trace should run under TLV320AIC2x to avoid coupling of external
digital noise into the device. It is suggested to have the analog ground plane running below the TLV320AIC2x.
The power-supplies must be decoupled close to the supply pins, preferably, with 0.1 µF ceramic capacitor and
10 µF tantalum capacitor following. The ground pin must be connected to the ground plane as close as possible
to the TLV320AIC2x, so as to minimize any inductance in the path. Since the MCLK is expected to be a very
high frequency signal, it is advisable to shield it with digital ground. For best performance of ADC in differential
input mode, the differential signals must be routed close to each other in similar fashion, so that the noise
coupling on both the signals is the same and can be rejected by the device.
Extra care has to be taken for the speaker driver outputs, as any trace resistance can cause a reduction in the
maximum swing that can be seen at the speaker.
TLV320AIC2x-to-DSP Interface
The TLV320AIC2x interfaces gluelessly to the McBSP port of a C54x or C6x TI DSP. Figure 34 shows a single
TLV320AIC2x connected to a C54x or C6x TI DSP.
DX
DR
From
Oscillator
FSX
MCLK
FS
FSR
DIN
TLV320AIC20
DOUT
M/S
CLKX
CLKR
IOVDD
SCLK
TMS320C54X
TMS320C6X
Figure 34. TLV320AIC2xs Interface to McBSP Port of C54x or C6x DSP
Hybrid Circuit External Connections
The TLV320AIC2x connected to the telephone line using the LINEI and LINEO hybrid circuit is shown in
Figure 35.
45
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Layout and Grounding Guidelines for TLV320AIC2x (continued)
10 kW
68 kW
LINEI+
LINEI-
10 kW
68 kW
136 kW
136 kW
Line
300 W
LINEO+
600 W
LINEO-
300 W
Figure 35. Hybrid Circuit External Connections
Microphone, Handset, and Headset External Connections
The microphone, headset, and handset external connections are shown in Figure 36. The suggested discrete
components with their values also are included.
MICBIAS
2 mA max, 2.35 V
MIC Preamp
0.1 µF
10 kΩ
10 kΩ
MICI+
(1.35 V)
MICI-
10 kΩ
0.1 µF
MIC
HEADSET/HANDSET Preamp
AV
SS
0.1 µF
HDSI+
HNSI+
10 kΩ
10 kΩ
(1.35 V)
0.1 µF
HDSI-
HNSI-
10 kΩ
MIC
AV
SS
TLV320AIC20
Figure 36. MIC/Handset/Headset External Connections
46
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Layout and Grounding Guidelines for TLV320AIC2x (continued)
CallerID Interface
The callerID amplifier interface to the telephone line is shown in (A)
.
The value for Rx is 365 kΩ (E96 series, which has 1% tolerance). Cx is 470 pF (10% tolerance) of high-voltage
rating. Voltage rating is decided based on the telecommunication standards of the country. The typical value is 1
kV. The callerID input can be used as a lower-performance line input. For this application, a larger value
capacitor is required for Cx.
To Telephone
To RJ11
VCOM
Cx
470 pF
Rx
365 kΩ
0-dB Gain, Typ.
CIDI+
CIDI-
To Analog
Crosspoint
Rx
Cx
365 kΩ
470 pF
VCOM
TLV320AIC20
A.
Typical Application Circuit for CallerID Amplifiers
Figure 37. Recommended Power-Supply Decoupling
The recommended power-supply decoupling for the TLV320AIC2x is shown in Figure 38. Both high frequency
and bulk decoupling capacitors are suggested. The high-frequency capacitors should be X7R type capacitors or
better. A 1-µF ceramic capacitor should be used to decouple the digital power supply.
47
TLV320AIC20, TLV320AIC21
TLV320AIC24, TLV320AIC25
TLV320AIC20K, TLV320AIC24K
www.ti.com
SLAS363D–MARCH 2002–REVISED APRIL 2005
Layout and Grounding Guidelines for TLV320AIC2x (continued)
IOVDD
TLV320AIC20
12
IOVDD
0.1 µF
0.01 µF
13
1 µF
IOVSS
DGND
DVDD
15
DVDD
DVSS
0.01 µF
0.1 µF
0.1 µF
16
AVDD2
DGND
5
6
AVDD2
AVSS2
0.1 µF
AGND
AGND
DRVDD
27
DRVDD
0.1 µF
25
29
DRVSS1
DRVSS2
AVDD
33
32
AVDD1
AVSS1
0.1 µF
AVDD
AGND
AGND
42
43
AVDD
AVSS
0.1 µF
DVDD = Digital Power
DGND = Digital Ground
AVDD/AVDD1/AVDD2= Analog
Power
DRVDD = Separate Analog Power
AGND = Analog Ground
Figure 38. Recommended Decoupling
48
PACKAGE OPTION ADDENDUM
www.ti.com
13-Sep-2005
PACKAGING INFORMATION
Orderable Device
TLV320A20KIPFBRG4
TLV320A24KIPFBRG4
TLV320AIC20CPFB
TLV320AIC20CPFBG4
TLV320AIC20CPFBR
TLV320AIC20CPFBRG4
TLV320AIC20IPFB
Status (1)
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
Package Package
Pins Package Eco Plan (2) Lead/Ball Finish MSL Peak Temp (3)
Qty
Type
Drawing
TQFP
PFB
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
48
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
TLV320AIC20IPFBR
TLV320AIC20IPFBRG4
TLV320AIC20KIPFB
TLV320AIC20KIPFBR
TLV320AIC21CPFB
TLV320AIC21CPFBG4
TLV320AIC21CPFBR
TLV320AIC21CPFBRG4
TLV320AIC21IPFB
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
TLV320AIC21IPFBG4
TLV320AIC21IPFBR
TLV320AIC21IPFBRG4
TLV320AIC24CPFB
TLV320AIC24CPFBG4
TLV320AIC24CPFBR
TLV320AIC24CPFBRG4
TLV320AIC24IPFB
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
TLV320AIC24IPFBG4
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
Addendum-Page 1
PACKAGE OPTION ADDENDUM
www.ti.com
13-Sep-2005
Orderable Device
TLV320AIC24IPFBR
TLV320AIC24IPFBRG4
TLV320AIC24KIPFB
TLV320AIC24KIPFBG4
TLV320AIC24KIPFBR
TLV320AIC25CPFB
TLV320AIC25CPFBG4
TLV320AIC25CPFBR
TLV320AIC25CPFBRG4
TLV320AIC25IPFB
Status (1)
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
ACTIVE
Package Package
Pins Package Eco Plan (2) Lead/Ball Finish MSL Peak Temp (3)
Qty
Type
Drawing
TQFP
PFB
48
48
48
48
48
48
48
48
48
48
48
48
48
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
TQFP
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
PFB
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
TLV320AIC25IPFBG4
TLV320AIC25IPFBR
TLV320AIC25IPFBRG4
250 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
1000 Green (RoHS & CU NIPDAU Level-2-260C-1 YEAR
no Sb/Br)
(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) 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.
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
Addendum-Page 2
PACKAGE OPTION ADDENDUM
www.ti.com
13-Sep-2005
to Customer on an annual basis.
Addendum-Page 3
MECHANICAL DATA
MTQF019A – JANUARY 1995 – REVISED JANUARY 1998
PFB (S-PQFP-G48)
PLASTIC QUAD FLATPACK
0,27
0,17
0,50
M
0,08
36
25
37
24
48
13
0,13 NOM
1
12
5,50 TYP
7,20
SQ
Gage Plane
6,80
9,20
SQ
8,80
0,25
0,05 MIN
0°–7°
1,05
0,95
0,75
0,45
Seating Plane
0,08
1,20 MAX
4073176/B 10/96
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MS-026
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
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 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.
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.
Following are URLs where you can obtain information on other Texas Instruments products and application
solutions:
Products
Applications
Audio
Amplifiers
amplifier.ti.com
www.ti.com/audio
Data Converters
dataconverter.ti.com
Automotive
www.ti.com/automotive
DSP
dsp.ti.com
Broadband
Digital Control
Military
www.ti.com/broadband
www.ti.com/digitalcontrol
www.ti.com/military
Interface
Logic
interface.ti.com
logic.ti.com
Power Mgmt
Microcontrollers
power.ti.com
Optical Networking
Security
www.ti.com/opticalnetwork
www.ti.com/security
www.ti.com/telephony
www.ti.com/video
microcontroller.ti.com
Telephony
Video & Imaging
Wireless
www.ti.com/wireless
Mailing Address:
Texas Instruments
Post Office Box 655303 Dallas, Texas 75265
Copyright 2005, Texas Instruments Incorporated
相关型号:
©2020 ICPDF网 联系我们和版权申明