The TL V320AIC27 comprises a stereo 18-bit codec (that is, 2 ADCs and 4 DACs), plus a comprehensive analog
mixer with four sets of stereo inputs, plus one phone input, two microphone inputs, and one PC-beep input.
Additionally , on-chip reference circuits generate the necessary bias voltages for the device, and a bidirectional
serial interface allows transfer of control data, DAC, and ADC words to and from the AC’97 controller. The
TLV320AIC27 is fully compliant with Revision 2.1 of the AC’97 specification.
The TLV320AIC27 has the ADC and DAC functions implemented using oversampled, or sigma-delta,
converters and uses on-chip digital filters to convert these one-bit signals to and from the 48 ksps, 16/18-bit PCM
words that the AC’97 controller requires. The digital and analog sections of the device are powered separately
to optimize performance, and 3.3-V digital and 5-V analog supplies may be used on the same device to further
optimize performance. Digital IOs are 5-V tolerant when the analog supplies are 5 V. Therefore, the
TLV320AIC27 may be connected to a controller running on 5-V supplies, but use 3.3 V for the digital section
of the TLV320AIC27. The TLV320AIC27 is also capable of operating with a 3.3-V supply only (digital and
analog).
D
Four DAC Channels, Stereo ADC
D
Balanced Mixer Architecture
D
Variable Rate Audio and Modem Support
D
Analog 3D Stereo Enhancement
D
Line Level Outputs
D
Master/Slave ID Selection
D
AC97 Rev. 2.1 Compliant
D
Complete TI-DSP-CODEC Solution
When using the TL V320AIC27 codec, the AC’97 controller may be selected from Texas Instruments family of
DSPs. The combination of the computing power of the TI DSP and the high audio performance of the
TLV320AIC27 constitutes a complete solution for various applications. The ability to power down sections of
the device selectively, and the option to alternate the master clock, and hence sample rates, makes such
applications as telecommunications, audio, teleconferencing, and USB, possible.
Additional features added to the Intel AC’97 specification, such as the EAPD (external amplifier power down)
bit and internal connection of PC beep to the outputs when the device is reset are supported, as well as optional
features such as variable sample rate support.
There are four modes of operation.
D
Basic (2-channel)
D
6-channel I2S
D
Quad
D
Modem
ESD Sensitive Device. This device is manufactured on a CMOS process. It it therefore generically susceptible to damage from
excessive static voltages. Proper ESD precautions must be taken during handling and storage of this device. As per JEDEC
specifications A112-A and A113-B, this product requires specific storage conditions prior to surface mount assembly. It has been
classified as having a Moisture Sensitivity Level of 2 and as such will be supplied in vacuum-sealed moisture barrier bags.
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.
Intel is a trademark of Intel Corporation.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
Copyright 2000, Texas Instruments Incorporated
1
TLV320AIC27
T
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
terminal assignments
LINEOUTR
LINEOUTL
CX3D2
CX3D1
PFB PACKAGE
(TOP VIEW)
CAP1
MODE0
AFILT1
CAP2
SS1
VREFOUT
VREF
AV
DD1
AV
MONOOUT
AV
DD2
LNLVLOUTL
MODE1
LNLVLOUTR
AV
SS2
GPIO
GPIO
CID0
CID1
EAPD
GPIO
35 34 33 32 313630
37
38
39
40
41
42
43
44
45
46
47
48
23
1
DD1
XTLIN
DV
5678
4
SS1
DV
XTLOUT
SS2
DV
BITCLK
28 27 2629
9
SDATAIN
10 11 12
DD2
SYNC
DV
25
RESETB
SDATAOUT
ORDERING INFORMATION
A
0°C to 70°CTLV320AIC27CPFB
–40°C to 85°CTLV320AIC27IPFB
PACKAGE
48-TQFP PFB
LINEINR
24
LINEINL
23
MIC2
22
21
MIC1
20
CDR
CDGND
19
CDL
18
VIDEOR
17
VIDEOL
16
AUXR
15
AUXL
14
PHONE
13
PCBEEP
2
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
functional block diagram—two-channel mode
TLV320AIC27
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
CD (18,20)
LINEIN (23,24)
VIDEO (16,17)
AUX (14,15)
PHONE (13)
PCBEEP (12)
MIC[1] (21)
MIC[2] (22)
MUX
KEY:
0dB/
20dB
VOL/
MUTE
VOL/
MUTE
MONO
STEREO
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
∑
3D
∑
RECORD
MUX
AND
MUTE
VOL/
MUTE
VOL/
MUTE
∑
MUX
VOL
∑
VOL
STEREO
DAC
STEREO
DAC
VOL/
MUTE
SRC
SERIAL
I/F
SRC
MASTER/
SLAVE
SELECT
OSC
(35,36)
LINEOUT
(39,41)
LNLVLOUT
(37)
MONOOUT
(47) EAPD
(6) BITCLK
(10) SYNC
(8)
SDATAIN
(5)
SDATAOUT
(11)
RESETB
(45)CID[0]
(46)CID[1]
(2) XTLIN
(3) XTLOUT
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
3
TLV320AIC27
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
functional block diagram—6-channel I2S, quad, and modem modes
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
∑
∑
REV . 2.1
SWITCH
VOL/
MUTE
(35,36)
LINEOUT
(FRONT)
CD (18,20)
LINEIN (23,24)
VIDEO (16,17)
AUX (14,15)
PHONE (13)
PCBEEP (12)
MIC[1] (21)
MIC[2] (22)
MUX
KEY:
0dB/
20dB
MONO
STEREO
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
VOL/
MUTE
3D
∑
VOL/
MUTE
RECORD
MUX
AND
MUTE
∑
MUX
VOL/
MUTE
VOL/
MUTE
∑
VOL
REAR
STEREO
DAC
FRONT
STEREO
DAC
STEREO
ADC
VOL/
MUTE
VOL/
MUTE
SRC
SRC
SRC
SERIAL
I/F
MASTER/
SLAVE
SELECT
General
SupprtGPIO[1:3]
(39,41)
LINEOUT
(REAR)
(37)
MONOOUT
(40) MODE1
(30) MODE0
(47) EAPD
(6) BITCLK
(10) SYNC
(8)
SDATAIN
(5)
SDATAOUT
(11)
RESETB
(45)CID[0]
(46)CID[1]
(43,44,48)IO
OSC
4
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
(2) XTLIN
(3) XTLOUT
TYPE
DESCRIPTION
STEREO AUDIO CODEC
Terminal Functions
TERMINAL
NAMENO.
AFILT129Analog outputBuffered CAP2. This terminal has an internal connection.
VIDEOL16Analog inputMixer input, typically for VIDEO signal
VIDEOR17Analog inputMixer input, typically for VIDEO signal
AUXL14Analog inputMixer input, typically for AUX signal
AUXR15Analog inputMixer input, typically for AUX signal
AV
DD1
AV
DD2
AV
SS1
AV
SS2
BITCLK6Digital outputSerial interface clock output to AC’97 controller
CAP131Analog outputBuffered CAP2. This terminal has an internal connection.
CAP232Analog inputReference input/output; pulls to midrail if not driven
CDGND19Analog inputCD input common-mode reference (ground)
CDL18Analog inputMixer input, typically for CD signal
CDR20Analog inputMixer input, typically for CD signal
CID045Digital inputMaster/slave ID select (internal pullup)
CID146Digital inputMaster/slave ID select (internal pullup)
CX3D133Analog outputOutput pin for 3D difference signal
CX3D234Analog inputInput pin for 3D difference signal
DV
DD1
DV
DD2
DV
SS1
DV
SS2
EAPD47Digital outputExternal amplifier power down/GPO
GPIO43, 44, 48General-purpose I/O
LINEINL23Analog inputMixer input, typically for LINE signal
LINEINR24Analog inputMixer input, typically for LINE signal
LINEOUTL35Analog outputMain analog output for left channel
LINEOUTR36Analog outputMain analog output for right channel
LNLVLOUTL39Analog outputLeft channel line-level output
LNLVLOUTR41Analog outputRight channel line-level output
MIC121Analog inputMixer input with extra gain, if required
MIC222Analog inputMixer input with extra gain, if required
MONOOUT37Analog outputMain mono output
MODE030Digital inputMode select pin, internal pulldown
MODE140Digital inputMode select pin, internal pulldown
PCBEEP12Analog inputMixer input, typically for PCBEEP signal
PHONE13Analog inputMixer input, typically for PHONE signal
RESETB11Digital inputNOT reset input (active low, resets registers)
SDATAIN8Digital outputSerial-data output to AC’97 controller
SDATAOUT5Digital inputSerial-data input
SYNC10Digital inputSerial-interface sync pulse from AC’97 controller
VREF27Analog outputBuffered CAP2. This terminal has an internal connection.
VREFOUT28Analog outputReference for microphones; buffered CAP2
XTLIN2Digital inputClock-crystal connection or clock input (XTAL not used)
XTLOUT3Digital outputClock-crystal connection
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.
recommended operating conditions
MINTYPMAXUNIT
Digital supply range, DV
Analog supply range, AV
Digital ground, DV
Analog ground, AV
Analog supply currentDVDD, AVDD = 5 V3550mA
Digital supply currentDVDD, AVDD = 5 V3050mA
Standby supply current (all PRs set)DVDD, AVDD = 5 V150600µA
Analog supply currentDVDD, AVDD = 3.3 V2233mA
Digital supply currentDVDD, AVDD = 3.3 V2022mA
Standby supply current (all PRs set)DVDD, AVDD = 3.3 V100150µA
DD
DD
SS
SS
3.3 to 5V
3.3 to 5V
0V
0V
6
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
TLV320AIC27
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
electrical characteristics, A VDD = 5 V , DVDD = 3.3 V , GND = 0 V, TA = 0°C to 70°C (unless otherwise
noted)
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
Digital Logic Levels (DVDD = 3.3 V or 5 V)
V
IL
V
IH
V
OL
V
OH
Analog I/O Levels (input signals on any inputs, outputs on LINEOUT L, R, and MONOOUT)
NOTE 1: SNR is the ratio of 0-dB signal output level to the output level with no signal, measured A-weighted over a 20 Hz to 20 kHz bandwidth.
Input low levelAVSS – 0.30.8V
Input high level2.2AVDD + 0.3V
Output low0.1 × DV
Output high0.9 × DV
Input level
Output levelInto 10 kΩ loadAVSS +100 mV
CAP2 impedance75kΩ
VREF current source (pins CAP1, AFILT2,
VREF and VREFOUT)
VREF current source (pins CAP1, AFILT1,
VREF and VREFOUT)
SNR A-weighted (see Note 1)8595dB
Full-scale output voltageVREF= 2.5 V1Vrms
THD–3-dB full-scale input7496dB
Frequency response2019200Hz
Transition band1920028800Hz
Stop band28800Hz
Out of band rejection–40dB
Spurious-tone reduction–100dB
PSRR20 Hz to 20 kHz40dB
SNR A-weighted (see Note 1)7590dB
ADC input for full-scale outputVREF = 2.5 V1Vrms
THD–6-dB voltage input8095dB
Frequency response2019200Hz
Transition band1920028800Hz
Stop band28800Hz
Stop-band rejection–74dB
PSRR20 Hz to 20 kHz40dB
Minimum input
impedance = 10 kΩ
AVDD = 3 V515mA
AVDD = 5 V35mA
AVSS –100 mVAVDD +100 mVV
DD
Near rail
to rail
AVDD/23/5 AV
DD
Buffered
CAP2
Buffered
CAP2
Buffered
CAP2
Buffered
CAP2
AVDD –100 mVV
DD
DD
V
V
V
V
V
V
V
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
7
TLV320AIC27
Input impedance (other mixer inputs)
kΩ
Input impedance mic inputs
kΩ
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
electrical characteristics, A VDD = 5 V , DVDD = 3.3 V , GND = 0 V, TA = 0°C to 70°C (unless otherwise
noted) (continued)
SNR CD path A-weighted (see Note 1)9095dB
SNR other paths A-weighted (see Note 1)8595dB
Maximum input voltageAV
Maximum output voltage on LINEOUT1.01.8Vrms
THD0-dB voltage input7490dB
Frequency response (±1 dB)2020000Hz
Input impedance (CD inputs)At any gain15kΩ
SNR CD path A-weighted (see Note 1)92dB
SNR other paths A-weighted (see Note 1)92dB
Maximum input voltage0.66Vrms
Maximum output voltage on LINEOUT0.66Vrms
THD0-dB voltage input7490dB
Frequency response (±1 dB)2020000Hz
Input impedance (CD inputs)At any gain15kΩ
p
p
Input impedance mic inputsAt any gain30kΩ
PSRR20 Hz to 20 kHz40dB
NOTE 1: SNR is the ratio of 0-dB signal output level to the output level with no signal, measured A-weighted over a 20 Hz to 20 kHz bandwidth.
p
At maximum gain20
At 0-dB gain100
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
9
TLV320AIC27
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
detailed description
3D stereo enhancement
This device contains a stereo-enhancement circuit, designed to optimize the listening experience when the
device is used in a typical PC-operating environment (that is, with a pair of speakers placed either side of the
monitor with little spatial separation). This circuit creates a differential signal by subtracting left and right channel
playback data, then filters this difference signal using low-pass and high-pass filters whose time constants are
set using external capacitors connected to the CX3D pins 33 and 34. Typical values of 100 nF and 47 nF set
high-pass and low-pass poles at about 100 Hz and 1 kHz respectively . This frequency band corresponds to the
range over which the ear is most sensitive to directional effects.
The filtered difference signal is gain-adjusted by an amount set using the four-bit value written to register 22h
bits 3 to 0. Value 0h is disabled, and value Fh is maximum effect. A typical value of 8h is optimum. The user
interface most typically uses a slider type of control to allow the user to adjust the level of enhancement to suit
the program material. Bit D13 3D in register 20h is the overall 3D-enable bit. The capability register 00h reads
back the value 1 1000 in bits D14 to D10. This corresponds to decimal 24, which is registered with Intel as T exas
Instruments Stereo Enhancement.
Note that the external capacitors setting the filtering poles applied to the difference signal can be adjusted in
value, or even replaced with a direct connection between the pins. When such adjustments are made, the
amount of difference signal fed back into the main signal paths can be significant. This can cause large signals
which may limit, distort, or overdrive signal paths or speakers. Adjust these values carefully to select the desired
acoustic effect.
There is no provision for pseudo-stereo effects. Mono signals have no enhancement applied if they are in phase
and have the same amplitude.
Signals from the PCM DAC channels do not have stereo enhancement applied. It is assumed that these signals
have already been processed digitally with any required 3D-enhancement effect. Applying the analog
3D-enhancement will corrupt the digital effect. This is equivalent to setting the POP bit in register 20h. As a
result, the readback value of this bit is fixed as 1, and attempts to change it will be ignored. The POP bit is set
to one and cannot be reset.
variable sample rate support
The DACs and ADCs on this device support all the recommended sample rates specified in the Intel Revision
2.1 specification for both audio and modem rates. Default rates are 48 ksps. If alternative rates are selected,
the AC’97 interface continues to run at 48 kw/s (kilowords per second), but data is transferred across the link
in bursts such that the net sample rate selected is achieved. It is up to the AC’97 Revision 2.1-compliant
controller to ensure that data is supplied to the ac link, and received from the ac link at the appropriate rate.
The device supports on-demand sampling. That is, when the DAC signal-processing circuits need another
sample a request is sent to the controller, which must respond with a data sample in the next frame it sends.
For example, if a rate of 24 ksps is selected, on average the device requests a sample from the controller every
other frame, for each of the stereo DACs. Note that if an unsupported rate is written to one of the rate registers,
the rate defaults to the nearest rate supported. The register then responds when interrogated with the supported
rate the device has defaulted to.
10
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
TLV320AIC27
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
variable sample rate support (continued)
ADCs are controlled similarly but with one difference: normally the left and right-channel ADCs sample at the
same rate.
Table 2 shows which registers control which DAC rates, versus mode and ID selected.
Table 2. Variable Rate Register Location Versus Mode and ID
MODEID
Rev 2.1 mode (00)
Rev 2.1 6-channel mode (01)
Quad mode (10)
FRONT DAC RATE
REGISTER
00 and 012Ch
102Eh
112Ch (center) and 30h (LFE)
00 and 012Ch
102Eh
112Ch (center) and 30h (LFE)
00 and 012Ch2Eh
102Eh2Ch
112Ch (center) and 30h (LFE)2Eh
REAR DAC RATE
REGISTER
ADC RATE
REG
32h
32h
32h
gain control register location versus mode and ID
Depending on the operational mode and ID of the device, the various gain control registers have locations in
the register map that may change. For example, if the codec is configured as ID 10, it means that the device
will be converting the rear surround DAC data. In this case, the surround DAC volume word written to register
38h is now used to control the master volume control, rather than the normal master volume 02h. In addition,
when the surround volume mute control is written as demute, mute in the DAC PGA register 18h is automatically
overridden. Then the user does not have to make an unexpected additional write to register 18h to demute the
DAC PGA.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
11
TLV320AIC27
STEREO AUDIO CODEC
SLAS253 – MARCH 2000
gain control register location versus mode and ID (continued)
Table 3. Gain Control Register Location Versus Mode and ID
Muted (bit 15)
AND with 38h, 7, 15
AND with 36h, 7, 15
Muted (bit 15) and
powered off
Muted (bit 15)
Muted (7 and 15)
Muted (7 and 15)
Muted (bit 15) Rev 2.1
switch enabled
QUAD MODE (10)
MUTE DEFAULT
Muted (bit 15)
AND with 38h, 7, 15
AND with 36h, 7, 15
Not muted (bit 15)
AND with 02h, 15
AND with 38h, 7, 15
Muted (bit 15)
Muted (7 and 15)
Muted (7 and 15)
Muted (7 and 15)
Muted (bit 15)
Muted (7 and 15)
MODEM MODE (11)
Muted (bit 15)
AND with 38h, 7, 15
AND with 36h, 7, 15
AND with 04h, 15
Muted (bit 15)
Muted (7 and 15)
Muted (7 and 15)
Muted (bit 15)
master/slave ID0/1 support
TL V320AIC27 supports operation as either a master or a slave codec. Configuring the device as master or slave
is accomplished by tying together the CID pins CID0 and CID1 (pins 45 and 46 ).
Fundamentally , a device identified as a master (ID = 00) produces BITCLK as an output, whereas a slave (any
ID but 00) must be provided with BITCLK as an input. The obvious implication is that if the master device on
an ac link is disabled, the slave devices cannot function.
The AC’97 Revision 2.1 specification defines the CID pins as having inverting sense and being provided with
internal weak pull ups. Therefore, if no connections are made to the CID0/1 pins, then these pins pull hi and
an ID = 00 (or master) is selected. External connections to ground select other IDs.
The codec ID is available to the controller via register 28h and C3, bits D15 and D14
PCM LEFT DAC
USES DATA FROM
SLOT NUMBER
PCM RIGHT DAC
USES DATA FROM
SLOT NUMBER
The previous automatic mapping of data to slots is extended when the device is operated in the alternative
modes selectable via the mode pins. In these cases the selection of which data slots are mapped onto internal
DACs or I2S outputs is accomplished as shown in Table 6. Note that I2S enable bit must be set.
COMMENTS
Table 6. Slot to DAC and Mapping Based on Mode and Codec ID
MODE
Rev 2.1 (00)
Rev 2.1
-
Quad (10)
Modem (11)
CODECIDSLOTS MAPPED
TO FRONT DACs
00 or 013 and 4
107 and 8
116 and 9
00 or 013 and 47 and 86 and 9
107 and 8
116 and 97 and 83 and 4
00 or 013 and 47 and 87 and 86 and 9
107 and 83 and 43 and 46 and 9
116 and 97 and 87 and 83 and 4
00 or 013 and 4
107 and 8
116 and 9
SLOTS MAPPED TO
REAR DACs
Not supported in this modeNot supported in this modeNot supported in this mode
Not supported in this mode
5 (or 5 and 10 if DLM set)Not supported in this modeNot supported in this mode
DATA TO I2S D0
PIN 44
3 and 46 and 9
DATA TO I2S D1
PIN 43
slave codec register access definitions
Master codec access is exactly as defined for AC’97. For slave codec access, the AC’97 digital controller must
invalidate the tag bits for slots 1 and 2 command address and data (slot 0, bits 14 and 13) and place a nonzero
value (01, 10, or 11) into the codec ID field (slot 0, bits 1 and 0).
Slave codecs disregard the command address and command data (slot 0, bits 14 and 13) tag bits when they
see a two-bit codec ID value (slot 0, bits 1 and 0) that matches their configuration. In a sense, the slave codec
ID field functions as an alternative valid command address (for slave reads and writes) and command data (for
slave writes) tag indicator.
Slave codecs must monitor the frame valid bit and ignore the frame (regardless of the state of the slave codec
ID bits) when it is not valid. AC’97 digital controllers should set the frame valid bit for a frame with a slave register
access, even if no other bits in the output tag slot, except the slave codec ID bits, are set.
15Frame valid
14Slot 1 valid command address bit (master codec only)
13Slot 2 valid command data bit (master codec only)
12–3Slot 3–12 valid bits as defined by AC’97
2Reserved (set to 0)
1–0Two-bit codec ID field (00 reserved for master; 01, 10, 11 indicate slave)
New definitions for slave codec register access
control interface
A digital interface is provided to control the TL V320AIC27 and transfer data to and from it. This serial interface
is compatible with the Intel AC’97, as illustrated in Figure 1.