ADAV400KSTZ-REEL [ADI]

Audio Codec with Embedded SigmaDSP Processor; 音频编解码器嵌入式的SigmaDSP处理器
ADAV400KSTZ-REEL
型号: ADAV400KSTZ-REEL
厂家: ADI    ADI
描述:

Audio Codec with Embedded SigmaDSP Processor
音频编解码器嵌入式的SigmaDSP处理器

解码器 编解码器
文件: 总36页 (文件大小:535K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Audio Codec with  
Embedded SigmaDSP® Processor  
ADAV400  
Features SigmaStudio™, a proprietary graphical  
programming tool for fast development of custom  
signal flows  
FEATURES  
Fully programmable audio digital signal processing (DSP) for  
enhanced sound processing  
Scalable digital audio delay line  
Pool of 400 ms @ 48 kHz (200 ms for stereo channel)  
High performance, integrated analog-to-digital converters  
(ADCs) and digital-to-analog converters (DACs)  
Includes various third-party audio algorithms  
I2C® control interface  
Operates from 3.3 V (analog), 1.8 V (digital core),  
3.3 V (digital interface)  
Features on-chip regulator for single 3.3 V operation  
80-lead LQFP package (14 mm × 14 mm)  
Temperature range: 0°C to 70°C  
1 stereo analog input (ADC)  
4 stereo analog inputs with mux-to-stereo ADC  
4 stereo (8-channel) analog outputs (DACs)  
Dedicated headphone output with integrated amplifier  
Multichannel digital I/O  
APPLICATIONS  
ATV and AV audio applications  
TV audio processing  
Set top box (STB)  
8-channel I2S input and output modes  
8- and 16-channel TDM input and output modes  
2-channel (1 stereo) asynchronous I2S input with  
integrated sample rate converter (SRC), supporting  
sample rates from 5 kHz to 50 kHz  
HTiB  
General audio enhancement  
FUNCTIONAL BLOCK DIAGRAM  
ADAV400  
SDO0  
SDO1  
SDO2  
MULTICHANNEL  
DIGITAL OUTPUTS  
MCLKI  
SYSTEM  
CLOCKS  
SDO3  
PLL  
MCLKO  
LRCLK1  
BCLK1  
SCL  
SDA  
AD0  
PROGRAMMABLE  
AUDIO  
PROCESSOR  
CORE  
2
I C INTERFACE  
VOUT1  
VOUT2  
VOUT3  
VOUT4  
HPOUTL  
DAC  
DAC  
BCLK0  
SRC  
LRCLK0  
ASYNCHRONIZE  
DIGITAL INPUT  
SDIN0  
DAC  
SYNCHRONIZE  
MULTICHANNEL  
DIGITAL INPUT  
HPOUTR  
SDIN1  
SDIN2  
SDIN3  
AUXL1  
AUXR1  
AINL1  
AINR1  
A–V  
SYNC DELAY  
MEMORY  
AUXL2  
AUXR2  
DAC  
ADC  
AINL4  
AINR4  
Figure 1.  
Rev. 0  
Information furnished by Analog Devices is believed to be accurate and reliable. However, no  
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other  
rights of third parties that may result from its use. Specifications subject to change without notice. No  
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.  
Trademarks and registeredtrademarks arethe property of their respective owners.  
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.  
Tel: 781.329.4700  
Fax: 781.461.3113  
www.analog.com  
©2006 Analog Devices, Inc. All rights reserved.  
 
ADAV400  
TABLE OF CONTENTS  
Features .............................................................................................. 1  
RAMs and Registers....................................................................... 19  
Control Port Addressing ........................................................... 19  
Parameter RAM Contents......................................................... 19  
Recommended Program/Parameter Loading Procedures.... 20  
Target/Slew RAM ....................................................................... 20  
Safeload Registers....................................................................... 23  
Data Capture Registers .............................................................. 23  
Control Port Read/Write Data Formats .................................. 24  
Serial Data Input/Output Ports .................................................... 26  
Control Registers............................................................................ 28  
Audio Core Control Register.................................................... 31  
RAM Modulo Control Register................................................ 32  
Serial Output Control Registers ............................................... 32  
Serial Input Control Register.................................................... 32  
SRC Serial Port Control Register ............................................. 33  
ADC Input Mux Register .......................................................... 33  
Power Control Register ............................................................. 33  
User Control Register 2 ............................................................. 33  
User Control Register 1 ............................................................. 33  
DAC Amplifier Register ............................................................ 33  
Typical Application Diagram.................................................... 34  
Outline Dimensions....................................................................... 35  
Ordering Guide .......................................................................... 35  
Applications....................................................................................... 1  
Functional Block Diagram .............................................................. 1  
Revision History ............................................................................... 2  
General Description......................................................................... 3  
Specifications..................................................................................... 4  
Digital Timing............................................................................... 6  
Absolute Maximum Ratings............................................................ 8  
ESD Caution.................................................................................. 8  
Pin Configuration and Function Descriptions............................. 9  
Typical Performance Characteristics ........................................... 11  
Theory of Operation ...................................................................... 13  
Analog Inputs.............................................................................. 13  
Sample Rate Converter Block ................................................... 13  
PLL Block..................................................................................... 13  
Analog Outputs........................................................................... 13  
Headphone Amplifier ................................................................ 14  
Voltage Regulator ....................................................................... 14  
Control Port..................................................................................... 15  
I2C Port ........................................................................................ 15  
Signal Processing ............................................................................ 18  
Numeric Formats........................................................................ 18  
Programming.............................................................................. 18  
REVISION HISTORY  
1/06—Revision 0: Initial Version  
Rev. 0 | Page 2 of 36  
 
ADAV400  
GENERAL DESCRIPTION  
brings a higher level of performance to systems that are  
The ADAV400 is an enhanced audio processor. Integrating high  
performance analog and digital I/Os with a powerful, audio-  
specific, programmable core enables designers to differentiate  
their products through audio performance.  
required to meet system branding certification by third-party  
algorithm providers. The analog inputs feature a 95 dB dynamic  
range stereo ADC fed from a four-stereo input mux. The four  
stereo analog outputs are each driven by a 95 dB dynamic range  
DAC. A dedicated headphone channel is included with  
integrated amplifiers.  
The audio processing core is based on Analog Devices SigmaDSP  
technology featuring full 28-bit processing (56-bit in double  
precision mode), a sophisticated, fully programmable dynamics  
processor, and delay memory.  
The ADAV400 supports multichannel digital inputs and outputs.  
An integrated SRC on one channel provides the capability to  
support any input sample rate in the range 5 kHz to 50 kHz,  
synchronizing this input to the internal DSP engine.  
This technology allows the system designer to compensate for  
real world limitations of speakers, amplifiers, and listening  
environments. This compensation results in a dramatic  
improvement of the perceived audio quality through speaker  
equalization, multiband compression and limiting, and third-  
party-branded algorithms.  
The ADAV400 is supported by a powerful graphical programming  
tool that includes blocks such as general filters, EQ filters, dynamics  
processing, mixers, volume, and third-party algorithms for fast  
development of custom signal flows.  
The analog I/O integrates Analog Devices proprietary continuous  
time, multibit, sigma-delta (Σ-Δ) architecture. This integration  
Rev. 0 | Page 3 of 36  
 
ADAV400  
SPECIFICATIONS  
AVDDn 1 = 3.3 V, ODVDD = 3.3 V, DVDD = internal voltage regulator, temperature = 0°C to 70°C, master clock = 12.288 MHz,  
measurement bandwidth = 20 Hz to 20 kHz, ADC input signal = 1 kHz, DAC output signal = 1 kHz, unless otherwise noted.  
Table 1.  
Parameter  
Min  
Typ  
Max  
Unit  
Test Conditions/Comments  
REFERENCE SECTION  
Absolute Voltage VREF  
VREF Temperature Coefficient  
ANALOG INPUTS (SINGLE-ENDED)  
Number of Channels  
Full-Scale Analog Input  
DC Offset  
1.5  
130  
V
ppm/°C  
8
100  
10  
Four stereo input channels  
2 V rms input with 20 kΩ series resistor  
Relative to VREF  
μA rms  
mV  
ADC SECTION  
Stereo ADC  
Resolution  
24  
Bits  
Dynamic Range  
A-Weighted  
90  
95  
−93  
0.1  
dB  
dB  
dB  
dB  
−60 dB with respect to full-scale analog input  
−3 dB with respect to full-scale analog input  
Left and right channel gain mismatch  
Total Harmonic Distortion + Noise  
Interchannel Gain Mismatch  
Crosstalk  
−78  
Analog channel crosstalk (AINYm1 to AINYm1)  
One channel = −3 dB, other channel = 0 V  
Gain Error  
Power Supply Rejection  
−6  
−83  
%
dB  
1 kHz, 300 mV p-p signal at AVDDn1  
ADC DIGITAL DECIMATOR FILTER  
CHARACTERISTICS @ 48 kHz2  
Pass Band  
Pass-Band Ripple  
Transition Band  
Stop Band  
Stop-Band Attenuation  
Group Delay  
22.5  
0.0002  
24  
26.5  
100  
1040  
kHz  
dB  
kHz  
kHz  
dB  
μs  
DAC OUTPUTS (SINGLE-ENDED)  
Number of Channels  
Resolution  
Full-Scale Analog Output  
Dynamic Range  
DAC amplifier register contents = 0x0010  
Four stereo output channels  
8
24  
1
Bits  
V rms  
A-Weighted  
90  
95  
−90  
−100  
dB  
dB  
dB  
−60 dB with respect to full-scale code input  
−3 dB with respect to full-scale code input  
Analog channel crosstalk (VOUTm1 to VOUTm1)  
One channel = −3 dB, other channels = 0 V  
Total Harmonic Distortion + Noise3  
Crosstalk  
Gain Error  
5
%
Interchannel Gain Mismatch  
DC Offset  
Power Supply Rejection  
0.1  
1
−87  
dB  
mV  
dB  
Left and right channel gain mismatch  
Relative to VREF  
1 kHz, 300 mV p-p signal at AVDDn1  
DAC DIGITAL INTERPOLATION FILTER  
CHARACTERISTICS @ 48 kHz2  
Pass Band  
21.769  
0.01  
23.95  
26.122  
75  
kHz  
dB  
kHz  
kHz  
dB  
Pass-Band Ripple  
Transition Band  
Stop Band  
Stop-Band Attenuation  
Group Delay  
580  
μs  
Rev. 0 | Page 4 of 36  
 
ADAV400  
Parameter  
Min  
Typ  
Max  
Unit  
Test Conditions/Comments  
HEADPHONE OUTPUT (SINGLE-ENDED)  
Measured at headphone output with 32 Ω load,  
headphone amplifier register contents = 0x0001  
Number of Channels  
Resolution  
Full-Scale Analog Output  
Dynamic Range  
2
24  
1
One stereo channel  
Bits  
V rms  
A-Weighted  
Total Harmonic Distortion + Noise  
Gain Error  
92  
−84  
4
dB  
dB  
%
−60 dBFS with respect to full-scale code input  
−3 dBFS with respect to full-scale code input  
Interchannel Gain Mismatch  
DC Offset  
Power Supply Rejection  
PLL SECTION2  
0.5  
−30  
−84  
dB  
mV  
dB  
Relative to VREF  
1 kHz, 300 mV p-p signal at AVDDn1  
Master Clock Input (MCLKI)  
SRC2  
64 × fS  
512 × fS MHz  
Dynamic Range  
A-Weighted  
Total Harmonic Distortion + Noise  
Sample Rate  
115  
−113  
dB  
dB  
kHz  
−60 dBFS input (worst-case input fS = 50 kHz)  
0 dBFS input (worst-case input fS = 50 kHz)  
5
50  
DIGITAL INPUT/OUTPUT  
Input Voltage High (VIH)  
Input Voltage Low (VIL)  
Input Leakage (IIH @ VIH = ODVDD)  
Input Leakage (IIL @ VIL = 0 V)  
2.0  
ODVDD  
0.8  
10  
V
V
μA  
μA  
−60  
2.4  
Output Voltage High (VOH @ IOH = 0.4  
mA)  
V
Output Voltage Low (VOL @ IOL = −3.2  
mA)  
0.4  
V
Input Capacitance  
10  
pF  
SUPPLIES  
Analog Supplies AVDDn1  
Digital Supplies DVDD  
Interface Supply ODVDD  
Supply Current, Normal Mode  
Analog Current (AVDD1)  
Digital and Interface Current  
PLL Current  
3.15  
1.6  
3.15  
3.30  
1.8  
3.30  
3.45  
2.0  
3.45  
V
V
V
MCLK = 12.288 MHz, ADCs and DACs active,  
headphone outputs active and driving a 32 Ω load,  
Power control register = 0xFFFF  
90  
120  
5
110  
135  
6
mA  
mA  
mA  
Supply Current, Power-Down Mode  
Analog Current  
Digital and Interface Current  
PLL Current  
RESET low, MCLK = 3.074 MHz, AINx = AGND, DAC  
and headphone outputs floating  
6
1.5  
5
8.5  
6
50  
mA  
mA  
ꢀA  
1 The n refers to supply number, the m refers to channel number, and the Y refers to stereo channel identifier: L for left channel or R for right channel.  
2 Guaranteed by design.  
3 Measured on one DAC with other DACs and ADCs off.  
Rev. 0 | Page 5 of 36  
ADAV400  
DIGITAL TIMING  
Table 2.  
Parameter  
Min  
Max  
Unit  
Comments  
MASTER CLOCK AND RESET  
fMCLKI (MCLKI Frequency)  
tMCH (MCLKI High)  
tMCL (MCLKI Low)  
RESET  
Low Pulse Width)  
3.024  
10  
10  
24.576  
MHz  
ns  
ns  
20  
ns  
tRLPW  
(
I2C PORT  
fSCL (SCL Clock Frequency)  
tSCLH (SCL High)  
tSCLL (SCL Low)  
400  
kHz  
ꢀs  
ꢀs  
0.6  
1.3  
Start Condition  
tSCS (Setup Time)  
tSCH (Hold Time)  
0.6  
0.6  
100  
ꢀs  
ꢀs  
ns  
ns  
ns  
ns  
ns  
Relevant for repeated start condition  
The first clock is generated after this period  
tDS (Data Setup Time)  
tSCR (SCL Rise Time)  
tSCF (SCL Fall Time)  
tSDR (SDA Rise Time)  
tSDF (SDA Fall Time)  
Stop Condition  
300  
300  
300  
300  
tSCSH (Setup Time)  
SERIAL PORTS  
0.6  
ꢀs  
Slave Mode  
tSBH (BCLKx High)  
tSBL (BCLKx Low)  
fSBF (BCLKx Frequency)  
tSLS (LRCLKx Setup)  
tSLH (LRCLKx Hold)  
tSDS (SDINx Setup)  
tSDH (SDINx Hold)  
tSDD (SDOx Delay)  
Master Mode  
40  
40  
64 × fS  
10  
10  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
To BCLK rising edge  
From BCLK rising edge  
To BCLK rising edge  
From BCLK rising edge  
From BCLK falling edge  
10  
10  
40  
tMLD (LRCLKx Delay)  
tMDD (SDOx Delay)  
tMDS (SDINx Setup)  
tMDH (SDINx Hold)  
5
40  
ns  
ns  
ns  
ns  
From BCLK falling edge  
From BCLK falling edge  
From BCLK rising edge  
From BCLK rising edge  
10  
10  
Rev. 0 | Page 6 of 36  
 
ADAV400  
Digital Timing Diagrams  
tSBH  
BCLKx  
tSBL  
tSLH  
tSLH  
LRCLKx  
tSDS  
tSDH  
SDINx  
LEFT-JUSTIFIED  
MODE  
MSB  
MSB – 1  
SDOx  
2
I S  
MSB  
MODE  
tMDD  
tSDD  
Figure 2. Serial Port Timing  
tSCH  
tSDR  
tDS  
tSCH  
tSDF  
SDA  
SCL  
tSCR  
tSCLH  
tSCLL  
tSCF  
tSCS  
tSCSH  
Figure 3. I2C Port Timing  
tMP  
MCLK  
Figure 4. Master Clock Timing  
Rev. 0 | Page 7 of 36  
ADAV400  
ABSOLUTE MAXIMUM RATINGS  
Table 3.  
Parameter  
Stresses above those listed under Absolute Maximum Ratings  
may cause permanent damage to the device. This is a stress  
rating only; functional operation of the device at these or any  
other conditions above those indicated in the operational  
section of this specification is not implied. Exposure to absolute  
maximum rating conditions for extended periods may affect  
device reliability.  
Rating  
DVDD to DGND  
ODVDD to DGND  
AVDD to AGND  
AGND to DGND  
Digital Inputs  
Analog Inputs  
Reference Voltage  
Soldering (10 sec)  
0 V to 2.2 V  
0 V to 4.0 V  
0 V to 4.0 V  
−0.3 V to +0.3 V  
DGND − 0.3 V to ODVDD + 0.3 V  
AGND − 0.3 V to ADVDD + 0.3 V  
Indefinite short-circuit to ground  
300°C  
ESD CAUTION  
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on  
the human body and test equipment and can discharge without detection. Although this product features  
proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy  
electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance  
degradation or loss of functionality.  
Rev. 0 | Page 8 of 36  
 
ADAV400  
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS  
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61  
1
60  
59  
58  
57  
56  
55  
54  
53  
52  
51  
50  
49  
48  
47  
46  
45  
44  
43  
42  
41  
FILTA  
VREF  
AGND  
AVDD1  
NC  
VOUT3  
VOUT2  
VOUT1  
AUXR1  
AUXL1  
AVDD3  
HPOUTR  
HPOUTL  
AGND  
AGND  
PLL_LF  
AVDD2  
DGND  
DVDD  
RESET  
NC  
PIN 1  
2
3
4
5
6
NC  
7
NC  
ADAV400  
TOP VIEW  
(Not to Scale)  
8
NC  
9
NC  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
NC  
NC  
NC  
DGND  
DVDD  
AD0  
SDA  
SCL  
NC  
TEST0  
TEST1  
DGND  
SDO3  
SDO2  
DGND  
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40  
NC = NO CONNECT  
Figure 5. Pin Configuration  
Table 4. Pin Function Descriptions  
Pin No.  
Mnemonic  
I/O Description  
1
2
FILTA  
VREF  
O ADC Filter Decoupling Node for the ADC. Decouple this pin to AGND (Pin 3).  
Voltage Reference. This pin is driven by an internal 1.5 V reference voltage. Decouple this pin to AGND  
(Pin 3)  
3
4
AGND  
AVDD1  
NC  
ADC Ground. Connect this pin to the analog ground plane.  
Analog Power Supply Pin for the ADC. Connect this pin to 3.3 V and decouple to AGND (Pin 3)  
Not Connected Internally.  
5 to 12,  
65, 66  
13, 20,  
28, 32,  
41, 48  
14, 21,  
31, 40,  
47  
DGND  
DVDD  
AD0  
Digital Ground. Connect this pin to the digital ground plane.  
Digital Power Supply Pins. Connect these pins to 1.8 V, either directly or by using the on-chip regulator.  
Decouple to DGND  
15  
I
I2C Address Select. Tie to ODVDD for address 0x28 (write) and 0x29 (read) or DGND for address 0x2A (write)  
and 0x2B (read)  
I/O Serial Data Input/Output for the I2C Control Port.  
16  
17  
18  
19  
SDA  
SCL  
TEST0  
TEST1  
I
Serial Clock for the I2C Control Port.  
Test Pin. Connect to ODVDD.  
Test Pin. Connect to ODVDD.  
22 to 25 SDIN [0:3]  
I
I
Serial Data Inputs. BCLK1 and LRCLK1 are used as the timing signals for SDIN0 to SDIN3.  
Left/Right Clock for Sample Rate Converter (SRC). This input frame synchronization signal is associated  
with SDIN0 to SDIN3 when one of these input channels is redirected to the SRC.  
26  
LRCLK0  
27  
BCLK0  
I
Bit Clock for Sample Rate Converter (SRC). This input clock is associated with SDIN0 to SDIN3 when one of  
these input channels is redirected to the SRC.  
29  
30  
ODVDD  
VDRIVE  
Digital Interface Supply (3.3 V) Pin. Connect this pin to a 3.3 V digital supply. Decouple to DGND.  
Drive for External PNP Transistor. This is used with the on-chip 1.8 V regulator circuit  
Rev. 0 | Page 9 of 36  
 
ADAV400  
Pin No.  
Mnemonic  
I/O Description  
33  
MCLKI  
I
Master Clock Input. The ADAV400 uses a phase-locked loop (PLL) to generate all of the appropriate  
internal clock for the DSP core.  
34  
35  
MCLKO  
BCLK1  
O
Audio Clock Output. The MCLKO pin can be programmed to output the internal audio clock.  
I/O Bit Clock for Serial Data Input/Output. This clock and the LRCLK1 are used as clock and frame sync signals  
for the SDINx and SDOx pins. These clocks are inputs to the ADAV400 when the port is configured as a  
slave, and outputs when the port is configured as a master. On power up, these pins are set to slave mode  
to avoid conflicts with external master mode devices.  
36  
LRCLK1  
SDO [0:3]  
NC  
I/O Left/Right Clock for Serial Data Input/Output. This clock and the BCLK1 are used as clock and frame sync  
signals for the SDINx and SDOx pins.  
37, 38,  
42, 43  
39, 44,  
45  
0
Serial Data Outputs.  
These pins should be left unconnected.  
46  
49  
50  
RESET  
I
Active Low Reset Signal. After RESET the ADAV400 is powered down.  
AVDD2  
PLL_LF  
Analog Power Supply Pin for the PLL. Connect this pin to 3.3 V and decouple to AGND (Pin 51).  
PLL Loop Filter. External components are required to allow the PLL to function correctly. See the PLL  
Block section for details of these components.  
51  
52  
53  
54  
55  
AGND  
AGND  
HPOUTL  
HPOUTR  
AVDD3  
PLL Ground. Connect this pin to the analog ground plane.  
Headphone Driver Ground. Connect this pin to the analog ground plane.  
Left Headphone Output. Analog output from the headphone amplifiers.  
Right Headphone Output. Analog output from the headphone amplifiers.  
Analog Power Supply Pin for the headphone amplifier. Connect this pin to 3.3 V and decouple to AGND  
(Pin 52).  
O
O
56  
57  
AUXL1  
AUXR1  
O
O
O
O
O
Auxiliary Analog Output Left 1  
Auxiliary Analog Output Right 1.  
Main Analog Output 1 to Output 4.  
Auxiliary Analog Output Left 2.  
Auxiliary Analog Output Right 2.  
Test Pin. This pin should be left unconnected.  
58 to 61 VOUT [1:4]  
62  
63  
64  
AUXL2  
AUXR2  
TEST2  
67  
68  
69, 70  
71  
72, 74,  
76, 78  
73, 75,  
77, 79  
80  
FILTD  
AVDD4  
AGND  
AVDD5  
AINL [1:4]  
DAC Filter Decoupling Node. Decouple this pin to AGND (Pin 69).  
Analog Power Supply Pin for the DAC. Connect this pin to 3.3 V and decouple to AGND (Pin 69).  
DAC Ground. Connect this pin to the analog ground plane.  
Analog Power Supply Pin for the DAC. Connect this pin to 3.3 V and decouple to AGND (Pin 70).  
Left Analog Input 1 to Input 4. The analog inputs are current inputs typically driven via a 20 kΩ resistor for  
2 V rms input, as shown in Figure 17.  
Right Analog Input 1 to Input 4. The analog inputs are current inputs typically driven via a 20 kΩ resistor  
for 2 V rms input, as shown in Figure 17.  
DAC External Bias Resistor. This is an external bias pin for the DAC circuitry. Connect a 20 kΩ resistor  
between this pin and AGND.  
I
I
AINR [1:4]  
IDAC  
Rev. 0 | Page 10 of 36  
ADAV400  
TYPICAL PERFORMANCE CHARACTERISTICS  
0
0
–50  
–100  
–150  
–200  
–50  
–100  
–150  
–250  
–300  
0
192  
384  
576  
768  
0
128  
256  
384  
FREQUENCY (kHz)  
FREQUENCY (kHz)  
Figure 6. DAC Composite Filter Response (48 kHz)  
Figure 9. ADC Composite Filter Response (48 kHz)  
0
0
–50  
–100  
–150  
–200  
–50  
–100  
–150  
–250  
–300  
0
24  
48  
72  
96  
0
24  
48  
72  
96  
FREQUENCY (kHz)  
FREQUENCY (kHz)  
Figure 7. DAC Pass-Band Filter Response (48 kHz)  
Figure 10. ADC Pass-Band Filter Response (48 kHz)  
0.06  
0.04  
0.006  
0.004  
0.02  
0.002  
0
0
–0.02  
–0.002  
–0.04  
–0.06  
–0.004  
–0.006  
0
8
16  
FREQUENCY (kHz)  
24  
0
8
16  
FREQUENCY (kHz)  
24  
Figure 8. DAC Pass-Band Ripple (48 kHz)  
Figure 11. ADC Pass-Band Ripple (48 kHz)  
Rev. 0 | Page 11 of 36  
 
ADAV400  
0
0
–20  
DNR = 95dB  
(A-WEIGHTED)  
THD + N = –93dB  
V = –3dBFS  
IN  
–20  
–40  
–40  
–60  
–60  
–80  
–80  
–100  
–120  
–140  
–100  
–120  
–140  
–160  
–160  
0
4000  
8000  
12000  
16000  
20000  
0
4000  
8000  
12000  
16000  
20000  
FREQUENCY (Hz)  
FREQUENCY (Hz)  
Figure 12. DAC Dynamic Range  
Figure 15. ADC Total Harmonic Distortion + Noise  
0
–20  
0
THD + N = –94dB  
= –3dBFS  
V
IN  
–5  
–40  
–60  
–80  
–10  
–100  
–120  
–140  
–15  
–20  
–160  
0
0
0.1  
0.2  
0.3  
0.4  
0.5  
4000  
8000  
12000  
16000  
20000  
F
S
(Normalized)  
FREQUENCY (Hz)  
Figure 16. Sample Rate Converter Transfer Function  
Figure 13. DAC Total Harmonic Distortion + Noise  
0
–20  
DNR = 95dB  
(A-WEIGHTED)  
–40  
–60  
–80  
–100  
–120  
–140  
–160  
0
4000  
8000  
12000  
16000  
20000  
FREQUENCY (Hz)  
Figure 14. ADC Dynamic Range  
Rev. 0 | Page 12 of 36  
ADAV400  
THEORY OF OPERATION  
The ADAV400 is an enhanced audio processor containing an  
Analog Devices SigmaDSP digital processing core. The core can  
accept up to four digital stereo channels, typically at 48 kHz, or  
three channels, typically at 48 kHz, and one channel at any  
sample rate between 5 kHz and 50 kHz. In addition, up to four  
stereo analog inputs can be used as the source for the DSP core  
using the stereo ADC and a four-stereo input mux.  
47µF  
47µF  
20k  
20kΩ  
AINLx  
AINRx  
20kΩ  
IDAC  
Figure 17. Analog Input Configuration  
Outputs from the DSP core are available as four stereo digital  
outputs and four stereo analog outputs.  
SAMPLE RATE CONVERTER BLOCK  
The ADAV400 contains a stereo SRC that accepts input sample  
rates in the range of 5 kHz to 50 kHz. Any one of the digital  
inputs can be selected as the source for the SRC.  
The core of the ADAV400 is a 28-bit DSP (56-bit with double  
precision) optimized for audio processing. Signal processing  
parameters are stored in a 1024-location parameter RAM. The  
program RAM can be loaded with a custom program after  
power-up. New values are written to the program and parameter  
RAM using the I2C control port. The values stored in the  
parameter RAM control individual signal processing blocks,  
such as IIR equalization filters, dynamics processors, audio  
delays, and mixer levels. A safeload feature allows transparent  
updating of these parameters, eliminating the risk of unwanted  
pops or clicks on the outputs.  
Note that the SRC has a filter cutoff frequency of 20 kHz for a  
48 kHz sample rate. If a different input sample rate is used, the  
cutoff frequency scales accordingly.  
PLL BLOCK  
The ADAV400 contains a phase-locked loop (PLL) that  
generates all of the internal clocks required by the ADAV400.  
The master clock frequency can be 64 × fS, 128 × fS, 256 × fS, or  
512 × fS.  
The ADAV400 has a sophisticated control port that supports  
complete read/write capability of all memory locations except  
the target/slew RAM and data RAM, which are only accessible  
by the DSP core.  
The PLL requires some external components to operate  
correctly, as shown in Figure 18. These components form a loop  
filter that integrates pulses from a charge pump and produces a  
voltage to tune the VCO. Internally the PLL can generate clocks  
up to 200 MHz, so it is recommended that a suitable capacitor is  
selected.  
The ADAV400 has a very flexible serial data input and output  
port that allows for glueless interconnection to a variety of  
ADCs, DACs, general-purpose DSPs, S/PDIF receivers, and  
sample rate converters. The digital inputs and outputs of the  
ADAV400 can be configured in I2S, left-justified, right-justified,  
or TDM serial port-compatible mode. They can support 16, 20,  
or 24 bits in all modes. The ADAV400 accepts serial audio data  
in MSB-first and twos complement formats.  
AVDD2  
100nF  
PLL  
BLOCK  
1nF  
2k  
PLL_LF  
Figure 18. PLL Loop Filter Components  
The digital core of the ADAV400 operates at 1.8 V, and the  
other circuit blocks operate from a 3.3 V power supply. An on-  
board regulator allows a single 3.3 V supply for both digital  
supplies using the configuration shown in Figure 19.  
A 3.3 V analog supply connected to AVDD2 is required to  
operate the PLL. Where the supply for AVDD1 is also used for  
the PLL, additional filtering is recommended to prevent digital  
noise created by the PLL block being coupled to the analog  
circuitry powered by the AVDD1 supply.  
The ADAV400 is fabricated on a single monolithic integrated  
circuit and is housed in an 80-lead LQFP package for operation  
over the 0°C to 70°C consumer temperature range.  
ANALOG OUTPUTS  
The ADAV400 contains four stereo analog outputs typically at  
1 V rms. One stereo pair of DACs is connected to integrated  
headphone amplifiers HPOUTL and HPOUTR, but is also  
available on the AUXL1 and AUXR1 pins.  
ANALOG INPUTS  
The ADAV400 has four stereo analog inputs. An input  
multiplexer is included that enables any of these four stereo  
analog inputs to be connected to the ADC. The analog inputs  
are current input, see Figure 17 for the suggested input  
configuration when the required input level is 2 V rms.  
Note that the outputs of all the DACs are inverted with the  
exception of the headphone channel. If required, this can be  
changed using the invert library block of the DSP.  
Rev. 0 | Page 13 of 36  
 
 
 
 
ADAV400  
VDD  
HEADPHONE AMPLIFIER  
The ADAV400 has an integrated stereo headphone amplifier  
capable of driving 32 mW into a 32 Ω load.  
+
+
+
VOLTAGE REGULATOR  
The ADAV400 includes an on-chip voltage regulator that  
enables the chip to be used in systems where a 1.8 V supply is  
not available. The only external components needed are a PNP  
transistor (such as FZT953), a single capacitor, and a single  
resistor. The recommended design for the voltage regulator is  
shown in Figure 19.  
ADAV400  
Figure 19. Voltage Regulator Design  
There are two specifications to take into consideration when  
choosing the regulators transistor. First, hFE should be at least 100.  
Second, the collector power dissipation, PC, must be greater than  
Here, VDD is the main system voltage (3.3 V). A voltage of 1.8 V  
is generated at the transistors collector and is connected to the  
DVDD pins. VDRIVE is an output from the internal regulator  
circuit on the ADAV400 and is connected to the base of the  
PNP transistor  
PC = (3.3 V − 1.8 V) × 135 mA = 202.5 mW  
Rev. 0 | Page 14 of 36  
 
 
ADAV400  
CONTROL PORT  
Table 5. I2C Addresses  
The ADAV400 control port has full read and write capability to  
all registers and RAMs with the exception of the data RAM,  
which is only accessible by the DSP core. Single or burst mode  
read and writes are supported. A typical word consists of the  
chip address, the register or RAM subaddress, and the data to  
be written. The number of bytes per data-word depends on the  
address of the location being written to or read from.  
R/W  
AD0  
Slave Address  
0x28  
0x29  
0x2A  
0x2B  
0
0
1
1
0
1
0
1
Addressing  
Initially, all devices on the I2C bus are in an idle state, wherein  
the devices monitor the SDA and SCL lines for a start condition  
and the proper address. The I2C master initiates a data transfer  
by establishing a start condition, defined by a high-to-low  
transition on SDA while SCL remains high. This indicates that  
an address/data stream follows. All devices on the bus respond  
to the start condition and read the next byte (7-bit address +  
The first byte of a control word (Byte 0) contains the 7-bit chip  
W
address plus the R/ bit. The next two bytes (Byte 1 and Byte 2)  
together form the subaddress of the memory or register location  
within the ADAV400. All subsequent bytes contain data that  
can be writes to the control register or updates to the program  
and parameter memories. Table 16 to Table 25 provide more  
details on the I2C write and read format.  
W
R/ bit) MSB first. The device that recognizes the transmitted  
The ADAV400 has several mechanisms for updating signal  
processing parameters in real time without causing pops or  
clicks. In cases where large blocks of data need to be transferred,  
it is recommended to mute the output of the DSP core by setting  
Bit 9 of the audio core control register to 0, load the new data,  
and then set Bit 9 back to 1. This is typically done during the  
booting sequence at startup, or when loading a new program  
into RAM.  
address responds by pulling the data line low during the ninth  
clock pulse. This ninth bit is known as an acknowledge bit. All  
W
other devices on the bus revert to an idle condition. The R/  
bit determines the direction of the data. A Logic Level 0 on the  
LSB of the first byte means the master writes information to the  
peripheral. A Logic Level 1 on the LSB of the first byte means  
the master reads information from the peripheral. A data  
transfer takes place until a stop condition is encountered. A stop  
condition occurs when SDA transitions from low to high while  
SCL is held high. Figure 20 shows the timing of an I2C write.  
In cases where only a few parameters need to be changed—for  
example, updating a biquad—the new parameters can be loaded  
without halting the program. To avoid unwanted pops or clicks  
on the output during the loading sequence, the DSP core uses  
an internal safeload mechanism that buffers the data and only  
updates the parameter memory at the end of the sample period  
and before the start of the next sample period  
Burst mode addressing, where the subaddresses are automatically  
incremented at word boundaries, can be used for writing large  
amounts of data to contiguous memory locations. This  
increment happens automatically if a stop condition is not  
encountered after a single word write. A data transfer is always  
terminated by a stop condition.  
I2C PORT  
The ADAV400 supports a 2-wire serial (I2C-compatible)  
microprocessor bus driving multiple peripherals. Two pins,  
serial data (SDA) and serial clock (SCL), carry information  
between the ADAV400 and the system I2C master controller.  
The ADAV400 is always a slave on the I2C bus, which means  
that it never initiates a data transfer. Each slave device is  
recognized by a unique address.  
Stop and start conditions can be detected at any stage during  
the data transfer. If these conditions are asserted out of  
sequence with normal read and write operations, it causes an  
immediate jump to the idle condition. During a given SCL high  
period, the user should only issue one start condition, one stop  
condition, or a single stop condition followed by a single start  
condition. If an invalid subaddress is issued by the user, the  
ADAV400 does not issue an acknowledge and reverts to an idle  
state. If the user exceeds the highest subaddress while in auto-  
increment mode, one of two actions is taken. In read mode, the  
ADAV400 outputs the highest subaddress register contents until  
the master device issues a no acknowledge, indicating the end of  
a read. A no acknowledge condition is where the SDA line is not  
pulled low on the ninth clock pulse on SCL. If the highest  
subaddress location is reached while in write mode, the data for  
the invalid byte is not loaded into any subaddress register, a no  
acknowledge is issued by the ADAV400, and the part returns to  
the idle condition.  
The ADAV400 has four possible slave addresses, two for writing  
operations and two for reading operations. These are unique  
addresses for the device and are illustrated in Table 5. The LSB  
of the byte sets either a read or a write operation; Logic Level 1  
corresponds to a read operation, and Logic Level 0 corresponds  
to a write operation. The seventh bit of the address is set by tying  
the AD0 pin of the ADAV400 to Logic Level 0 or Logic Level 1.  
Rev. 0 | Page 15 of 36  
 
 
ADAV400  
I2C Read and Write Operations  
followed by the chip address byte with the R/ set to 1 (read).  
W
The ADAV400 responds with the read result on SDA. The  
master then responds every ninth clock with an acknowledge  
pulse to the ADAV400.  
Table 6 shows the timing of a single word write operation. Every  
ninth clock, the ADAV400 issues an acknowledge by pulling  
SDA low.  
Table 9 shows the timing of a burst mode read sequence. This  
table shows an example where the target read registers are two  
bytes. The ADAV400 increments its subaddress register every two  
bytes because the requested subaddress corresponds to a  
register or memory area with word lengths of two bytes. Other  
address ranges may have a variety of word lengths ranging from  
one to six bytes; the ADAV400 always decodes the subaddress  
and sets the auto-increment circuit so that the address  
increments after the appropriate number of bytes.  
Table 7 shows the timing of a burst mode write sequence. This  
table shows an example where the target destination registers are  
two bytes. The ADAV400 auto-increments its subaddress  
register counter every two bytes until a stop condition occurs.  
The timing of a single word read operation is shown in Table 8.  
Note that the first R/ bit is still a 0, indicating a write operation.  
W
This is because the subaddress must be written to set up the  
internal address. After the ADAV400 acknowledges the receipt  
of the subaddress, the master must issue a repeated start command  
Key for Table 6 to Table 9:  
S = start bit  
P = stop bit  
AM = acknowledge by master  
AS = acknowledge by slave  
Table 6. Single Word I2C Write  
S
Chip address,  
AS  
Subaddress high  
AS  
Subaddress low  
AS  
Data Byte 1  
AS  
Data Byte 2  
AS  
Data Byte N  
P
W
R/ = 0  
Table 7. Burst Mode I2C Write  
S
Chip  
AS Subaddress AS Subaddress AS Data-Word 1 AS Data-Word 1 AS Data-Word 2 AS Data-Word 2 AS  
P
address,  
high  
low  
Byte 1  
Byte 2  
Byte 1  
Byte 2  
W
R/ = 0  
Table 8. Single Word I2C Read  
S
Chip address,  
W
R/ = 0  
AS Subaddress  
high  
AS Subaddress  
AS  
S
Chip address,  
W
R/ = 1  
AS Data Byte 1  
AM Data  
Byte 2  
AM Data  
Byte N  
P
P
low  
Table 9. Burst Mode I2C Read  
S
Chip address,  
W
R/ = 0  
AS Subaddress  
high  
AS Subaddress  
low  
AS  
S
Chip address,  
W
R/ = 1  
AS Data-Word 1  
Byte 1  
AM  
Data-Word 1  
Byte 2  
AM  
Rev. 0 | Page 16 of 36  
 
 
 
 
 
ADAV400  
SCL  
SDA  
ADR  
SEL  
1
1
0
0
0
0
R/W  
START BY  
MASTER  
ACK. BY  
ADAV400  
ACK. BY  
ADAV400  
FRAME 1  
FRAME 2  
CHIP ADDRESS BYTE  
SUBADDRESS BYTE 1  
SCL  
(CONTINUED)  
SDA  
(CONTINUED)  
ACK. BY  
ADAV400  
ACK. BY STOP BY  
ADAV400 MASTER  
FRAME 2  
FRAME 3  
SUBADDRESS BYTE 2  
DATA BYTE 1  
Figure 20. I2C Write Format  
SCL  
SDA  
ADR  
SEL  
1
1
0
0
0
0
R/W  
START BY  
MASTER  
ACK. BY  
ADAV400  
ACK. BY  
ADAV400  
FRAME 1  
FRAME 2  
CHIP ADDRESS BYTE  
SUBADDRESS BYTE 1  
SCL  
(CONTINUED)  
SDA  
(CONTINUED)  
ADR  
1
1
0
0
0
0
R/W  
SEL  
ACK. BY REPEATED  
ADAV400 START BY  
MASTER  
ACK. BY  
ADAV400  
FRAME 3  
FRAME 4  
SUBADDRESS BYTE 2  
CHIP ADDRESS BYTE  
SCL  
(CONTINUED)  
SDA  
(CONTINUED)  
ACK. BY  
MASTER  
ACK. BY STOP BY  
MASTER MASTER  
FRAME 5  
READ DATA BYTE 1  
FRAME 6  
READ DATA BYTE 1  
Figure 21. I2C Read Format  
Rev. 0 | Page 17 of 36  
 
ADAV400  
SIGNAL PROCESSING  
4-BIT SIGN EXTENSION  
The ADAV400 is designed to provide all the signal processing  
functions commonly used in stereo or multichannel playback  
systems. The signal processing flow is created using a graphical  
development tool supplied by Analog Devices, which allows fast  
development of even complex audio flows and real-time control  
of all signal-processing functions.  
SIGNAL PROCESSING  
(5.23 FORMAT)  
DIGITAL  
CLIPPER  
DATA IN  
SERIAL PORT  
1.23 5.23  
5.23  
1.23  
Figure 22. Numeric Precision and Clipping Structure  
PROGRAMMING  
On power-up, the default program of the ADAV400 passes the  
unprocessed input signals to the outputs, but the outputs are  
muted by default. There are 2560 instruction cycles per audio  
sample. This DSP runs in a stream-oriented manner, meaning  
all 2560 instructions are executed each sample period. The  
ADAV400 can also be set up to accept double- or quad-speed  
inputs by reducing the number of instructions per sample. This  
is set in the audio core control register.  
The input and output word lengths are 24 bits. Four extra head-  
room bits are used in the processor to allow internal gains of up  
to 24 dB without clipping.  
The signal processing blocks can be arranged in a custom program  
that is loaded to the RAM of the ADAV400. The available signal  
processing blocks are outlined in the Numeric Formats and  
Programming sections.  
NUMERIC FORMATS  
The part is easily programmed using graphical tools provided  
by Analog Devices. No knowledge of DSP assembly code is  
required to program the ADAV400. Simply connect graphical  
blocks, such as biquad filters, dynamics processors, mixers, and  
delays, in a signal flow schematic. The schematic is then  
compiled, and the program and parameter files are loaded into  
the program RAM of the ADAV400 through the control port.  
Signal processing blocks available in the provided libraries include  
It is common in DSP systems to use a standardized method of  
specifying numeric formats. Fractional number systems are  
specified by an A.B format, where A is the number of bits to the  
left of the decimal point and B is the number of bits to the right  
of the decimal point.  
The ADAV400 uses the same numeric format for both the  
coefficient values (stored in the parameter RAM) and the signal  
data values.  
Single- and double-precision biquad filters  
Monochannel and multichannel dynamics processors  
Mixers and splitters  
Numeric Format: 5.23  
Range: −16.0 to (+16.0 − 1 LSB)  
Tone and noise generators  
First-order filters  
Examples:  
1000 0000 0000 0000 0000 0000 0000 = −16.0  
1110 0000 0000 0000 0000 0000 0000 = −4.0  
1111 1000 0000 0000 0000 0000 0000 = −1.0  
1111 1110 0000 0000 0000 0000 0000 = −0.25  
1111 1111 1111 1111 1111 1111 1111 = (1 LSB below 0.0)  
0000 0000 0000 0000 0000 0000 0000 = 0.0  
0000 0010 0000 0000 0000 0000 0000 = +0.25  
0000 1000 0000 0000 0000 0000 0000 = +1.0  
0010 0000 0000 0000 0000 0000 0000 = +4.0  
0111 1111 1111 1111 1111 1111 1111 = (+16.0 − 1 LSB)  
Fixed and variable gain  
RMS look-up tables  
Loudness  
Delay  
Stereo enhancement (Phat Stereo™)  
Dynamic bass boost  
Interpolators and decimators  
The serial port accepts up to 24 bits on the input and is sign-  
extended to the full 28 bits of the core. This allows internal  
gains of up to 24 dB without encountering internal clipping.  
Additional blocks are always in development. Analog Devices  
also provides proprietary and third-party algorithms for appli-  
cations such as matrix decoding, bass enhancement, and surround  
virtualizers. Contact Analog Devices for information about  
licensing these algorithms.  
A digital clipper circuit is used between the output of the DSP  
core and the serial output ports (see Figure 22). This clips the  
top four bits of the signal to produce a 24-bit output with a  
range of +1.0 (−1 LSB) to −1.0.  
Rev. 0 | Page 18 of 36  
 
 
 
 
ADAV400  
RAMS AND REGISTERS  
Table 10. Control Port Addresses  
I2C Subaddress  
Register Name  
Read/Write Word Length  
0 to 1023 (0x0000 to 0x03FF)  
1024 to 3584 (0x0400 to 0x0E00)  
4096 to 4159 (0x1000 to 0x103F)  
4160 to 4164 (0x1040 to 0x1044)  
4165 to 4169 (0x1045 to 0x1049)  
4170 to 4175 (0x104A to 0x104F)  
4176 to 4177 (0x1050 to 0x1051)  
4178 (0x1052)  
4179 (0x1053)  
4180 (0x1054)  
4181 (0x1055)  
4182 (0x1056)  
Parameter RAM  
Program RAM  
Target/slew RAM  
Write: 4 bytes; read: 4 bytes  
Write: 6 bytes; read: 6 bytes  
Write: 5 bytes; read: N/A  
Write: 5 bytes; read: N/A  
Write: 2 bytes; read: N/A  
Write: 2 bytes; read: 3 bytes  
Write: 2 bytes; read: N/A  
Write: 2 bytes; read: 2 bytes  
Write: 1 byte; read: 1 byte  
Write: 2 bytes; read: 2 bytes  
Write: 1 byte; read: 1 byte  
Write: 1 byte; read: 1 byte  
Write: 2 bytes; read: 2 bytes  
Write: 2 bytes; read: 2 bytes  
Write: 2 bytes; read: 2 bytes  
Write: 2 bytes; read: 2 bytes  
Write: 2 bytes; read: 2 bytes  
Parameter RAM Data Safeload Register [0:4]  
Parameter RAM Indirect Address Safeload Register [0:4]  
Data Capture Register [0:5] (control port readback)  
Data capture registers (digital output)  
Audio core control register  
RAM modulo control register  
Serial output control register  
Serial input control register  
SRC serial port control register  
ADC input mux control register  
Power control register  
4183 (0x1057)  
4184 (0x1058)  
4185 (0x1059)  
4186 (0x105A)  
User Control 1 register  
User Control 2 register  
DAC amplifier register  
4365 (0x110D)  
Table 11. RAM Read/Write Modes  
Memory  
Size  
Subaddress Range  
Read  
Write  
Burst Mode Available  
Write Modes  
Direct write,1 safeload write  
Parameter RAM  
1024 × 28  
0 to 1023  
Yes  
Yes  
Yes  
(0x0000 to 0x03FF)  
1024 to 3584  
(0x0400 to 0x0E00)  
4096 to 4159  
Program RAM  
2560 × 42  
64 × 34  
Yes  
No  
Yes  
Yes  
Yes  
No  
Direct write1  
Target/Slew RAM  
Safeload write  
(0x1000 to 0x1044)  
1 To avoid clicks or pops, mute the DSP core first.  
Options for Parameter Updates  
CONTROL PORT ADDRESSING  
The parameter RAM can be written to and read from using one  
of the two following methods:  
Table 10 shows the addressing of the RAM and register spaces  
on the ADAV400. The address space encompasses a set of  
registers and three RAMs: parameter, program, and target\slew.  
Table 11 lists the sizes and available writing modes of the  
parameter, program, and target/slew RAMs.  
Direct Read/Write.  
This method allows direct access to the program and  
parameter RAMs. This mode of operation is normally used  
during a complete new load of the RAMs using burst mode  
addressing. To avoid clicks or pops in the outputs, it is  
recommended to set the clear registers bit in the audio core  
control register to 0.  
PARAMETER RAM CONTENTS  
The parameter RAM is 28 bits wide and occupies Address 0 to  
Address 1023. The parameter RAM is initialized to all 0s on  
power-up. The data format of the parameter RAM is twos  
complement 5.23. This means that the coefficients can range  
from +16.0 (−1 LSB) to −16.0, with 1.0 represented by the  
binary word 0000 1000 0000 0000 0000 0000 0000.  
Safeload Write.  
Up to five safeload registers can be loaded with parameter  
RAM address data. The data is transferred to the requested  
address when the RAM is idle. It is recommended to use  
this method for dynamic updates during run time. For  
example, a complete update of one biquad section can  
occur in one audio frame. This method is not available for  
writing to the program RAM or control registers. The  
following sections discuss these two options in more detail.  
Rev. 0 | Page 19 of 36  
 
 
 
ADAV400  
RECOMMENDED PROGRAM/PARAMETER  
LOADING PROCEDURES  
When a program is loaded into the program RAM using one or  
more locations in the slew RAM to access internal coefficient  
data, the target/slew RAM is used by the DSP. Typically, these  
coefficients are used for volume controls or smooth cross-fading  
effects, but they can also be used to update any value in the  
parameter RAM. Each of the 64 locations in the slew RAM is  
linked to corresponding location in the target RAM. When a new  
value is written to the target RAM using the control port, the  
corresponding slew RAM location begins to ramp toward the  
target. The value is updated once per audio frame (LRCLK period).  
When writing large amounts of data to the program or parameter  
RAM in direct write mode, disable the processor core to prevent  
pops or clicks at the audio output. The ADAV400 contains several  
mechanisms for disabling the core.  
If the loaded program does not use the target/slew RAM as the  
main system volume control (for example, the default power-up  
program),  
1. Assert Bit 9 (low to assert—default setting) and Bit 6 (high  
to assert) of the audio core control register. This clears the  
accumulators, the serial output registers, and the serial  
input registers.  
The target RAM is 34 bits wide. The lower 28 bits contain the target  
data in 5.23 format for the linear and exponential (constant dB  
and RC) ramp types. For constant time ramping, the lower 28 bits  
contain 16 bits in 2.14 format and 12 bits to set the current step.  
The upper six bits are used to determine the type and speed of  
the ramp envelope in all modes. The format of the data write for  
linear and exponential formats is shown in Table 12. Table 13  
shows the data write format for the constant time ramping.  
2. Fill the program RAM using burst mode writes.  
3. Fill the parameter RAM using burst mode writes.  
4. Assert Bit 7 of the audio core control register to initiate a  
data memory clear sequence. Wait at least 100 μs for this  
sequence to complete. This bit is automatically cleared after  
the operation is complete.  
In normal operation, write data to the target/slew RAM using  
the safeload registers as described in the Safeload Registers  
section. A mute slew RAM bit is included in the audio core  
control register to simultaneously set all the slew RAM target  
values to 0. This is useful for implementing a global multichannel  
mute. When this bit is deasserted, all slew RAM values return to  
their original premuted states.  
5. Deassert Bit 9 and Bit 6 of the audio core control register to  
allow the core to begin normal operation  
If the loaded program does use the target/slew RAM as the  
main system volume control,  
Table 12. Linear, Constant dB, and RC Ramp Data Write  
1. Assert Bit 12 of the audio core control register. This begins  
a volume ramp-down, with a time constant determined by  
the upper bits of the target RAM. Wait for this ramp-down  
to complete (the user can poll Bit 13 of the audio core  
control register, or simply wait for a given amount of time).  
Byte 0  
Byte 1  
Bytes [2:4]  
000000,  
curve_type [1:0]  
time_const [3:0],  
data [27:24]  
data [23:0]  
Table 13. Constant Time Ramp Data Write  
2. Assert Bit 9 (low to assert) and Bit 6 (high to assert) of the  
audio core control register. This clears the accumulators,  
the serial output registers, and the serial input registers.  
Byte 0  
Byte 1  
Bytes [2:4]  
000000,  
update_step [0],  
data [11:0],  
reserved [11:0]  
curve_type [1:0] #_of_steps [2:0], data [15:12]  
3. Fill the program RAM using burst mode writes.  
4. Fill the parameter RAM using burst mode writes.  
There are four types of ramping curve:  
Linear.  
5. Assert Bit 7 of the audio core control register to initiate a  
data memory clear sequence. Wait at least 100 ꢀs for this  
sequence to complete. This bit is automatically cleared after  
the operation is complete.  
The value slews to the target value using a fixed step size.  
Constant dB.  
The value slews to the target value using the current value  
to calculate the step size. The resulting curve has a constant  
rise and decay when measured in decibels.  
6. Deassert Bit 9 and Bit 6 of the audio core control register.  
7. If the newly loaded program also uses the target/slew RAM,  
deassert Bit 12 of the audio core control register to begin a  
volume ramp-up procedure.  
RC.  
The value slews to the target value using the difference  
between the target and current value to calculate the step  
size, resulting in a simple RC response.  
TARGET/SLEW RAM  
The target/slew RAM is a bank of 64 RAM locations, each of  
which can be set to autoramp from one value to a desired final  
value in one of four modes.  
Constant Time.  
The value slews to the target value in a fixed number of  
steps in a linear fashion. The control port mute has no  
effect on this type of ramping curve.  
Rev. 0 | Page 20 of 36  
 
 
 
ADAV400  
Table 14. Target/Slew RAM Ramp Type Settings  
Linear Update  
Settings  
Ramp Type  
A linear update is the addition or subtraction of a constant value,  
referred to as a step. The equation to describe this step size is  
00  
01  
10  
11  
Linear  
Constant dB  
RC  
213  
Step =  
2×  
(
t
5  
)
CONST  
10  
Constant time  
20  
The result of the equation is normalized to a 5.23 data format.  
This produces a time constant range from 6.75 ms to 213.4 ms.  
(–60 dB relative to 0 dB full scale). An example of this kind of  
update is shown in Figure 23 and Figure 24. All slew RAM figure  
examples, except the half-scale constant time ramp plot (Figure  
29), show an increasing or decreasing ramp between –80 dB and  
0 dB (full scale). All figures except the constant time plots  
(Figure 28 and Figure 29) use a time constant of 0x7 (0x0 being  
the fastest and 0xF being the slowest).  
The following sections detail how the control port writes to the  
target/slew RAM to control the time constant and ramp type  
parameters.  
Ramp Types [1:3]—Linear, Constant dB, RC (34-Bit Write)  
The target word for the first three ramp types is broken into  
three parts. The 34-bit command is written with six leading 0s  
to extend the data write to five bytes. The parts of the target  
RAM write are  
1.0  
Ramp type (2 bits).  
Time constant (4 bits).  
0000 = fastest  
1111 = slowest  
Data (28 bits): 5.23 format.  
0.8  
0.6  
0.4  
0.2  
0
Ramp Type 4—Constant Time (34-Bit Write)  
The target word for the constant time ramp type is written in  
five parts, with the 34-bit command written with six leading 0s  
to extend the data write to five bytes. The parts of the constant  
time target RAM write are  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
Ramp type (2 bits).  
0
5
10  
15  
20  
25  
30  
35  
Update step (1 bit). Set to 1 when a new target is loaded to  
trigger a step value update. The value is automatically reset  
after the step value is updated.  
TIME (ms)  
Figure 23. Slew RAM—Linear Update Increasing Ramp  
1.0  
Number of steps (3 bits). The number of steps needed to  
slew to the target value is set by these three bits, with the  
0.8  
0.6  
number of steps equal to 23-bit setting + 6  
000 = 64  
.
0.4  
001 = 128  
0.2  
010 = 256  
0
011 = 512  
100 = 1024  
101 = 2048  
110 = 4096  
–0.2  
–0.4  
–0.6  
–0.8  
111 = 8196  
Data (16 bits): 2.14 format.  
Reserved (12 bits). When writing to the RAM, set all of  
these bits to 0.  
–1.0  
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
Figure 24. Slew RAM—Linear Update Decreasing Ramp  
Target/Slew RAM Initialization  
On reset, the target/slew RAM initializes to preset values. The  
target RAM initializes to a linear ramp type with a time constant  
of 5 and the data set to 1.0. The slew RAM initializes to a value  
of 1.0. These defaults result in a full-scale (1.0 to 0.0) ramp time  
of 21.3 ms.  
Rev. 0 | Page 21 of 36  
 
 
ADAV400  
Constant Time Update  
Constant dB and RC Updates (Exponential)  
A constant time update is calculated by adding a step value that  
is determined after each target is loaded. The equation for this  
step size is  
An exponential update is accomplished by shifts and additions  
with a range from 6.1 ms to 1.27 sec (−60 dB relative to 0 dB full  
scale). When the ramp type is set to 01 (constant dB), each step  
size is set to the current value in the slew data. When the ramp  
type bits are set to 10 (RC), the step size is equal to the difference  
between the values in the target RAM and slew RAM (see  
Figure 25, Figure 26, and Figure 27).  
Step = (Target Data Slew Data)/(Number of Steps)  
Figure 28 shows a plot of the target/slew RAM operating in  
constant time mode. For this example, 128 steps are used to  
reach the target value. This type of ramping takes a fixed  
amount of time for a given number of steps, regardless of the  
difference in the initial state and the target value. Figure 29  
shows a plot of a constant time ramp from –80 dB to –6 dB (half  
scale) using 128 steps; thus, the ramp takes the same amount of  
time as the previous ramp from –80 dB to 0 dB. A constant time  
decreasing ramp plot is shown in Figure 30.  
1.0  
0.8  
0.6  
0.4  
0.2  
0
1.0  
0.8  
0.6  
–0.2  
–0.4  
–0.6  
0.4  
0.2  
0
–0.8  
–1.0  
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
–0.2  
–0.4  
–0.6  
Figure 25. Slew RAM—Constant dB Update Increasing Ramp  
1.0  
0.8  
0.6  
–0.8  
–1.0  
0.4  
0.2  
0
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
Figure 28. Slew RAM—Constant Time Update Increasing Ramp, Full Scale  
1.0  
0.8  
0.6  
–0.2  
–0.4  
–0.6  
0.4  
0.2  
0
–0.8  
–1.0  
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
–0.2  
–0.4  
–0.6  
Figure 26. Slew RAM—RC Update Increasing Ramp  
1.0  
0.8  
0.6  
–0.8  
–1.0  
0.4  
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
0.2  
Figure 29. Slew RAM—Constant Time Update Increasing Ramp, Half Scale  
0
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
Figure 27. Slew RAM—Constant dB and RC  
Updates Decreasing Ramp, Full Scale  
Rev. 0 | Page 22 of 36  
 
 
 
 
 
ADAV400  
1.0  
The ADAV400 data capture feature allows the data at any node  
in the signal processing flow to be sent to one of six control-  
port-readable registers or to a serial output pin. Use this feature  
to monitor and display information about internal signal levels  
or compressor/limiter activity.  
0.8  
0.6  
0.4  
0.2  
0
The ADAV400 contains six independent data capture registers  
that can be read via the I2C control port and can be used for  
monitoring static signals. In addition, two I2S digital output  
capture registers are available for monitoring dynamic signals.  
–0.2  
–0.4  
–0.6  
–0.8  
For each of the data capture registers, a capture count and a  
register select must be set. The capture count is a number  
between 0 and 2559 that corresponds to the program step  
number where the capture will occur (see Table 15).  
–1.0  
0
5
10  
15  
20  
25  
30  
35  
TIME (ms)  
Figure 30. Slew RAM—Constant Time Update Decreasing Ramp, Full Scale  
Table 15. Data Capture Control Registers  
SAFELOAD REGISTERS  
Register Bits  
Function  
Many applications require real-time control of signal processing  
parameters, such as filter coefficients, mixer gains, multichannel  
virtualizing parameters, or dynamics processing curves.  
13:2  
1:0  
12-bit program counter address  
Register select  
00 = Mult_X_input  
01 = Mult_Y_input  
10 = MAC_output  
11 = Accum_fback  
For example, if we consider a biquad to prevent instability from  
occurring, all five parameters of a biquad filter must be updated  
at the same time. Otherwise, the filter may execute with a mix  
of old and new coefficients for one or two audio frames. To  
eliminate this problem, the ADAV400 uses the safeload registers;  
there are five registers for the 28-bit parameter data and five for  
the parameter addresses. These addresses will indirectly address  
either the parameter RAM or the target/slew RAM.  
The register select field selects which one of four registers  
within the DSP core will be transferred to the data capture  
register when the program counter equals the capture count.  
The capture count and register select bits are set by writing to  
one of the eight data capture registers at the following register  
addresses:  
Once these registers are loaded, the appropriate initiate safe  
transfer bit (there are separate bits for parameter and target/slew  
loads) in the audio core control register should be set.  
4170: Control Port Data Capture Setup Register 0  
4171: Control Port Data Capture Setup Register 1  
4172: Control Port Data Capture Setup Register 2  
4173: Control Port Data Capture Setup Register 3  
4174: Control Port Data Capture Setup Register 4  
4175: Control Port Data Capture Setup Register 5  
4176: Digital Out Data Capture Setup Register 0  
4177: Digital Out Data Capture Setup Register 1  
The last five instructions of the program RAM are used for the  
safeload process, so the program length should be limited to  
2555 cycles (2560 − 5). It is guaranteed that the safeload occurs  
within one LRCLK period (21 μs at fS = 48 kHz) of the initiate  
safe transfer bit being set. Safeload only updates those safeload  
registers that have been loaded with new data since the last  
safeload operation. For example, if only two parameters or  
target RAM locations are to be updated, it is only necessary to  
load two of the safeload registers; the other safeload registers are  
ignored because they contain old data.  
The captured data is in 5.19 twos complement data format for  
all eight register select fields. The four LSBs are truncated from  
the internal 5.23 data-word.  
The formats for writing and reading to the data capture  
registers are listed in Table 22 and Table 23.  
DATA CAPTURE REGISTERS  
Data capture registers are used for debugging user-programmed  
blocks and are not required when using pre-existing library blocks.  
Rev. 0 | Page 23 of 36  
 
 
 
 
ADAV400  
chip address, a read/write bit, and an 11-bit RAM/register  
address for full I2C transfer.  
CONTROL PORT READ/WRITE DATA FORMATS  
The read/write formats of the control port are designed to be  
byte-oriented. To conform to this byte-oriented format, 0s are  
appended to the data fields before the MSB to extend the data-  
word to the next multiple of eight bits. For example, for  
parameter RAM a 28-bit word is appended with four leading 0s,  
making the transfer 4 bytes; for program RAM a 42-bit word is  
appended with six leading 0s, making the transfer 6 bytes. The  
data fields are appended to a 3-byte field consisting of a 7-bit  
Burst mode is used to fill contiguous register or RAM locations.  
A burst mode write is done by writing the address and data of  
the first RAM/register location to be written followed by the  
next data-word, and so on. The ADAV400 control port auto-  
increments the internal address counter depending on the  
location being written to or read from, even across the  
boundaries of the different RAMs and registers locations.  
Table 16. Parameter RAM Read/Write Format (Single Address)  
Byte 0  
Byte 1  
Byte 2  
Byte 3  
Bytes 4 to 6  
chip_adr [6:0], R/W  
000, param_adr [12:8]  
param_adr [7:0]  
0000, param [27:24]  
param [23:0]  
Table 17. Parameter RAM Block Read/Write Format (Burst Mode)  
Byte 0 Byte 1 Byte 2 Byte 3  
Bytes 4 to 6 Bytes 7 to 10  
Bytes 11 to 14  
chip_adr [6:0], R/W 000, param_adr [12:8] param_adr [7:0] 0000, param [27:24] param [23:0] 0000 param [27:0] 0000 param [27:0]  
First parameter (param_adr)  
Second parameter Third parameter  
(param_adr + 1)  
(param_adr + 2)  
Table 18. Program RAM Read/Write Format (Single Address)  
Byte 0  
Byte 1  
Byte 2  
Bytes 3 to 8  
chip_adr [6:0], R/W  
000, prog_adr [12:8]  
prog_adr [7:0]  
prog [42:0]  
Table 19. Program RAM Block Read/Write Format (Burst Mode)  
Byte 0  
Byte 1  
Byte 2  
Bytes 3 to 8  
Bytes 9 to 14  
Bytes 15 to 20  
chip_adr [6:0], R/W  
000, prog_adr [12:8]  
prog_adr [7:0]  
prog [39:0]  
First program word (prog_adr)  
Second program word  
(prog_adr + 1)  
Third program word  
(prog_adr + 2)  
Table 20. Control Register Read/Write Format (16-bit register)  
Byte 0  
Byte1  
Byte 2  
Byte 3  
Byte 4  
chip_adr [6:0], R/W  
000, reg_adr [12:8]  
reg_adr [7:0]  
data [15:8]  
data [7:0]  
Table 21. Control Register Read/Write Format (8-bit register)  
Byte 0  
Byte1  
Byte 2  
Byte 3  
chip_adr [6:0], R/W  
000, reg_adr [12:8]  
reg_adr [7:0]  
data [7:0]  
Table 22. Data Capture Register Write Format  
Byte 0  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
chip_adr [6:0], R/W  
000, data_capture_adr [12:8]  
data_capture_adr [7:0]  
000, progCount [10:6]  
progCount [5:0], regSel [1:0]  
Table 23. Data Capture (Control Port Readback) Register Read Format  
Byte 0  
Byte 1  
Byte 2  
Bytes 3 to 5  
chip_adr [6:0], R/W  
000, data_capture_adr [12:8]  
data_capture_adr [7:0]  
data [23:0]  
Rev. 0 | Page 24 of 36  
 
 
 
 
ADAV400  
Table 24. Safeload Register Data Write Format  
Byte 0  
Byte 1  
Byte 2  
Byte 3  
Bytes 4 to 7  
chip_adr [6:0], R/W  
000, safeload_adr [12:8]  
safeload_adr [7:0]  
000000, data [33:32]  
data [31:0]  
Table 25. Safeload Register Address Write Format  
Byte 0  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
chip_adr [6:0], R/W  
000, safeload_adr [12:8]  
safeload_adr [7:0]  
0000, param_adr [11:8]  
param_adr [7:0]  
Rev. 0 | Page 25 of 36  
 
ADAV400  
SERIAL DATA INPUT/OUTPUT PORTS  
programming the input serial port to TDM and the output port  
to left-justified is not a valid state.  
The flexible serial data input/output ports of the ADAV400  
can be set to accept or transmit data in 2-channel format or in  
an 8- or 16-channel TDM stream. Data is processed in twos  
complement, MSB-first format. The left channel data field  
always precedes the right channel data field in the 2-channel  
streams. In the TDM modes, Slot 0 to Slot 3 (8-channel TDM)  
or Slot 0 to Slot 7 (16-channel TDM) fall in the first half of the  
audio frame, and Slot 4 to Slot 7 (or Slot 8 to Slot 15 in 16-channel  
TDM) are in the second half of the frame. The serial modes are  
set in the serial input and output control registers.  
In TDM mode, there are some restrictions to ADAV400 operation,  
which are outlined in Table 26. There are two modes of operation.  
In both 8-channel and 16-channel TDM modes, SDIN0 is the  
input for the TDM stream and SDO0 is the output.  
Figure 34 shows the ADAV400 operating in TDM mode. Refer  
to the Serial Data Input/Output Ports section for a more  
complete description of the modes of operation.  
The input and output control register define the operation of  
the serial ports. Because BCLK1 and LRCLK1 are used for both  
input and output serial port timing, some care must be taken  
when individually programming serial modes. For example,  
Note that in 16-channel TDM mode, the ADC and DACs are no  
longer used because all 16 input and output channels have been  
redirected to the serial input and output ports.  
Table 26. Serial Output Port Master/Slave Mode Capabilities  
fS  
2-Channel Modes (I2S, Left-Justified, Right-Justified)  
8-Channel TDM  
Master and slave  
Master and slave  
Slave only  
16-Channel TDM  
Slave only  
Slave only  
48 kHz  
96 kHz  
192 kHz  
Master and slave  
Master and slave  
Master and slave  
Slave only  
Table 27. Data Format Configurations  
LRCLK  
Type  
Format  
LRCLK Polarity  
BCLK Polarity  
MSB Position  
I2S (Figure 31)  
Frame begins on  
falling edge  
Frame begins on  
rising edge  
Frame begins on  
rising edge  
Frame begins on  
falling edge  
Clock  
Clock  
Clock  
Clock  
Pulse  
Data changes on  
falling edge  
Data changes on  
falling edge  
Data changes on  
falling edge  
Data changes on  
falling edge  
Delayed from LRCLK edge by one BCLK  
Left-Justified (Figure 32)  
Right-Justified (Figure 33)  
TDM with Clock (Figure 34)  
TDM with Pulse (Figure 35)  
Aligned with LRCLK edge  
Delayed from LRCLK edge by 8, 12, or 16 BCLKs  
Delayed from start of word clock by one BCLK  
Delayed from start of word clock by one BCLK  
Frame begins on  
rising edge  
Data changes on  
falling edge  
Rev. 0 | Page 26 of 36  
 
 
 
 
ADAV400  
LEFT CHANNEL  
LRCLK  
BCLK  
RIGHT CHANNEL  
MSB  
LSB  
MSB  
LSB  
SDATA  
1 /F  
S
Figure 31. I2S Mode—16 to 24 Bits per Channel  
RIGHT CHANNEL  
LEFT CHANNEL  
LRCLK  
BCLK  
MSB  
LSB  
MSB  
LSB  
SDATA  
1 /F  
S
Figure 32. Left-Justified Mode—16 to 24 Bits per Channel  
RIGHT CHANNEL  
LEFT CHANNEL  
LRCLK  
BCLK  
SDATA  
MSB  
LSB  
1 /F  
MSB  
LSB  
S
Figure 33. Right-Justified Mode—16 to 24 Bits per Channel  
LRCLK  
BCLK  
DATA  
256 BCLKs  
32 BCLKs  
SLOT 0 SLOT 1 SLOT 2 SLOT 3 SLOT 4 SLOT 5 SLOT 6 SLOT 7  
LRCLK  
BCLK  
DATA  
MSB  
MSB–1  
MSB–2  
Figure 34. 8-Channel TDM Mode with Clock  
LRCLK  
BCLK  
MSB TDM  
MSB TDM  
CH  
0
SDATA  
8TH  
CH  
SLOT 0  
SDIN0L  
SLOT 1  
SDIN0R  
SLOT 2  
SDIN1L  
SLOT 3  
SDIN1R  
SLOT 4  
SDIN2L  
SLOT 5  
SDIN2R  
SLOT 6  
SDIN3L  
SLOT 7  
SDIN3R  
32  
BCLKs  
Figure 35. TDM Mode with Pulse Word Clock  
Rev. 0 | Page 27 of 36  
 
 
 
 
 
ADAV400  
CONTROL REGISTERS  
Table 28. Audio Register Map  
Register Address (Hex)  
Register Name  
Register Width (Bits)  
0x1052  
0x1053  
0x1054  
0x1055  
0x1056  
0x1057  
0x1058  
0x1059  
Audio core control register (see Table 29)  
RAM modulo control register (see Table 30)  
Serial output control register (see Table 31)  
Serial input control register (see Table 32)  
SRC serial port control register (see Table 33)  
ADC input mux control register (see Table 34)  
Power control register (see Table 35)  
User Control Register 1 (see Table 37)  
User Control Register 2 (see Table 36)  
DAC amplifier register (see Table 38)  
Headphone amplifier register (see Table 39)  
16  
8
16  
8
8
16  
16  
16  
16  
16  
16  
0x105A  
0x110D  
0x1113  
Table 29. Audio Core Control Register  
Register Address 0x1052 Default Readback = 0x4000  
Register Bits  
Function  
Register Bits  
Function  
15  
141  
Reserved (set to 0)  
6
Mutes serial input ports  
0 = normal operation  
1 = muted  
Enable SDO2 and SDO3  
0 = enabled  
1 = disabled  
5
4
Initiates safeload-to-target/slew RAM  
0 = off  
1 = on  
13  
12  
Indicates when slew RAM is muted (read only)  
Equivalent to writing 0s to the target RAM  
0 = normal operation  
1 = RAM zeroed  
Initiates safeload-to-parameter RAM  
0 = off  
1 = on  
11  
10  
9
Reserved (set to 0)  
3:2  
1:0  
Reserved (set to 0)  
Programs length  
00 = 2560 (48 kHz)  
01 = 1280 (96 kHz digital IO only)  
10 = 640 (192 kHz digital IO only)  
11 = reserved  
Reserved (set to 0)  
Clears internal processor registers (active low)  
0 = registers cleared  
1 = normal operation  
Forces multiplier input to 0  
0 = normal operation  
1 = forced to 0  
8
7
1 The polarity of this bit is inverted when read.  
Initializes data RAM to zero  
0 = normal operation  
1 = enabled  
Rev. 0 | Page 28 of 36  
 
 
ADAV400  
Table 30. RAM Modulo Control Register (8 Bits)  
Register Address 0x1053 Default = 0x28  
Table 32. Serial Input Control Register (8 Bits)  
Register Address 0x1055 Default = 0x00  
Register Bits  
Function  
Register Bits  
Function  
7:6  
5:0  
Reserved (set to 0)  
7:6  
5
Reserved (set to 0)  
TDM input mode  
0 = 8-channel TDM  
1 = 16-channel TDM  
LRCLK polarity  
0 = left low, right high  
1 = left high, right low  
BCLK polarity  
0 = data changes on falling edge  
1 = data changes on rising edge  
Serial input mode  
000 = I2S  
001 = left-justified  
RAM modulo size (1 LSB = 512 locations)  
Table 31. Serial Output Control Register  
Register Address 0x1054 Default = 0x0000  
4
Register Bits  
Function  
15  
Dither enable  
0 = disabled  
1 = enabled  
3
14  
TDM output mode  
0 = 8-channel TDM  
1 = 16-channel TDM  
LRCLK polarity  
2:0  
13  
010 = 8-channel TDM  
0 = left low, right high  
1 = left high, right low  
BCLK polarity  
0 = data changes on falling edge  
1 = data changes on rising edge  
Master/slave mode select  
0 = slave  
011 = right-justified, 24 bits  
100 = right-justified, 20 bits  
101 = right-justified, 18 bits  
110 = right-justified, 16 bits  
All others are reserved  
12  
11  
Table 33. SRC Serial Port Control Register (8 Bits)  
1 = master  
Register Address 0x1056 Default = 0x00  
10:9  
BCLK frequency (master mode)  
00 = 3.072 MHz (48 kHz)  
01 = 6.144 MHz (96 kHz digital IO only)  
10 = 12.288 MHz (192 kHz digital IO only)  
11 = reserved  
Register Bits  
Function  
7
Reserved (set to 0)  
SRC serial input port select  
00 = SDIN3  
6:5  
01 = SDIN2  
10 = SDIN1  
8:7  
LRCLK frame sync frequency (master mode)  
00 = 48 kHz  
11 = SDIN0  
01 = 96 kHz  
4
LRCLK polarity  
10 = 192 kHz  
0 = left low, right high  
1 = left high, right low  
BCLK polarity  
11 = reserved  
6
Frame sync type  
0 = LRCLK  
3
0 = data changes on falling edge  
1 = data changes on rising edge  
Serial input mode  
000 = I2S  
1 = pulse  
5
TDM enable  
0 = serial data out  
1 = TDM out  
2:0  
001 = left-justified  
010 = reserved  
4:2  
MSB position  
000 = delay by 1  
011 = right-justified, 24 bits  
100 = right-justified, 20 bits  
101 = right-justified, 18 bits  
110 = right-justified, 16 bits  
All others are reserved  
001 = delay by 0  
010 = delay by 8  
011 = delay by 12  
100 = delay by 16  
All others are reserved  
Output Word length  
00 = 24 bits  
1:0  
01 = 20 bits  
10 = 16 bits  
11 = 16 bits  
Rev. 0 | Page 29 of 36  
 
 
 
ADAV400  
Table 34. ADC Input Mux Control Register  
Table 37. User Control Register 1  
Register Address 0x1057 Default = 0x0001  
Register Address 0x1059 Default Readback = 0x1E00  
Register Bits  
Function  
Register Bits  
15:13  
Function  
15:4  
3
Reserved (set to 0)  
AIN4 to ADC  
AIN3 to ADC  
AIN2 to ADC  
AIN1 to ADC  
Reserved (set to 0)  
Reserved (set to 0)  
These bits read back as 0b1111  
SRC mux enable  
12:9  
2
8
1
0 = disabled  
0
1 = enabled  
7
SRC lock indicator (read only)  
0 = SRC not locked  
1 = SRC locked  
Table 35. Power Control Register  
Register Address 0x1058 Default = 0x0000  
Register Bits  
Function1  
6
MCLKO pin Enable  
0 = MCLKO pin disabled  
1 = MCLKO pin enabled  
MCLKO select  
000 = reserved  
001 = 1024 × fS (49.152 MHz)  
010 = reserved  
15  
14  
13  
12  
11  
10  
9
PLL  
Reference buffer  
ADC  
5:3  
VOUT4 DAC  
VOUT3 DAC  
VOUT2 DAC  
VOUT1 DAC  
011 = reserved  
1xx = 128 × fS (6.144 MHz)  
PLL Clock Select  
8
AUX2 right DAC  
AUX2 left DAC  
AUX1/HP right DAC  
AUX1/HP left DAC  
Headphone amplifier right  
Headphone amplifier left  
SRC  
2:1  
0
7
00 = 64 × fS (3.072 MHz)  
01 = 128 × fS (6.144 MHz)  
10 = 256 × fS (12.288 MHz)  
11 = 512 × fS (24.576 MHz)  
PLL Enable  
6
5
4
3
2
0 = PLL bypassed  
1 = PLL in use  
1
Digital ADC and DAC engine  
Audio processor  
0
1 0 = powered down, 1 = powered up.  
Table 38. DAC Amplifier Register  
Register Address 0x110D Default = 0x0000  
Table 36. User Control Register 2  
Register Bits  
Function  
Register Address 0x105A  
Default = 0x0000  
15:5  
4
Reserved (set to 0)  
DAC amplifier chopping1  
0 = enabled  
Register Bits  
Function  
15:8  
7
Reserved (set to 0)  
Headphone amplifier mute  
0 = normal operation  
1 = mute  
1 = disabled  
3:0  
Reserved (set to 0)  
1 Set this bit to 1 to obtain maximum performance from the DAC amplifier.  
6:5  
4:0  
Reserved (set to 0)  
Headphone amplifier attenuation  
00000 = 0 dB  
00001 = −1.5 dB  
00010 = −3.0 dB  
Table 39. Headphone Amplifier Register  
Register Address 0x1113  
Default = 0x0000  
Register Bits  
Function  
….  
15:1  
0
Reserved (set to 0)  
Headphone amplifier chopping1  
0 = enabled  
…..  
11110 = −45.0 dB  
11111 = −46.5 dB  
1 = disabled  
1 Set this bit to 1 to obtain maximum performance from the DAC amplifier.  
Rev. 0 | Page 30 of 36  
 
 
 
 
 
ADAV400  
AUDIO CORE CONTROL REGISTER  
Zero Serial Input Port (Bit 6)  
The bits in this register control the operation of the DSP core of  
the ADAV400 (see Table 29).  
When this bit is set to 1, all input channels to the DSP core are  
forced to all 0s, effectively muting the output.  
Enable SDO2 and SDO3 (Bit 14)  
Initiate Safe Transfer to Target RAM (Bit 5)  
This bit is set to 1 by default and can be used to disable SDO2  
and SDO3 if required.  
Setting this bit to 1 initiates a safeload transfer to the target/slew  
RAM. This bit clears when the operation is complete. Of five  
safeload register pairs (address/data), only those registers that have  
been written since the last safeload event occurred are transferred.  
Address 0 corresponds to the first target RAM location.  
Slew RAM Muted (Bit 13)  
This bit is set to 1 when the slew RAM mute operation has been  
completed. This bit is read-only and is automatically cleared  
by reading.  
Initiate Safe Transfer to Parameter RAM (Bit 4)  
Setting this bit to 1 initiates a safeload transfer to the parameter  
RAM. This bit clears when the operation is complete. Of five  
safeload registers pairs (address/data), only those registers that have  
been written since the last safeload event occurred are transferred.  
Address 0 corresponds to the first parameter RAM location.  
Write Zero to Target RAM (Bit 12)  
Setting this bit to 1 is equivalent to writing 0s to all locations in  
the target RAM. This effectively mutes any slew RAMs, such as  
volume controls used in a signal flow. To enable normal  
operation, clear this bit to 0.  
Program Length (Bits [1:0])  
Clear Registers to All Zeros (Bit 9)  
96 kHz and 192 kHz Modes  
Setting this bit to 0 sets the contents of the accumulators and  
serial output registers to 0. This bit defaults to 0; therefore, the  
ADAV400 powers up in clear mode and does not pass signals  
until a 1 is written to this bit. This is intended to prevent noises  
from inadvertently occurring during the power-up sequence.  
These bits set the length of the internal program. The default  
program length is 2560 instructions for fS = 48 kHz, but the  
program length can be shortened by factors of 2 to accommodate  
sample rates higher than 48 kHz. For fS = 96 kHz, set the  
program length to 1280 (01), and for fS = 192 kHz, set the  
length to 640 steps (10).  
Force Multiplier to Zero (Bit 8)  
When this bit is set to 1, the input to the DSP multiplier is set to  
0, which results in the multiplier output being 0. This control bit  
is included for maximum flexibility and is normally not used.  
Note that this is only valid for digital inputs and outputs.  
Initialize Data Memory with Zeros (Bit 7)  
Setting this bit to 1 initializes all data memory locations to 0.  
This bit is cleared to 0 after the operation is complete. Assert  
this bit after a complete program/parameter download has  
occurred to ensure click-free operation.  
Rev. 0 | Page 31 of 36  
 
ADAV400  
Frame Sync Type (Bit 6)  
RAM MODULO CONTROL REGISTER  
This bit sets the type of signal on the LRCLK1 pin. When this  
bit is set to 0, the signal is a word clock with a 50% duty cycle;  
when this bit is set to 1, the signal is a pulse with a duration of  
one BCLK at the beginning of the data frame.  
The ADAV400 uses a modulo RAM addressing scheme that  
allows very efficient coding of filters and other blocks by  
automatically incrementing the data RAM pointer at the end of  
each sample period. This works well for most audio applications  
that involve filtering. However, in some cases auto-incrementing  
the data RAM pointer is undesirable—for example, when it is  
required to store a word in data RAM and then access it in a  
subsequent audio sample period.  
TDM Enable (Bit 5)  
Setting this bit to 1 changes the output port from multiple serial  
outputs to a single TDM output stream available on SDO0. This  
bit must be set in both serial output control registers to enable  
16-channel TDM on SDO0.  
For this reason, the data RAM in the ADAV400 can be partitioned  
into modulo and nonmodulo blocks by programming the RAM  
modulo control register (see Table 30). This register is  
programmed with the size of the modulo block required in blocks  
of 512 words, up to the maximum data RAM size of 20,480  
words, which is the default setting of the register. For example,  
if the register is programmed with the value 0x2, the modulo  
RAM is 1024 (2 × 512) words starting from Address 0 to  
Address 1023, and the nonmodulo RAM is 19,456 words starting  
from Address 1024.  
MSB Position (Bits [4:2])  
These three bits set the position of the MSB of the data with  
respect to the LRCLK edge. The data outputs of the ADAV400  
are always MSB-first.  
Output Word Length (Bits [1:0])  
These bits set the word length of the output data-word. All bits  
following the LSB are set to 0.  
SERIAL INPUT CONTROL REGISTER  
TDM Input Mode(Bit 5)  
This is not currently used in any of the library blocks within the  
development tool; however, it is included for maximum flexibility  
for custom software development.  
This bits selects either 8-channel or 16-channel TDM mode.  
LRCLK Polarity (Bit 4)  
SERIAL OUTPUT CONTROL REGISTERS  
Dither Enable (Bit 15)  
When this bit is set to 0, the left channel data on SDINx is  
clocked in when LRCLK1 is low, and the right channel input  
data is clocked in when LRCLK1 is high. When this bit is set to  
1, this sequence is reversed.  
Setting this bit to 1 enables dither on the appropriate channels.  
TDM Output Mode (Bit 14)  
This bits selects either 8-channel or 16-channel TDM mode.  
In TDM mode, when this bit is set to 0, data is clocked on the  
next valid BCLK edge (polarity of BCLK is set in Bit 3 of this  
register) following a falling edge on LRCLK1. When this bit is  
set to 1 and running in TDM mode, the input data is valid on the  
BCLK edge following a rising edge on LRCLK1.  
LRCLK Polarity (Bit 13)  
When this bit is set to 0, the left channel data is clocked when  
LRCLK is low, and the right channel data is clocked when LRCLK  
is high. When this bit is set to 1, this sequence is reversed.  
The serial input port can also operate with LRCLK1 as a pulse,  
rather than a clock. In this case, the first edge of the pulse is used  
by the ADAV400 to start the data frame. When the polarity bit  
is set to 0, data is clocked in on the falling edge of LRCLK1; when  
this bit is set to 1, data is clocked in on the rising edge.  
BCLK Polarity (Bit 12)  
This bit controls on which edge of the bit clock the output data  
is clocked. Data changes on the falling edge of BCLK1 when  
this bit is set to 0, and on the rising edge when this bit is set to 1.  
Master/Slave (Bit 11)  
BCLK Polarity (Bit 3)  
This bit determines whether the output port is a clock master or  
slave. The default setting is slave; on power-up, Pin BCLK1 and  
Pin LRCLK1 are set as inputs until this bit is set to 1, at which  
time they become clock outputs.  
This bit controls on which edge of the bit clock the input data  
changes, and on which edge it is clocked. Data changes on the  
falling edge of BCLK1 when this bit is set to 0, and on the rising  
edge when this bit is set at 1.  
BCLK Frequency (Bits [10:9])  
Serial Input Mode (Bits [2:0])  
When the serial output port is a master, these bits set the  
frequency of the output bit clock, BCLK1.  
These two bits control the data format that the input port expects  
to receive. It should be noted that Bit 3 and Bit 4 of the serial  
input control register will override these settings, so Bits 4 to Bit  
0 must be set for correct operation. Refer to Figure 31, Figure 32,  
Figure 33, and Figure 34 for details on the different modes.  
Frame Sync Frequency (Bits [8:7])  
When the output port is a master, these bits set the frequency of  
the output word clock on the LRCLK1  
Rev. 0 | Page 32 of 36  
 
ADAV400  
Table 27 can also be used to verify register settings for each  
serial data format.  
Headphone Amplifier Attenuation (Bits [4:0])  
These bits set the analog gain of the headphone amplifier. It can  
be set in steps of −1.5 dB from 0 dB to −46.5 dB.  
SRC SERIAL PORT CONTROL REGISTER  
SRC Serial Input Port Select (Bits [6:5])  
USER CONTROL REGISTER 1  
These bits select which of the four serial data inputs are directed  
to the SRC  
SRC Mux Enable (Bit 8)  
When this bit is set to 1, the SRC mux is enabled, passing the  
input selected by the SRC serial port control register to the SRC  
block, the output of which is then available to the DSP core. It  
also masks the selected serial data input as a direct input to the  
DSP core. See Figure 36 for more details on the SRC input  
configuration.  
LRCLK Polarity (Bit 4)  
When this bit is set to 0, the left channel data on the selected  
channel is clocked in when LRCLK0 is low, and the right  
channel input data is clocked in when LRCLK1 is high. When  
this bit is set to 1, this sequence is reversed.  
LRCLK0  
BCLK0  
BCLK Polarity (Bit 3)  
REG: 0x1058  
REG: 0x1056  
This bit controls on which edge of the bit clock the input data  
changes, and on which edge it is clocked. Data changes on the  
falling edge of BCLK0 when this bit is set to 0, and on the rising  
edge when this bit is set to 1.  
BIT 2  
BITS [6:5]  
PU  
AUDIO  
PROCESSOR  
CORE  
SRC  
Serial Input Mode (Bits [2:0])  
SDIN0  
SDIN1  
SDIN2  
SDIN3  
MULTICHANNEL  
DIGITAL INPUTS  
These two bits control the data format that the input port expects  
to receive. It should be noted that Bit 3 and Bit 4 of the serial input  
control register will override these settings, so Bits 4 to Bit 0  
must be set for correct operation. Refer to Figure 31, Figure 32,  
Figure 33, and Figure 34 for details on the different modes.  
Table 27 can also be used to verify register settings for each  
serial data format.  
Figure 36. SRC Input Configuration  
SRC Lock Indicator (Bit 7)  
This bit is read only and indicates when the SRC is locked.  
MCLKO Pin Enable (Bit 6)  
With this bit set to 1, MCLKO is enabled and outputs the  
frequency selected by Bit 5 to Bit 3 in this register.  
Note that TDM is not supported on the SRC.  
ADC INPUT MUX REGISTER  
ADC Input Mux (Bits [3:0])  
MCLKO Select (Bits [5:3])  
These bits select the MCLKO frequency. All reserved settings  
are test modes and are not valid audio clocks.  
These bits are used to select which of the analog inputs are  
directed to the ADC. It is recommended that only one channel  
is selected at any time.  
PLL Clock Select (Bits [2:0])  
These bits must be programmed to select the master clock,  
MCLKI, input frequency that is being used. For example, the  
default case is 64 × fS (3.072 MHz), which means that BCLKx  
can also be used as the MCLKI.  
POWER CONTROL REGISTER  
Power Control (Bits [15:0])  
These bits can individually power up or power down the  
different blocks of the ADAV400.  
DAC AMPLIFIER REGISTER  
DAC Amplifier Chopping (Bit 4)  
USER CONTROL REGISTER 2  
Headphone Amplifier Mute (Bit 7)  
This bit should be set to 1 to ensure best performance on the  
headphone outputs.  
When set, this bit mutes the analog headphone amplifier.  
Rev. 0 | Page 33 of 36  
 
 
ADAV400  
TYPICAL APPLICATION DIAGRAM  
3.3V  
3.3V  
10µF  
+
600Z  
+
FZT953  
+
100nF  
+
+
+
+
+
+
47µF  
+
560  
47µF  
+
600Z  
600Z  
VOUT1  
VOUT4  
VOUT1  
VOUT4  
20kΩ  
20kΩ  
VIN1L  
VIN4R  
AINL1  
5.6nF  
100nF  
47µF  
+
560Ω  
47µF  
+
5.6nF  
AINR4  
47µF  
+
100nF  
560Ω  
AUXL1  
AUXR2  
AUXL1  
5.6nF  
BCLK0  
47µF  
+
LRCLK0  
560Ω  
AUXR2  
600Z  
5.6nF  
BCLK1  
LRCLK1  
SDIN0  
SDIN1  
SDIN2  
100µF  
+
TO AUDIO  
CONTROLLER  
HPOUTL  
HPOUTL  
HPOUTR  
470pF  
600Z  
10kΩ  
ADAV400  
100µF  
+
SDIN3  
SDO0  
SDO1  
SDO2  
SDO3  
HPOUTR  
IDAC  
470pF  
10kΩ  
20kΩ  
AVDD2  
RESET  
CIRCUITRY  
1nF  
100nF  
RESET  
MCLKI  
2kΩ  
PLL_LF  
VREF  
CLOCK  
+
+
+
47µF  
100nF  
100nF  
100nF  
SDA  
SCL  
AD0  
2
I C  
FILTA  
FILTD  
CONTROLLER  
47µF  
47µF  
Figure 37. Typical Application Circuit  
Rev. 0 | Page 34 of 36  
 
ADAV400  
OUTLINE DIMENSIONS  
16.20  
16.00 SQ  
15.80  
0.75  
0.60  
0.45  
1.60  
MAX  
61  
80  
1
60  
PIN 1  
14.20  
14.00 SQ  
13.80  
TOP VIEW  
(PINS DOWN)  
1.45  
1.40  
1.35  
0.20  
0.09  
7°  
3.5°  
0°  
0.10 MAX  
COPLANARITY  
20  
41  
0.15  
0.05  
40  
21  
SEATING  
PLANE  
VIEW A  
0.65  
0.38  
0.32  
0.22  
BSC  
LEAD PITCH  
VIEW A  
ROTATED 90° CCW  
COMPLIANT TO JEDEC STANDARDS MS-026-BEC  
Figure 38. 80-Lead Low Profile Quad Flat Package [LQFP]  
(ST-80-2)  
Dimensions shown in millimeters  
ORDERING GUIDE  
Model1  
Temperature Range  
Package Description  
Package Option  
ADAV400KSTZ2  
0°C to 70°C  
0°C to 70°C  
80-Lead Low Profile Quad Flat Package [LQFP]  
80-Lead Low Profile Quad Flat Package [LQFP]  
Evaluation Board  
ST-80-2  
ST-80-2  
ADAV400KSTZ-REEL2  
EVAL-ADAV400EB  
1 The ADAV400 is a Pb-free, environmentally friendly product. It is manufactured using the most up-to-date materials and processes. The coating on the leads of each  
device is 100% pure Sn electroplate. The device is suitable for Pb-free applications and can withstand surface-mount soldering at up to 255°C ( 5°C). In addition, it is  
backward-compatible with conventional Sn/Pb soldering processes. This means the electroplated Sn coating can be soldered with Sn/Pb solder pastes at conventional  
reflow temperatures of 220°C to 235°C.  
2 Z = Pb-free part.  
Rev. 0 | Page 35 of 36  
 
ADAV400  
NOTES  
©2006 Analog Devices, Inc. All rights reserved. Trademarks and  
registered trademarks are the property of their respective owners.  
D05811–0–1/06(0)  
Rev. 0 | Page 36 of 36  

相关型号:

ADAV4601

Audio Processor for Advanced TV
ADI

ADAV4601BSTZ

Audio Processor for Advanced TV
ADI

ADAV4622

Audio Processor for Advanced TV with Sound IF Demodulator and Stereo Decoder
ADI

ADAV4622BSTZ

Audio Processor for Advanced TV with Sound IF Demodulator and Stereo Decoder
ADI

ADAV801

Audio Codec for Recordable DVD
ADI

ADAV801AST

IC SPECIALTY CONSUMER CIRCUIT, PQFP64, PLASTIC, LQFP-64, Consumer IC:Other
ADI

ADAV801ASTZ

Audio Codec for Recordable DVD
ADI

ADAV801ASTZ-REEL

Audio Codec for Recordable DVD
ADI

ADAV802AST

IC SPECIALTY CONSUMER CIRCUIT, PQFP64, PLASTIC, LQFP-64, Consumer IC:Other
ADI

ADAV803

Audio Codec for Recordable DVD
ADI

ADAV803AST

IC SPECIALTY CONSUMER CIRCUIT, PQFP64, PLASTIC, LQFP-64, Consumer IC:Other
ADI

ADAV803AST-REEL

Audio Codec for Recordable DVD; Package: LQFP 1.4 MM; No of Pins: 64; Temperature Range: Commercial
ADI