DLow Power High Quality Audio Codec
DStereo Audio DAC and Mono Audio ADC
Support Rates up to 48 ksps
DHigh Quality 97-dBA Stereo Audio Playback
Performance
DLow Power: 11-mW Stereo Audio Playback at
48 ksps
DOn-Chip 325-mW, 8- Speaker Driver
DStereo Headphone Amplifier With Capless
Output Option
DMicrophone Preamp and Hardware Automatic
Gain Control
DIntegrated PLL for Flexible Audio Clock
Generation
DProgrammable Digital Audio
Bass/Treble/EQ/De-Emphasis
DDirect Battery Measurement Accepts up to
6-V Input
DOn-Chip Temperature Measurement
DSPI and I
2
S Serial Interface
DFull Power-Down Control
D32-Pin 5y5 mm QFN Package
DESCRIPTION
The TLV320AIC26 is a high-performance audio codec with
16/20/24/32-bit 97-dBA stereo playback, mono record
functionality at up to 4 8 k s p s . A microphone input includes
built-in preamp and hardware automatic gain control, with
single-ended or fully-differential input capability.
The audio output drivers on the ’AIC26 are highly flexible,
having software-programmable low or high-power drive
modes to optimize system power dissipation. The outputs
can be configured to supply up to 325 mW into a bridge
terminated 8-Ω load, can support stereo 16-Ω headphone
amplifiers in ac-coupled or capless output configurations,
and can supply a stereo line-level output
A programmable digital audio effects processor enables
bass, treble, midrange, or equalization playback
processing. The digital audio data format is programmable
to work with popular audio standard protocols (I
Left/Right Justified) in master or slave mode, and also
includes an on-chip programmable PLL for flexible clock
generation capability. Highly configurable software power
control is provided, enabling stereo audio playback at 48
ksps at 11 mW with a 3.3-V analog supply level.
2
S, DSP,
APPLICATIONS
DCellular and Smart Phones
DMP3 Players
DDigital Still Cameras
DDigital Video Camcorders
semiconductor products and disclaimers thereto appears at the end of this data sheet.
SPI is a trademark of Motorola.
I2S is a trademark of Phillips Electronics.
The ’AIC26 offers a 12-bit measurement ADC and internal
reference voltage, as well as two battery measurement
inputs capable of reading battery voltages up to 6 V, while
operating at an analog supply as low as 2.7 V. It includes
an on-chip temperature sensor capable of reading 0.3°C
resolution. The ’AIC26 is available in a 32 lead QFN.
Copyright 2003, Texas Instruments Incorporated
TLV320AIC26
QFN-32
RHB
−40°C to 85°C
www.ti.com
SLAS412− DECEMBER 2003
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate
precautions. Failure to observe proper handling and installation procedures can cause damage.
ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to
damage because very small parametric changes could cause the device not to meet its published specifications.
PACKAGE/ORDERING INFORMATION
PRODUCTPACKAGE
PIN ASSIGNMENTS
PACKAGE
DESIGNATOR
DVSS
IOVDD
MCLK
SCLK
MISO
MOSI
SS
DAV
DVDD
3226
1
2
3
4
5
6
7
8
910
OPERATING
TEMPERATURE RANGE
BCLK
DOUT
DIN
PWD/ADWS
LRCK
RESET16HPR
31 30 29 28 27
AIC26
11 12 13 14 15
25
ORDERING NUMBER
TLV320AIC26IRHBTubes, 74
TLV320AIC26IRHBRTape and Reel, 3000
QFN(TOP VIEW)
24
DRVDD
23
VGND
22
DRVSS
21
HPL
20
AVDD
19
NC
18
NC
17
NC
TRANSPORT MEDIA,
QUANTITY
AUX
MICIN
VBAT2
VBAT1
AVSS
VREF
NC
MICBIAS
Terminal Functions
QFN
PIN
NAMEDESCRIPTION
29DINAudio data input13VBAT1Battery monitor input
30DOUTAudio data output14VREFReference voltage I/O
31BCLKAudio bit−clock15AVSSAnalog ground
32DVDDDigital core supply16NCNo connect
1DVSSDigital core and IO ground17NCNo connect
2IOVDDIO supply18NCNo connect
3MCLKMaster clock19NCNo connect
4SCLKSPI serial clock input20AVDDAnalog power supply
5MISOSPI serial data output21HPLLeft channel audio output
6MOSISPI serial data input22DRVSSSpeaker ground
7SSSPI slave select input23VGNDV irtual ground for audio output
8DAVAuxiliary data available output24DRVDDSpeaker /PLL supply
over operating free-air temperature range unless otherwise noted
AVDD to AVSS−0.3 V to 3.9 V
DRVDD to DRVSS−0.3 V to 3.9 V
IOVDD to DVSS−0.3 V to 3.9 V
DVDD to DVSS−0.3 V to 2.5 V
AVDD to DRVDD−0.1 V to 0.1 V
AVSS to DR VSS to DVSS−0.1 V to 0.1 V
Analog inputs (except VBAT1 and VBAT2) to AVSS−0.3 V to AVDD + 0.3 V
VBAT1 / VBAT2 to AVSS−0.3 V to 6 V
Digital input voltage to DVSS−0.3 V to IOVDD + 0.3 V
Operating temperature range−40°C to 85°C
Storage temperature range−65°C to 105°C
Junction temperature (TJ Max)105°C
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only , a nd
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)
If the ’AIC26 is used to drive high power levels to an 8-Ω load for extended intervals at ambient temperatures above 70°C, multiple vias should be
used to electrically and thermally connect the thermal pad on the QFN package to an internal heat-dissipating ground plane on the user’s PCB.
(1)(2)
UNITS
JA
3
Voltage
www.ti.com
SLAS412− DECEMBER 2003
ELECTRICAL CHARACTERISTICS
At +25°C, AVDD,DRVDD,IOVDD = 3.3 V, DVDD = 1.8 V, Int. V
PARAMETERTEST CONDITIONSMINTYPMAXUNITS
BATTERY MONITOR INPUTS
Input voltage range0.56.0V
Input leakage currentBattery conversion not selected±1µA
AUXILIARY A/D CONVERTER
ResolutionProgrammable: 8-, 10-,12-bits12Bits
No missing codes12-bit resolution11Bits
Integral nonlinearity−55LSB
Offset error−66LSB
Gain error
Noise53µVrms
AUDIO CODEC
ADC DECIMATION FILTERSample rate of 48 ksps
Filter gain from 0 to 0.39Fs±0.1dB
Filter gain at 0.4125Fs−0.25dB
Filter gain at 0.45Fs−3dB
Filter gain at 0.5Fs−17.5dB
Filter gain from 0.55Fs to 64Fs−75dB
Filter group delay17/Fssec
MICROPHONE INPUT TO ADC1 kHz sine wave input, Fs = 48 ksps
Full scale input voltage (0 dB)By design, not tested in production0.707Vrms
Input common modeBy design, not tested in production1.35V
SNR
THD0.63-Vrms input, 0-dB gain−89−72dB
PSRR1 kHz, 100 mVpp on AVDD.
Mute attenuationOutput code with 0.63-Vrms sine wave input at
Input resistance20kΩ
Input capacitance10pF
MICROPHONE BIAS
VoltageD4 = 0 control register 05H/Page22.5V
Sourcing current4.7mA
(1)
ADC PSRR measurement is calculated as:
VSIG
PSRR + 20 log
10
ǒ
V
ADCOUT
sup
Ǔ
Calculated with effect of internal reference
variation removed.
Measured as idle channel noise, 0-dB gain,
A-weighted
At +25°C, AVDD,DRVDD,IOVDD = 3.3 V, DVDD = 1.8 V, Int. V
PARAMETERTEST CONDITIONSMINTYPMAXUNITS
DAC INTERPOLATION FILTER
Pass band200.45 FsHz
Pass band ripple±0.06dB
Transition band0.45 Fs0.5501 FsHz
Stop band0.5501 Fs7.455 FsHz
Stop band attenuation65dB
Filter group delay21/Fssec
De−emphasis error±0.1dB
DAC LINE OUTPUT
Full scale output voltage (0 dB)By design, D10−D9 = 00 in control register
Output common modeBy design, D10−D9 = 00 in control register
SNRMeasured as idle channel noise, A-weighted8597dBA
THD0-dB FS input, 0-dB gain−95dB
PSRR1 kHz, 100 mVpp on AVDD
Interchannel isolationCoupling from ADC to DAC84dB
DAC HEADPHONE OUTPUT1-kHz sine wave input, 48 ksps, output drivers
Full scale output voltage (0 dB)By design, D10−D9 = 00 in control register
SNRMeasured as idle channel noise, A-weighted8597dBA
THD−1 dB FS input, 0-dB gain−91−55dB
PSRR1 kHz, 100 mVpp on AVDD
Interchannel isolationCoupling from ADC to DAC85dB
Mute attenuation121dB
Maximum output powerD10−D9 = 00 in control register 06H/Page230mW
Digital volume control gain−63.50dB
Digital volume control step size0.5dB
Channel separationBetween HPL and HPR80dB
DAC SPEAKER OUTPUTOutput driver in high power mode,
Output power0 dB input to DAC325mW
SNRMeasured as idle channel noise, A-weighted102dBA
THD−1 dB FS input, 0-dB gain−86dB
(1)
DAC PSRR measurement is calculated as:
1-kHz sine wave input, 48 ksps, output drivers
in low power mode, load = 10 kΩ, 10 pF
06H/Page2 corresponding to 2-VPP output
swing
06H/Page2 corresponding to 2-VPP output
swing
down
in high power mode, load = 16 Ω, 10 pF
06H/Page2 corresponding to 2-VPP output
swing
down
load = 8 Ω,, connected between HPR and HPL
pins. D10−D9 = 10 in control register
06H/Page2 corresponding to 2.402-VPP output
swing
These parameters are based on characterization and are not tested in production.
SCLK pulse width2718ns
Enable lead time1815ns
Enable lag time1815ns
Sequential transfer delay1815ns
Slave MISO access time1815ns
Slave MISO disable time1815ns
MOSI data setup time66ns
MOSI data hold time66ns
MISO data hold time44ns
MISO data valid time2213ns
Rise time64ns
Fall time64ns
(1)
t
t
Lag
t
r
td
t
dis
IOVDD = 1.1 V IOVDD = 3.3 V
MINMAXMINMAX
8
www.ti.com
PARAMETER
UNITS
PARAMETER
UNITS
AUDIO INTERFACE TIMING DIAGRAMS
LRCK/ADWS
td (WS)
BCLK
SLAS412− DECEMBER 2003
td (DO−WS)
DOUT
DIN
td (DO−BCLK)
ts (DI)th (DI)
Figure 1. I2S/LJF/RJF Timing in Master Mode
TYPICAL TIMING REQUIREMENTS (FIGURE 1)
All specifications at 25°C, DVDD = 1.8 V
td (WS)ADWS/LRCK delay2515ns
td (DO−WS)ADWS to DOUT delay (for LJF mode)2515ns
td (DO−BCLK)BCLK to DOUT delay2515ns
ts(DI)DIN setup66ns
th(DI)DIN hold66ns
t
r
t
f
(1)
These parameters are based on characterization and are not tested in production.
LRCK/ADWS
BCLK
Rise time106ns
Fall time106ns
(1)
td (WS)
IOVDD = 1.1 V IOVDD = 3.3 V
MINMAXMINMAX
td (WS)
td (DO−BCLK)
DOUT
ts (DI)
DIN
th (DI)
Figure 2. DSP Timing in Master Mode
TYPICAL TIMING REQUIREMENTS (FIGURE 2)
All specifications at 25°C, DVDD = 1.8 V
td (WS)ADWS/LRCK delay2515ns
td (DO−BCLK)BCLK to DOUT delay2515ns
ts(DI)DIN setup66ns
th(DI)DIN hold66ns
t
r
t
f
(1)
These parameters are based on characterization and are not tested in production.
Rise time106ns
Fall time106ns
(1)
IOVDD = 1.1 V IOVDD = 3.3 V
MINMAXMINMAX
9
PARAMETER
UNITS
SLAS412− DECEMBER 2003
LRCK/ADWS
www.ti.com
BCLK
DOUT
DIN
tL(BCLK)
th (WS)
tH(BCLK)
td(DO−WS)
tP(BCLK)
tS (WS)
td(DO−BCLK)
ts (DI)
th (DI)
Figure 3. I2S/LJF/RJF Timing in Slave Mode
TYPICAL TIMING REQUIREMENTS (FIGURE 3)
All specifications at 25°C, DVDD = 1.8 V
tH (BCLK)BCLK high period3535ns
tL (BCLK)BCLK low period3535ns
ts(WS)ADWS/LRCK setup66ns
th(WS)ADWS/LRCK hold66ns
td (DO−WS)ADWS to DOUT delay (for LJF mode)2518ns
td (DO−BCLK)BCLK to DOUT delay2515ns
ts(DI)DIN setup66ns
th(DI)DIN hold66ns
t
r
t
f
(1)
These parameters are based on characterization and are not tested in production.
Rise time54ns
Fall time54ns
(1)
IOVDD = 1.1 V IOVDD = 3.3 V
MINMAXMINMAX
10
www.ti.com
PARAMETER
UNITS
SLAS412− DECEMBER 2003
LRCK/ADWS
BCLK
DOUT
DIN
tH(BCLK)
th(WS)
tL(BCLK)
tP(BCLK)
tS (WS)
th(WS)
td(DO−BCLK)
ts (DI)
tS (WS)
th (DI)
Figure 4. DSP Timing in Slave Mode
TYPICAL TIMING REQUIREMENTS (FIGURE 4)
All specifications at 25°C, DVDD = 1.8 V
tH (BCLK)BCLK high period3535ns
tL (BCLK)BCLK low period3535ns
ts(WS)ADWS/LRCK setup66ns
th(WS)ADWS/LRCK hold66ns
td (DO−BCLK)BCLK to DOUT delay2515ns
ts(DI)DIN setup66ns
th(DI)DIN hold66ns
t
r
t
f
(1)
These parameters are based on characterization and are not tested in production.
Figure 12. High Power Output Driver THD vs Output Power
(T
=25°C, AVDD, DRVDD = 3.3 V, RL = 16 )
A
14
www.ti.com
SLAS412− DECEMBER 2003
OVERVIEW
The ’AIC26 is a highly integrated stereo audio codec for portable computing, communication, and entertainment
applications. The ’AIC26 has a register-based architecture where all functions are controlled through the registers and
onboard state machines.
The ’AIC26 consists of the following blocks (refer to the block diagram):
Audio data is transferred between the host DSP/µP via a standard 4-wire interface and supports a variety of modes (i.e.,
2
I
S, DSP, etc).
Control of the ’AIC26 and its functions is accomplished by writing to different registers in the ’AIC26. A simple command
protocol is used to address the 16-bit registers. Registers control the operation of the A/D converter and audio codec. The
control and auxiliary functions are accessed via a SPI bus.
A typical application of the ’AIC26 is shown in Figure 13.
Master Clock Input
ADC Word Select
Serial Output to CPU/DSP
DAC Word Select
Serial Input From CPU/DSP
Serial Clock Input
SPI Interface
Auxiliary Data Interrupt Request to CPU
Serial Output to SPI Master
Serial Input From SPI Master
SPI Slave Select Input
SPI Serial Clock Input
15
www.ti.com
SLAS412− DECEMBER 2003
OPERATION−AUDIO CODEC
Audio Analog I/O
The ’AIC26 has one mono audio input (MICIN) typically used for microphone recording, and an auxiliary input (AUX) that
can be used as a second microphone or line input. The dual audio output drivers have programmable power level and can
be configured to drive up to 325 mW into an 8-Ω speaker, or to drive 16-Ω stereo headphones at over 30-mW per channel,
or to provide a stereo line-level output. The power level of the output drivers is controlled using bit D12 in control register
REG−05H/Page2. The ’AIC26 also has a virtual ground (VGND) output driver, which can optionally be used to connect
the return terminal of headphones, to eliminate the ac-coupling capacitors needed at the headphone output. The VGND
amplifier is controlled by bit D8 of REG−05H/Page2. A special circuit has also been included in the ’AIC26 to insert a short
keyclick sound into the stereo audio output, even when the audio DAC is powered down. The keyclick sound is used to
provide feedback to the user when a particular button is pressed or item is selected. The specific sound of the keyclick can
be adjusted by varying several register bits that control its frequency, duration, and amplitude.
Audio Digital Interface
Digital audio data samples are transmitted between the ’AIC26 and the audio processor via the serial bus (BCLK, ADWS,
DOUT, LRCK, DIN) that can be configured to transfer digital data in four different formats: right justified, left justified, I
and DSP. The four modes are MSB-first and operate with variable word length of 16, 20, 24, or 32 bits. The digital audio
serial bus of the ’AIC26 can operate in master or slave mode, depending on its register settings. The word-select signals
(ADWS, LRCK) and bit clock signal (BCLK) are configured as outputs when the bus is in master mode. They are configured
as inputs when the bus is in slave mode. The ADWS is representative of the sampling rate of the audio ADC and is
synchronized with DOUT. The LRCK is representative of the audio DAC sampling rate and is synchronized with DIN.
Although the DOUT signal can contain two channels of information (a left and right channel), the ’AIC26 sends the same
ADC data in both channels.
2
S,
DADC/DAC SAMPLING RATE
The Audio Control 1 register (Register 00H, Page2) determines the sampling rates of the audio DAC and ADC, which
are scaled down from a reference rate (Fsref). The ADC and DAC can operate with either a common LRCK (equal
sampling rates) or separate ADWS and LRCK (unequal sampling rates). When the audio codec is powered up, it is
configured by default as an I
2
S slave with both the DAC and ADC operating at Fsref.
DWORD SELECT SIGNALS
The word select signal (LRCK, ADWS) indicates the channel being transmitted:
−LRCK/ADWS = 0: left channel for I
−LRCK/ADWS = 1: right channel for I
For other modes see the timing diagrams below.
Bitclock (BCLK) Signal
In addition to flexibility as master or slave mode, the BCLK can also be configured in two transfer modes—256−S and
Continuous Transfer Modes. These modes are set using bit D12/REG−06h/Page2.
2
S mode
2
S mode
D256−S TRANSFER MODE
In the 256−S mode, the BCLK rate always equals 256 times the maximum of the LRCK and ADWS frequencies. In
the 256−S mode, the combination of ADC/DAC sampling rate equal to Fsref (as selected by bit
D5−D0/REG−00h/Page2) and left−justified mode is not supported.
DCONTINUOUS TRANSFER MODE
In the continuous transfer mode, the BCLK rate always equals two times the word length of the maximum of the LRCK
and ADWS frequencies.
16
www.ti.com
SLAS412− DECEMBER 2003
DRIGHT-JUSTIFIED MODE
In right-justified mode, the LSB of the left channel is valid on the rising edge of the BCLK preceding the falling edge of
ADWS or LRCK. Similarly, the LSB of the right channel is valid on the rising edge of the BCLK preceding the rising edge
of ADWS or LRCK.
1/fs
ADWS/
LRCK
BCLK
Left ChannelRight Channel
DIN/
DOUT
n n−1100nn−110
n−222n−2
LSBMSB
Figure 14. Timing Diagram for Right-Justified Mode
DLEFT-JUSTIFIED MODE
In left−justified mode, the MSB of the right channel is valid on the rising edge of the BCLK, following the falling edge of
ADWS or LRCK. Similarly the MSB of the left channel is valid on the rising edge of the BCLK following the rising edge of
ADWS or LRCK.
1/fs
ADWS/
LRCK
BCLK
Left ChannelRight Channel
DIN/
DOUT
n n−110n n−110
LSBMSB
Figure 15. Timing Diagram for Left-Justified Mode
n n−1n−22n−22
17
www.ti.com
SLAS412− DECEMBER 2003
2
DI
S MODE
In I2S mode, the MSB of the left channel is valid on the second rising edge of the BCLK after the falling edge of ADWS or
LRCK. Similarly the MSB of the right channel is valid on the second rising edge of the BCLK after the rising edge of
ADWS or LRCK.
1/fs
ADWS/
LRCK
BCLK
1 clock before MSB
Left ChannelRight Channel
DIN/
DOUT
n n−110nn−110
n−22n−22
LSBMSB
Figure 16. Timing Diagram for I2S Mode
DDSP MODE
In DSP mode, the falling edge of ADWS or LRCK starts the data transfer with the left channel data first and immediately
followed by the right channel data. Each data bit is valid on the falling edge of BCLK.
1/fs
ADWS/
LRCK
BCLK
Left ChannelRight Channel
DIN/
DOUT
n n−110n n−110
n−22n−22n−2
LSBMSB
MSBLSB
Figure 17. Timing Diagram for DSP Mode
n n−110
MSBLSB
n
18
www.ti.com
SLAS412− DECEMBER 2003
AUDIO DATA CONVERTERS
The ’AIC26 has a stereo audio DAC and a mono audio ADC. Both ADC and DAC can operate with a maximum sampling
rate of 53 kHz and support all audio standard rates of 8 kHz, 11.025 kHz, 12 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz,
44.1 kHz, and 48 kHz. By utilizing the flexible clock generation capability and internal programmable interpolation, a wide
variety of sampling rates up to 53 kHz can be obtained from many possible MCLK inputs. In addition, the DAC and ADC
can independently operate at different sampling rates as indicated in control register REG−00H/Page2.
When the ADC or DAC is operating, the ’AIC26 requires an applied audio MCLK input. The user should also set
bit D13/REG−06H/Page2 to indicate which Fsref rate is being used. If the codec ADC or DAC is powered up, then the
auxiliary
Typical audio DACs can suffer from poor out-of-band noise performance when operated at low sampling rates, such as
8 kHz or 11.025 kHz. The ’AIC26 includes programmable interpolation circuitry to provide improved audio performance at
such low sampling rates, by first upsampling low-rate data to a higher rate, filtering to reduce audible images, and then
passing the data to the internal DAC, which is actually operating at the Fsref rate. This programmable interpolation is
determined using bit D5−D3/REG−00H/Page2.
For example, if playback of 11.025-kHz data is required, the ’AIC26 can be configured such that Fsref = 44.1 kHz. Then
using bit D5−D3/REG−00H/Page2, the DAC sampling rate (Fs) can be set to Fsref/4, or Fs = 1 1.025 kHz. In operation, the
11.025-kHz digital input data is received by the ’AIC26, upsampled to 44.1 kHz, and filtered for images. It is then provided
to the audio DAC operating at 44.1 kHz for playback. In reality, the audio DAC further upsamples the 44.1 kHz data by a
ratio of 128x and performs extensive interpolation filtering and processing on this data before conversion to a stereo analog
output signal.
ADC uses MCLK and BCLK for its internal clocking, and the internal oscillator is powered down to save power.
PLL
The ’AIC26 has an on-chip PLL to generate the needed internal ADC and DAC operational clocks from a wide variety of
clocks available in the system. The PLL supports an MCLK varying from 2 MHz to 50 MHz and is register programmable
to enable generation of required sampling rates with fine precision.
ADC and DAC sampling rates are given by
DAC_FS = Fsref/N1 and ADC_FS = Fsref/N2
where, Fsref must fall between 39 kHz and 53 kHz, and N1, N2 =1, 1.5, 2, 3, 4, 5, 5.5, 6 are register programmable.
The PLL can be enabled or disabled using register programming.
DWhen PLL is disabled
Fsref +
Q = 2, 3…17
−Note: For ADC, with N2 = 1.5 or 5.5, odd values of Q are not allowed.
−In this mode, the MCLK can operate up to 50 MHz, and Fsref should fall within 39 kHz to 53 kHz.
MCLK
128 Q
DWhen PLL is enabled
Fsref +
P = 1, 2, 3, …, 8
K = J.D
J = 1, 2, 3, ….,64
D = 0, 1, 2, …, 9999
P, J, and D are register programmable, where J is an integer part of K before the decimal point, and D is a four-digit fractional
part of K after the decimal point, including lagging zeros.
Examples: If K = 8.5, Then J = 8, D = 5000
If K = 7.12, Then J = 7, D = 1200
If K = 7.012, Then J = 7, D = 120
The PLL is programmed through Registers 1BH and 1CH of Page2.
MCLK K
2048 P
19
SLAS412− DECEMBER 2003
DWhen PLL is enabled and D = 0, the following condition must be satisfied
www.ti.com
2MHzv
80 MHz v
4 v J v 55
MCLK
v 20 MHz
P
MCLK K
P
v 110 MHz
DWhen PLL is enabled and D ≠ 0, the following condition must be satisfied
10 MHz v
80 MHz v
4 v J v 11
Example 1:
For MCLK = 12 MHz and Fsref = 44.1 kHz
P = 1, K = 7.5264 ⇒ J = 7, D = 5264
Example 2:
For MCLK = 12 MHz and Fsref = 48.0 kHz
P = 1, K = 8.192 ⇒ J = 8, D = 1920
MONO AUDIO ADC
MCLK
v 20 MHz
P
MCLK K
P
v 110 MHz
Analog Front End
The analog front end of the audio ADC consists of an analog MUX and a programmable gain amplifier (PGA). The MUX
can connect either the MICIN or AUX signal through the PGA to the ADC for audio recording. The ’AIC26 also has an option
of choosing both MICIN and AUX as a differential input pair. The ’AIC26 also includes a microphone bias circuit, which can
source up to 4.7-mA current and is programmable to a 2-V or 2.5-V level. The bias block is powered down when both the
ADC and analog mixer blocks are powered down.
Because of the oversampling nature of the audio ADC and the integrated digital decimation filtering, requirements for
analog antialiasing filtering are very relaxed. The ’AIC26 integrates a second order analog antialiasing filter with 20-dB
attenuation at 1 MHz. This filter, combined with the digital decimal filter, provides sufficient antialiasing filtering without
requiring any external components.
The PGA allows analog gain control from 0 dB to 59.5 dB in steps of 0.5 dB. The PGA gain changes are implemented with
an internal soft-stepping algorithm that only changes the actual volume level by one 0.5-dB step every one or two ADC
output samples, depending on the register programming. This soft-stepping ensures that volume control changes occur
smoothly with no audible artifacts. On reset, the PGA gain defaults to a mute condition, and on power down, the PGA
soft-steps the volume to mute before shutting down. A read-only flag (D0 control register 04H/Page2) is set whenever the
gain applied by PGA equals the desired value set by the register. The soft−stepping control can be disabled by
programming D15=1 in register 1DH of Page02. When soft-stepping is enabled, the MCLK signal to the device should not
be changed until the ADC power-down flag is set. When the flag is set, the internal soft-stepping process and power-down
sequence is complete, and the MCLK can be stopped if desired.
Delta-Sigma ADC
The analog-to-digital converter is a delta-sigma modulator with 128 times oversampling ratio. The ADC can support a
maximum output rate of 53 kHz.
Decimation Filter
The audio ADC includes an integrated digital decimation filter that removes high-frequency content and downsamples the
audio data from an initial sampling rate of 128 times Fs to the final output sampling rate of Fs. The decimation filter provides
a linear phase output response with a group delay of 17/Fs. The −3-dB bandwidth of the decimation filter extends to 0.45
Fs and scales with the sample rate (Fs)
20
www.ti.com
SLAS412− DECEMBER 2003
Automatic Gain Control (AGC)
Automatic gain control (AGC) can be used to maintain nominally constant output signal amplitude when recording speech
signals. This circuitry automatically adjusts the PGA gain as the input signal becomes overly loud or very weak, such as
when a person speaking into a microphone moves closer or farther from the microphone. The AGC algorithm has several
programmable settings, including target gain, attack and decay time constants, noise threshold, and maximum PGA gain
applicable that allow the algorithm to be fine tuned for any particular application. The algorithm uses the absolute average
of the signal (which is the average of the absolute value of the signal) as a measure of the nominal amplitude of the output
signal.
Target gain represents the nominal output level at which the AGC attempts to hold the ADC output signal level. The ’AIC26
allows programming of eight different target gains, which can be programmed from −5.5 dB to −24 dB relative to a full-scale
signal. Since the ’AIC26 reacts to the signal absolute average and not to peak levels, it is recommended that the larger
gain be set with enough margin to avoid clipping at the occurrence of loud sounds.
Attack time determines how quickly the AGC circuitry reduces the PGA gain when the input signal is too loud. It can be
varied from 8 ms to 20 ms.
Decay time determines how quickly the PGA gain is increased when the input signal is too low. It can be varied in the range
from 100 ms to 500 ms.
Noise threshold is the minimum amplitude for the input signal that the AGC considers as a valid signal. If the average
amplitude of the incoming signal falls below this value, the AGC considers it as silence and brings down the gain to 0 dB
in steps of 0.5 dB for every FS. It also sets the noise threshold flag. The gain stays at 0 dB until the average amplitude of
the input signal rises above the noise threshold value. This ensures that noise does not get amplified in the absence of a
valid input speech signal. The noise threshold level is programmable between −60 dB and −90 dB relative to full scale. This
operation includes debounce and hysteresis to avoid having the AGC gain cycle from high gain to 0 dB when the signal
amplitude is close to the noise threshold level. When the noise threshold flag is set, the status of the gain applied by the
AGC and the saturation flag should be ignored.
Maximum input gain applicable allows the user to restrict the maximum gain applied by the AGC. This can be used for
limiting PGA gain in situations where environmental noise is greater than the programmed noise threshold. Depending on
the noise threshold setting, the value of the maximum input gain applicable can be programmed between 0 dB and 59.5
dB in steps of 0.5 dB as shown in Table 1.
Table 1. Input Gain Settings
NOISE THRESHOLDALLOWED RANGE FOR THE MAXIMUM INPUT GAIN
−60 dB0 dB to 59.5 dB
−70 dB11.5 dB to 59.5 dB
−80 dB21.5 dB to 59.5 dB
−90 dB31.5 dB to 59.5 dB
21
Loading...
+ 46 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.