ADAV802 Audio Codec For Recordable DVD Preliminary Data

Audio Codec
For Recordable DVD
ADAV802
Preliminary Technical Data
FEATURES
APPLICATIONS
Stereo Analog to Digital Converter (ADC)
Supports 48/96 kHz Sample Rates
102 dB Dynamic Range
Single-Ended Input
Automatic Level Control
Stereo Digital to Analog Converter (DAC)
Supports 32/44.1/48/96/192 kHz Sample Rates
103 dB Dynamic Range
Differential Output
Asynchronous operation of ADC and DAC
Stereo Sample Rate Converter (SRC)
Input/Output Range - 8 - 96 kHz
140 dB Dynamic Range
Digital Interfaces
Record
Playback
Aux Record
Aux Playback
S/PDIF (IEC60958) Input & Output
Digital Interface Receiver (DIR)
Digital Interface Transmitter (DIT)
PLL based Audio MCLK Generators
Generates Required DVDR System MCLKs
Device Control via SPI compatible serial port
64-Lead LQFP Package
DVD-Recordable
All Formats
CD-R/W
PRODUCT OVERVIEW
The ADAV802 is a stereo audio codec intended for applications,
such as DVD or CD recorders, requiring high performance,
flexible and cost effective playback and record functionality.
The ADAV802 features Analog Devices proprietary, high
performance converter cores to provide record (ADC), playback
(DAC) and format conversion (SRC) in a single chip. The
ADAV802 record channel features variable input gain to allow
for adjustment of recorded input levels and Automatic Level
Control, followed by a high performance stereo ADC whose
digital output is sent to the record interface. The record channel
also features Level Detectors which can be used in feedback
loops to adjust input levels for optimum recording. The
playback channel features a high performance stereo DAC with
independent digital volume control.
The Sample Rate Converter (SRC) provides high performance
sample-rate conversion to allow inputs and outputs requiring
different sample rates to be matched. The SRC input can be
selected from Playback, Auxiliary, DIR or ADC (record). The
SRC output can be applied to the Playback DAC, both main and
Auxiliary record channels and a DIT. (continued on Page 12)
VREF
Record
Data
Output
Analog to Digital
Converter
Reference
CCLK
Control
Registers
VINL
VINR
COUT
CLATCH
PLL
CIN
SYSCLK3
SYSCLK1
SYSCLK2
MCLKO
MCLKI
XIN
XOUT
FUNCTIONAL BLOCK DIAGRAM
Digital
Input/Output
Switching Matrix
(Datapath)
SRC
VOUTRN
OBCLK
OSDATA
OAUXLRCLK
Aux Data
Output
VOUTLN
VOUTLP
OLRCLK
OAUXBCLK
OAUXSDATA
Digital to Analog
Converter
DIT
DITOUT
VOUTRP
FILTD
Playback
Data Input
Aux Data
Input
ZEROL/INT
DIR
ZEROR
ADAV802
DIRIN
IAUXBCLK
IAUXSDATA
IAUXLRCLK
IBCLK
ISDATA
ILRCLK
802-0001
Figure 1.
Rev. Pr G
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
registered trademarks are the property of their respectiveorners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
www.analog.com
Fax: 781.326.8703
© 2004 Analog Devices, Inc. All rights reserved.
ADAV802
Preliminary Technical Data
TABLE OF CONTENTS
Specifications..................................................................................... 3
Hardware Model......................................................................... 17
Timing Specifications....................................................................... 7
The Sample Rate Converter Architecture ............................... 17
Absolute Maximum Ratings............................................................ 8
PLL Section ................................................................................. 18
ESD Caution.................................................................................. 8
SPDIF Transmitter AND Receiver........................................... 20
Pin Configuration and Function Descriptions............................. 9
Serial Data Ports ......................................................................... 25
Functional Description .................................................................. 12
Clocking Scheme........................................................................ 25
ADC Section ............................................................................... 12
Data Path ..................................................................................... 25
DAC Section.................................................................................... 15
Interface Control ........................................................................ 26
SRC Functional Overview ............................................................. 16
Outline Dimensions ....................................................................... 53
Theory of Operation .................................................................. 16
Ordering Guide .......................................................................... 53
Conceptual High Interpolation Model.................................... 16
REVISION HISTORY
Rev. Pr G | Page 2 of 53
Preliminary Technical Data
ADAV802
SPECIFICATIONS
Table 1. Test Conditions Unless Otherwise Noted
Supply Voltage
Analog
Digital
Ambient Temperature
Master Clock (XIN)
Measurement Bandwidth
Word Width (All Converters)
Load Capacitance on Digital Outputs
ADC Input Frequency
DAC Output Frequency
Digital Input: Slave Mode, I2S Justified Format
Digital Output: Master Mode, I2S Justified Forma
+3.3 V
+3.3 V
25°C
12.288 MHz
20 Hz to 20 kHz
24-bits
100 pF
997Hz at −1 dBFS
997Hz at −1 dBFS
Table 2. PGA Section
Min
Input Impedance
Minimum Gain
Maximum Gain
Gain Step
Gain Step Error
Typ
4
0
24
0.5
TBD
Max
Unit
Conditions
kΩ
dB
dB
dB
dB
Table 3. Reference Section
Min
Absolute Voltage, VREF
VREFTemperature Coefficient
Typ
1.5
TBD
Max
Unit
V
Conditions
ppm/°C
Table 4. ADC Section1
Min
Number of Channels
Resolution
Dynamic Range
Unweighted
A-Weighted
Total Harmonic Distorton + Noise
Analog Input
Input Range (± Full Scale)
VREF
DC Accuracy
Gain Error
Interchannel Gain Mismatch
Gain Drift
Offset
Crosstalk (EIAJ Method)
Volume Control Step Size (256 Steps)
Maximum Volume Attenuation
Group Delay
1
Typ
2
24
Max
Unit
Conditions
Bits
−60 dB Input
98
99
100
102
−85
dB
dB
dB
1.0
1.5
VRMS
V
−1
0.01
100
TBD
100
0.39
-48
TBD
dB
dB
ppm/°C
mV
dB
% per step
dB
µS
The figures quoted are target specifications and subject to change before release
Rev. Pr G | Page 3 of 53
Input = −1.0 dBFS
ADAV802
Preliminary Technical Data
Table 5. ADC Low-Pass Digital Decmation Filter Characteristics1
Sample Rate
(kHz)
48
96
1
Pass Band
Frequency (kHz)
0.45314 × fS
TBD × fS
Stop Band
Frequency (kHz)
0.54648 × fS
TBD × fS
Stop Band
Attenuation (dB)
120
TBD
Pass Band
Ripple (dB)
±0.01
±TBD
Guaranteed by Design
Table 6. ADC High-Pass Digital Filter Characteristics (fS = 48 kHz)
Min
Typ
0.9
Cutoff Frequency
Max
Units
Hz
Table 7. SRC Section
Min
Resolution
Sample Rate
Maximum Sample Rate Ratios
Minimum SRC MCLK
Typ
24
Max
8
Unit
Bits
kHz
96
138 × fS-MAX
Upsampling
Downsampling
Dynamic Range
Unweighted
A-Weighted
Total Harmonic Distortion + Noise
Conditions
XIN = 27MHz
fS-MAX is the greater of the input or
output sample rate
1:8
7.75:1
120
125
−110
dB
dB
dB
20 Hz to fS/2, 1 kHz, –60 dBFS Input
Worst Case - 96 kHz:8 kHz
Worst Case - 96 kHz:8 kHz
20 Hz to fS/2, 1 kHz, 0 dBFS Input
Table 8. DAC Section1
Min
Number of Channels
Resolution
Dynamic Range
Unweighted
A-Weighted
A-Weighted
Total Harmonic Distorton + Noise
Total Harmonic Distorton + Noise
Analog Outputs
Output Range (± Full Scale)
Output Resistance
Common Mode Output Voltage
DC Accuracy
Gain Error
Interchannel Gain Mismatch
Gain Drift
Crosstalk (EIAJ Method)
Phase Deviation
Mute Attenuation
Volume Control Step Size (128 Steps)
Group Delay
1
Typ
2
24
Max
Unit
Conditions
Bits
(20 Hz to 20 kHz, −60 dB Input)
TBD
100
103
TBD
−96
TBD
dB
dB
dB
dB
dB
1.0
TBD
1.5
Vrms
Ω
V
−1
0.01
25
125
TBD
−63
0.5
TBD
dB
dB
ppm/°C
dB
Degrees
dB
dB
µs
The figures quoted are target specifications and subject to change before release
Rev. Pr G | Page 4 of 53
fS = 96 KHz
Digital Input = −1.0 dBFS
Digital Input = −1.0 dBFS, fS = 96 KHz
Preliminary Technical Data
ADAV802
Table 9. DAC Low-Pass Digital Interpolation Filter Characteristics
Sample Rate
(kHz)
44.1
48
96
Pass Band
Frequency (kHz)
0.4535 × fS
0.4541 × fS
0.4161 × fS
Stop Band
Frequency (kHz)
0.5464 × fS
0.5464 × fS
0.5927 × fS
Stop Band
Attenuation (dB)
70
70
70
Pass Band
Ripple (dB)
±0.002
±0.002
±0.005
Table 10. PLL Section
Min
Master Clock Input Frequency
Generated System Clocks
MCLKO
SYSCLK1
Typ
27/54
Max
256
768
MHz
× fS
SYSCLK2
256
768
× fS
SYSCLK3
Jitter
SYSCLK1
SYSCLK2
SYSCLK3
256
1
27/54
Unit
MHz
512
× fS
TBD
TBD
TBD
Conditions
256/384/512/768 ×
32/44.1/48 kHz1
256/384/512/768 ×
32/44.1/48 kHz1
256/512 × 32/44.1/48 kHz1
ps rms
ps rms
ps rms
Sample Frequency can be doubled
Table 11. DIR Section
Input Sample Frequency
DIR-MCLK Frequency
DIR-MCLK Jitter
Differential Input Voltage
Min
27.2
Typ
Max
220
TBD
TBD
Unit
kHz
MHz
ps
mV
Condition
Min
27.2
Typ
Max
220
Unit
kHz
Condition
Min
2.0
Typ
Max
DVDD
0.8
10
10
Unit
V
V
µA
µA
V
V
pF
Condition
TBD
Table 12. DIT Section
Output Sample Frequency
Table 13. Digital I/O
Input Voltage HI (VIH)
Input Voltage LO (VIL)
Input Leakage (IIH@ VIH = 3.3 V)
Input Leakage (IIL@ VIL = 0 V)
Output Voltage HI (VOH @ IOH = 1 mA)
Output Voltage LO (VOL @ IOL = -1 mA)
Input Capacitance
2.4
0.4
15
Rev. Pr G | Page 5 of 53
ADAV802
Preliminary Technical Data
Table 14. Power
Supplies
Voltage, AVDD
Voltage, DVDD
Voltage, ODVDD
Analog Current
Digital Current, DVDD
Digital Interface Current, ODVDD
Analog Current—Power Down
Digital Current - Power Down
Digital Interface Current - Power Down
Power Supply Rejection
1 kHz 300 mVP-P Signal at Analog Supply Pins
20 kHz 300 mVP-P Signal at Analog Supply
Pins
Stopband (>0.55 × FS)—any 300 mVP-P Signal
Min
Typ
Max
Unit
Condition
3.0
3.0
3.0
3.3
3.3
3.3
3.6
3.6
3.6
45
56
12
V
V
V
mA
mA
mA
µA
µA
µA
All Supplies at 3.6V
All Supplies at 3.6V
All Supplies at 3.6V
RESET Low, No MCLK
RESET Low, No MCLK
RESET Low, No MCLK
TBD
TBD
dB
dB
TBD
dB
TBD
TBD
TBD
Rev. Pr G | Page 6 of 53
Preliminary Technical Data
ADAV802
TIMING SPECIFICATIONS
Table 15.
Parameter
MASTER CLOCK AND RESET
fMCLK
fXIN
tRESET
I2C PORT
fSCL
tSCLH
tSCLL
Start Condition tSCS
tSCH
tDS
tSCR
tSCF
tSDR
tSDF
Stop Condition
tSCS
SERIAL PORTS1
Slave Mode
tSBH
tSBL
fSBF
tSLS
tSLH
tSDS
tSDH
tSDD
Master Mode
tMLD
tMDD
tMDS
tMDH
1
Min
Max
Unit
24.576
54
MHz
MHz
ns
400
MCLKI Frequency
XIN Frequency
RESET Low
20
SCL Clock Frequency
SCL High
SCL Low
0.6
1.3
kHz
µS
µS
Setup Time
0.6
µS
Hold Time
0.6
µS
Data Setup Time
SCL Rise Time
SCL Fall Time
SDA Rise Time
SDA Fall Time
100
Setup Time
0.6
µS
xBCLK High
xBCLK Low
xBCLK Frequency
xLRCLK Setup
xLRCLK Hold
xSDATA Setup
xSDATA Hold
xSDATA Delay
40
40
64 × fS
10
10
10
10
10
ns
ns
xLRCLK Delay
xSDATA Delay
xSDATA Setup
xSDATA Hold
300
300
300
300
5
10
10
10
Comments
Relevant for Repeated Start
Condition
After this period the 1st clock is
generated
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
To xBCLK Rising Edge
From xBCLK Rising Edge
To xBCLK Rising Edge
From xBCLK Rising Edge
From xBCLK Falling Edge
ns
ns
ns
ns
From xBCLK Falling Edge
From xBCLK Falling Edge
From xBCLK Rising Edge
From xBCLK Rising Edge
The prefix x refers to I-, O-, IAUX- or OAUX- for the full pin name
Table 16. Temperature Range
Min
Specifications Guaranteed
Functionality Guaranteed
Storage
−40
−65
Specifications subject to change without notice.
Rev. Pr G | Page 7 of 53
Typ
25
Max
85
150
Units
°C
°C
°C
ADAV802
Preliminary Technical Data
ABSOLUTE MAXIMUM RATINGS
Table 17.
Parameter
DVDD to DGND and ODVDD
to DGND
AVDD to AGND
Digital Inputs
Analog Inputs
AGND to DGND
Reference Voltage
Soldering (10 s)
Rating
0 V to 4.6 V
0 V to 4.6 V
DGND − 0.3 V to DVDD + 0.3 V
AGND − 0.3 V to AVDD + 0.3 V
−0.3 V to +0.3 V
Indefinite short circuit to
ground
+300°C
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.
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. Pr G | Page 8 of 53
Preliminary Technical Data
ADAV802
VOUTRP
VOUTLP
VOUTRN
VOUTLN
AGND
AVDD
AGND
FILTD
AVDD
AGND
VREF
CAPRP
CAPRN
CAPLN
CAPLP
AGND
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
48
ADVDD
47
ADGND
AGND 3
46
PLL_LF2
AVDD 4
45
DIR_LF 5
44
PLL_LF1
PLL_GND
VINR 1
VINL 2
PIN 1
IDENTIFIER
DIR_GND 6
43
DIR_VDD 7
42
RESET 8
CLATCH/AD0 9
CIN/SDA 10
CCLK/SCL 11
PLL_VDD
DGND
ADAV802
41
TOP VIEW
(Not to Scale)
40
SYSCLK1
SYSCLK2
39
SYSCLK3
38
XIN
XOUT
COUT/AD1 12
37
ZEROL/INT 13
36
ZEROR 14
35
DVDD 15
DGND 16
34
33
MCLKO
MCLKI
DVDD
DGND
802-0045
IAUXSDATA
IAUXBCLK
IAUXLRCLK
OAUXSDATA
OAUXBCLK
OAUXLRCLK
ODGND
DITOUT
DIRIN
ODVDD
OSDATA
OBCLK
ISDATA
OLRCLK
IBCLK
ILRCLK
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Figure 2. 64-Lead Plastic Quad Flatpack [LQFP] (ST-520)
Table 18. ADAV802 Pin Function Descriptions
Pin
Number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Input/Output
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
OUTPUT
OUTPUT
OUTPUT
INPUT/OUTPUT
INPUT/OUTPUT
INPUT
INPUT/OUTPUT
INPUT/OUTPUT
OUTPUT
Mnemonic
VINR
VINL
AGND
AVDD
DIR_LF
DIR_GND
DIR_VDD
RESET
CLATCH
CIN
CCLK
COUT
ZEROL/INT
ZEROR
DVDD
DGND
ILRCLK
IBCLK
ISDATA
OLRCLK
OBCLK
OSDATA
Description
Analog Audio Input - Right Channel
Analog Audio Input - Left Channel
Analog Ground
Analog Voltage Supply
DIR Phase Locked Loop (PLL) Loop Filter Pin
Supply Ground for DIR Analog Section. This pin should be connected to AGND
Supply for DIR Analog Section. This pin should be connected to AVDD
Reset input (Active Low)
Chip Select (Control Latch) Pin of SPI compatible control interface
Data Input of SPI compatible control interface
Clock Input of SPI compatible control interface
Data Output of SPI compatible control interface
Left Channel (Output) Zero Flag or Interrupt (Output) Flag. The function of this
pin is determined by the INTRPT bin in DAC Control Register 4
Right Channel (Output) Zero Flag
Digital Voltage Supply
Digital Ground
Sampling Clock (LRCLK) of Playback Digital Input Port
Serial Clock (BCLK) of Playback Digital Input Port
Data Input of Playback Digital Input Port
Sampling Clock (LRCLK) of Record Digital Output Port
Serial Clock (BCLK) of Record Digital Output Port
Data Output of Record Digital Output Port
Rev. Pr G | Page 9 of 53
ADAV802
Pin
Number
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Preliminary Technical Data
Input/Output
INPUT
OUTPUT
INPUT/OUTPUT
INPUT/OUTPUT
OUTPUT
INPUT/OUTPUT
INPUT/OUTPUT
INPUT
INPUT
OUTPUT
INPUT
INPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
Mnemonic
DIRIN
ODVDD
ODGND
DITOUT
OAUXLRCLK
OAUXBCLK
OAUXSDATA
IAUXLRCLK
IAUXBCLK
IAUXSDATA
DGND
DVDD
MCLKI
MCLKO
XOUT
XIN
SYSCLK3
SYSCLK2
SYSCLK1
DGND
PLL_VDD
PLL_GND
PLL_LF1
PLL_LF2
ADGND
ADVDD
VOUTRP
VOUTRN
VOUTLP
VOUTLN
AVDD
AGND
FILTD
AGND
VREF
AGND
AVDD
CAPRN
CAPRP
AGND
CAPLP
CAPLN
Description
Input to Digital Input Receiver (S/PDIF)
Interface Digital Voltage Supply
Interface Digital Ground
S/PDIF Output from DIT
Sampling Clock (LRCLK) of Auxiliary Digital Output Port
Serial Clock (BCLK) of Auxiliary Digital Output Port
Data Output of Auxiliary Digital Output Port
Sampling Clock (LRCLK) of Auxiliary Digital Input Port
Serial (BCLK) of Auxiliary Digital Input Port
Data Input of Auxiliary Digital Input Port
Digital Ground
Digital Supply Voltage
External MCLK Input
Oscillator Output
Crystal Input
Crystal or External MCLK Input
System Clock 3 (from PLL 2)
System Clock 2 (from PLL 2)
System Clock 1 (from PLL 1)
Digital Ground
Supply for PLL Analog Section. This pin should be connected to AVDD
Ground for PLL Analog Section. This pin should be connected to AGND
Loop Filter for PLL1
Loop Filter for PLL2
Analog Ground (Mixed Signal)
Analog Voltage Supply (Mixed Signal). This pin should be connected to AVDD
Right Channel Differential Analog Output (Positive)
Right Channel Differential Analog Output (Negative)
Left Channel Differential Analog Output (Positive)
Left Channel Differential Analog Output (Negative)
Analog Voltage Supply
Analog Ground
Output DAC Reference Decoupling
Analog Ground
Voltage Reference Voltage
Analog Ground
Analog Voltage Supply
ADC Modulator Input Filter Capacitor (Right Channel - Negative)
ADC Modulator Input Filter Capacitor (Right Channel - Positive)
Analog Ground
ADC Modulator Input Filter Capacitor (Left Channel - Positive)
ADC Modulator Input Filter Capacitor (Left Channel - Negative)
Rev. Pr G | Page 10 of 53
Preliminary Technical Data
ADAV802
(continued from Page 1)
Operation of the ADAV802 is controlled via an SPI compatible
serial interface which allows individual Control Register
settings to be programmed. The ADAV802 operates from a
single analog +3.3 V power supply - and a digital power supply
of +3.3 V with optional digital interface range of 3.0 V to +3.6 V.
It is housed in a 64-lead LQFP package and is characterized for
operation over the commercial temperature range −40°C to
85°C.
Rev. Pr G | Page 11 of 53
ADAV802
Preliminary Technical Data
FUNCTIONAL DESCRIPTION
The ADAV802's ADC section is implemented using a 2nd order
multi-bit (5-bits) Sigma-Delta modulator. The modulator is
sampled at either half the ADC MCLK rate (Modulator Clock =
128 × fS) or a quarter of the ADC MCLK rate (Modulator Clock
= 64 × fS). The digital decimator consists of a Sinc^5 filter
followed by a cascade of 3 half-band FIR filters. The Sinc
decimates by a factor of 16 at 48 kHz and by 8 at 96 kHz. Each
of the half-band filters decimates by a factor of 2. Figure 3 below
shows the detail of the ADC section. The ADC can be clocked
by a number of different clock sources to control the sample
rate. MCLK selection for the ADC is set by Internal Clocking
Control Register 1 (address = 0x76). The ADC provides an
output word of up to 24 bits in resolution in 2s complement
format. The output word can be routed to the output ports, to
the sample rate converter or to the SPDIF digital transmitter.
4 - 64 kΩ
External
Capacitor
(1nF NPO)
125Ω
4 kΩ
VREF
125Ω
CAPxN
External
Capacitor
(1nF NPO)
8 kΩ
8 kΩ
External
Capacitor
(1nF NPO)
CAPxP
To
Modulator
The ADC features a 2nd order, multi-bit, Sigma-Delta modulator.
The input features two integrators in cascade followed by a flash
converter. This multi-bit output is directed to a scrambler,
followed by a DAC for loop feedback. The Flash ADC output is
also converted from "thermometer" coding to "binary" coding
for input as a 5-bit word to the decimator. Figure 5 shows the
ADC block diagram.
XIN
MCLKI
PLL1 INTERNAL
PLL2 INTERNAL
DIR PLL(512 × fS)
DIR PLL(256 × fS)
Figure 4. PGA Block Diagram
REG: 0x6F
BITS 1-0
The ADC also features independent digital volume control for
the left and right channels. The volume control consists of 256
linear steps with each step reducing the digital output codes by
0.39%. Each channel also has a peak detector which records the
peak level of the input signal. The peak detector register is
cleared by reading it.
801-0004
ADC
MCLK
ADC
The input of the record channel features a PGA which converts
the single-ended signal to a differential signal which is applied
to the analog sigma-delta modulator of the ADC. The PGA can
be programmed to amplify a signal by up to 24dB in 0.5dB
increments. Figure 4 details the structure of the PGA circuit.
Analog Sigma Delta Modulator
REG: 0x76
BITS 4-2
ADC MCLK
DIVIDER
Programmable Gain Amplifier (PGA)
801-0005
ADC SECTION
Figure 3. Clock Path Control on the ADC
HPF
MULTI-BIT
SIGMA-DELTA
MODULATOR
DECIMATOR
PEAK
DETECT
VOLUME
CONTROL
ADC MODCLK
ADC MCLK/2
(TYP 6.144MHz)
SINC^5 384kHz
768kHz
HALFBAND 192kHz
FILTER 384kHz
SINC
96kHz
COMPENSATION 192kHz
HALFBAND 48kHz
96kHz
FILTER
801-0003
Figure 5. ADC Block Diagram
Rev. Pr G | Page 12 of 53
Preliminary Technical Data
ADAV802
Selecting A Sample Rate
The sample rate of the ADC is always 256 × fS. To facilitate
different MCLKs the ADC block has a programmable divider
which allows the MCLK to be divided by 1, 2 or 3 before being
applied to the ADC. This allows for MCLKs of 256 × fS , 512 × fS
or 768 × fS to be applied to the ADC. To synchronize the data
output port with the ADC the same divider setting should be
applied to the Internal Clock (ICLK1 or ICLK2) which is
controlling the output port. The Internal Clock dividers are
shown in Figure 34. By default the ∑∆ modulator runs at ADC
MCLK/2. The modulator is designed to run with a maximum
clock rate of 6.144MHz,. For cases where higher sample rates
would run the modulator at speeds higher than this the user can
select divide the ADC MCLK by 4 before it is applied to the
modulator. To compensate for this the modulator uses an
alternate filter configuration. The divide setting is selected by
the AMC bit in ADC Control Register 1.
Automatic Level Control (ALC)
The ADC record channel features a programmable automatic
level control block. This block monitors the level of the ADC
output signal and will automatically reduce the gain if the signal
at the input pins causes the ADC output to exceed a preset limit.
This function can be useful to maximize the signal dynamic
range when the input level is not well-defined. The PGA can be
used to amplify the unknown signal and the ALC will reduce
the gain until the ADC output is within the preset limits. This
results in maximum front-end gain. Since the ALC block
monitors the output of the ADC the volume control function
should not be used. The ADC volume control scales the results
from the ADC and any distortion caused by the input signal
exceeding the input range of the ADC will still be present at the
output of the ADC but scaled by a value determined by the
volume control register. The ALC block consists of two
functions, Attack Mode and Recovery Mode. The Recovery
Mode consists of three settings, namely, No Recovery, Normal
Recovery and Limited Recovery. Each of these modes in
discussed in detail below. Figure 6 shows an overall flow
diagram of the ALC block.
Attack Mode
When the absolute value of the ADC output exceeds the level
set by the Attack Threshold bits in the ALC Control Register 2,
Attack Mode is initiated. The PGA gain for both channels is
reduced by one step (0.5dB). The ALC will then wait for a time
determined by the Attack Timer bits before sampling the ADC
output value again. If the ADC output is still above the
threshold the PGA gain is reduced by a further step. This
procedure continues until the ADC output is below the limit set
by the Attack Threshold bits. The initial gains of the PGAs are
defined by ADC Left PGA Gain Register and ADC Right PGA
Gain Register and may be different values. The ALC simply
adds or subtracts a common gain offset to these values. The
ALC will preserve any gain difference in dB as defined by those
registers. At no time will the PGA gains exceed their initial
values. Therefore, the initial gain setting also serves as a
maximum value.
The Limit Detection Mode bit in ALC Control Register 1
determines how the ALC should respond to an ADC output
which exceeds the set limits. If this bit is a one then both
channels must exceed the threshold before the gain is reduced.
This mode can be used to prevent unnecessary gain reduction
due to spurious noise on a single channel. If the Limit Detection
Mode bit is a zero the gain will be reduced when either channel
exceeds the threshold.
No Recovery Mode
By default there is no gain recovery. Once the gain has been
reduced it will not be recovered until the ALC has been reset, by
toggling the ALCEN bit in ALC Control Register 1 or by writing
any value to ALC Control Register 3. The latter option is more
efficient as it requires only one write operation to reset the ALC
function. No Recovery Mode prevents volume modulation of
the signal, caused by adjusting the gain, which can create
undesirable artifacts in the signal. Since the gain can be reduced
but not recovered, care should be taken that spurious signals do
not interfere with the input signal as these may trigger a gain
reduction unnecessarily.
Normal Recovery
This mode allows for the PGA gain to be recovered providing
that the input signal meets certain criteria. Firstly, the ALC must
not be in Attack Mode, i.e., the PGA gain has been reduced
sufficiently such that the input signal is below the level set by
the Attack Threshold bits. Secondly, the output result from the
ADC must be below the level set by the Recovery Threshold bits
in ALC Control Register. If both of these criteria are met the
gain is recovered by one step (0.5dB). The gain is incrementally
restored to its original value assuming the ADC output level is
below the Recovery Threshold at intervals determined by the
Recovery Time bits. Should the ADC output level exceed the
Recovery Threshold while the PGA gain is being restored the
PGA gain value will be held and will not continue restoration
until the ADC output level is again below the Recovery
Threshold. Once the PGA gain is restored to its original value it
will not be changed again unless the ADC output value exceeds
the Attack Threshold and the ALC then enters Attack Mode.
Care should be exercised when using this mode to choose
values for the Attack and Recovery thresholds to prevent
excessive volume modulation caused by continuous gain
adjustments.
Limited Recovery
Limited Recovery Mode offers a compromise between No
Rev. Pr G | Page 13 of 53
ADAV802
Preliminary Technical Data
to the Recovery Time selection, if the ADC has any excursion
above the Recovery Threshold. If the counter reaches its
maximum value, determined by the GAINCNTR bits in ALC
Control Register 1, the PGA gain is deemed suitable and no
further gain recovery is attempted. If, at any time, the ADC
output level exceeds the Attack Threshold, Attack Mode is
reinitiated and the counter is reset
Recovery and Normal Recovery Modes. If the output level of
the ADC exceeds the Attack Threshold then Attack Mode is
initiated. When Attack Mode has reduced the PGA gain to
suitable levels the ALC will attempt to recovery the gain to its
original level. If the ADC output level exceeds the level set by
the Recovery Threshold bits a counter is incremented
(GAINCNTR). This counter is incremented, at intervals equal
ATTACK MODE
WAIT FOR SAMPLE
NO
NO
IS A RECOVERY
MODE ENABLED?
IS SAMPLE
GREATER THAN ATTACK
THRESHOLD?
YES
YES
DECREASE GAIN BY 0.5dB
AND WAIT ATTACK TIME
LIMITED RECOVERY
NORMAL RECOVERY
WAIT FOR SAMPLE
WAIT FOR SAMPLE
IS SAMPLE
ABOVE ATTACK
THRESHOLD?
IS SAMPLE
ABOVE ATTACK
THRESHOLD?
NO
YES
NO
IS SAMPLE
BELOW RECOVERY
THRESHOLD?
IS SAMPLE
BELOW RECOVERY
THRESHOLD?
NO
WAIT
RECOVERY
TIME
YES
NO
WAIT
RECOVERY
TIME
INCREASE GAIN BY 0.5dB
WAIT RECOVERY TIME
INCREASE GAIN BY 0.5dB
WAIT RECOVERY TIME
INCREMENT
GAINCNTR
HAS GAIN BEEN
FULLY RESTORED?
NO
HAS GAIN BEEN
FULLY RESTORED?
YES
YES
YES
IS GAINCNTR
AT MAXIMUM?
NO
Figure 6. ALC Flow Diagram
Rev. Pr G | Page 14 of 53
801-0127
NO
Preliminary Technical Data
ADAV802
Selecting a Sample Rate
DAC SECTION
Correct operation of the DAC is dependant upon the data rate
provided to the DAC, the master clock applied to the DAC and
the selected interpolation rate. By default the DAC assumes that
the MCLK rate is 256 times the sample rate which requires an 8
times oversampling rate. This combination is suitable for
sample rates up to 48kHz. For the case of a 96kHz data rate
which has a 24.576MHz MCLK (256 × fS) associated with it the
DAC MCLK divider should be set to divide the MCLK by 2.
This will prevent the DAC engine being run too fast. To
compensate for the reduced MCLK rate the interpolator should
be selected to operate in 4 × (DAC MCLK = 128 × fS). Similar
combinations can be selected for different sample rates.
XIN
MCLKI
PLL1 INTERNAL
PLL2 INTERNAL
DIR PLL(512 × fS)
DIR PLL(256 × fS)
The ADAV802 has two DAC channels arranged as a stereo pair
with differential analog outputs. Each channel has its own
independently programmable attenuator, adjustable in 128 steps
of 0.375dB per step. The DAC can receive data from the
playback or auxiliary input ports, the SRC, the ADC or the DIR.
Each analog output pin sits at a dc level of VREF, and swings 1.0
Vrms for a 0dB digital input signal. A single op-amp third-order
external low-pass filter is recommended to remove highfrequency noise present on the output pins. Note that the use of
op amps with low slew rate or low bandwidth may cause high
frequency noise and tones to fold down into the audio band;
care should be exercised in selecting these components. The
FILTD and FILTR pins should be bypassed by external
capacitors to AGND. The FILTD pin is used to reduce the noise
of the internal DAC bias circuitry, thereby reducing the DAC
output noise. The voltage at the VREF pin, FILTR can be used to
bias external op amps used to filter the output signals. For
applications where the FILTR is required to drive external op
amps which may draw more than 50µA or may have dynamic
load changes extra buffering should be used to preserve the
quality of the ADAV802 reference. The digital input data source
for the DAC can be selected from a number of available sources.
by programming the appropriate bits in the Datapath Control
register. Figure 7 shows how the digital data source and MCLK
source for the DAC are selected. Each DAC has an independent
volume register giving 256 steps of control with each step giving
approximately 0.375dB of attenuation. Each DAC also has a
peak level register which records the peak value of the digital
audio data. Reading the register clears the peak .
REG: 0x76
BITS 7-5
MCLK
DIVIDER
REG: 0x65
BITS 3-2
DAC
MCLK
DAC
AUXILIARY IN
PLAYBACK
DAC
INPUT
DIR
ADC
801-0007
REG: 0x63
BITS 5-3
Figure 7. Clock and data Path Control on the DAC
TO CONTROL
REGISTERS
DAC
MULTI-BIT
SIGMA-DELTA
MODULATOR
ANALOG
OUTPUT
PEAK
DETECTOR
INTERPOLATOR
VOLUME/MUTE
CONTROL
TO ZERO FLAG PINS
ZERO DETECT
DAC
801-0006
Figure 8. DAC Block Diagram
Rev. Pr G | Page 15 of 53
FROM DAC
DATAPATH
MULTIPLEXER
ADAV802
Preliminary Technical Data
SRC FUNCTIONAL OVERVIEW
IN
THEORY OF OPERATION
ZERO-ORDER
HOLD
fS_IN =1/T1
LOW-PASS
FILTER
OUT
ZERO-ORDER
HOLD
fS_IN
OUT
fS_OUT = 1/T2
ORIGINAL SIGNAL
SAMPLED AT fS_IN
fS_OUT
TIME DOMAIN OF f S_IN SAMPLES
TIME DOMAIN OUTPUT OF THE LOW-PASS FILTER
TIME DOMAIN OF fS_OUT RESAMPLING
801-0009
Asynchronous sample rate conversion is converting data from
at the same or different sample rate. The simplest approach to
an asynchronous sample rate conversion is the use of a zeroorder hold between the two samplers shown in Figure 9 In an
asynchronous system, T2 is never equal to T1 nor is the ratio
between T2 and T1 rational. As a result, samples at fS_OUT will
be repeated or dropped producing an error in the re-sampling
process. The frequency domain shows the wide side lobes that
result from this error when the sampling of fS_OUT is
convolved with the attenuated images from the sin(x)/x nature
of the zero-order hold. The images at fS_IN, dc signal images, of
the zero-order holdare infinitely attenuated. Since the ratio of
T2 to T1 is an irrational number, the error resulting from the resampling at fS_OUT can never be eliminated. However, the
error can be significantly reduced through interpolation of the
input data at fS_IN. The sample rate converter in the ADAV802
is conceptually interpolated by a factor of 220.
IN
INTERPOLATE
BY N
TIME DOMAIN OF THE ZERO-ORDER HOLD OUTPUT
Figure 10. SRC Time Domain
In the frequency domain shown in Figure 11, the interpolation
expands the frequency axis of the zero-order hold. The images
from the interpolation can be sufficiently attenuated by a good
low-pass filter. The images from the zero-order hold are now
pushed by a factor of 220 closer to the infinite attenuation point
of the zero-order hold, which is fS_IN × 220 The images at the
zero-order hold are the determining factor for the fidelity of the
output at fS_OUT. The worst-case images can be computed from
the zero-order hold frequency response, maximum image = sin
(× F/fS_INTERP)/(× F/fS_INTERP). F is the frequency of the worst-case
image that would be 220 × fS_IN ± fS_IN/2 , and fS_INTERP is fS_IN × 220.
SIN(X)/X OF ZER0-ORDER HOLD
The following worst-case images would appear for fS_IN = 192
kHz:
SPECTRUM OF ZERO-ORDER HOLD OUTPUT
Image at fS_INTERP − 96 kHz = –125.1 dB
SPECTRUM OF fS_OUT SAMPLING
Image at fS_INTERP + 96 kHz = –125.1 dB
fS_OUT
2 × fS_OUT
FREQUENCY RESPONSE OF fS_OUT CONVOLVED WITH ZERO-ORDER
HOLD SPECTRUM
801-0008
Figure 9. Zero Order Hold Being Used by fS OUT to Resample Data from fS_IN
CONCEPTUAL HIGH INTERPOLATION MODEL
Interpolation of the input data by a factor of 220 involves placing
(220 −1) samples between each fS_IN sample. Figure 10 shows
both the time domain and the frequency domain of
interpolation by a factor of 220. Conceptually, interpolation by
220 would involve the steps of zero-stuffing (220 −1) number of
samples between each fS_IN sample and convolving this
interpolated signal with a digital low-pass filter to suppress the
images. In the time domain, it can be seen that fS_OUT selects the
closest fS_IN × 220 sample from the zero-order hold as opposed to
the nearest fS_IN sample in the case of no interpolation. This
significantly reduces the re-sampling error.
Rev. Pr G | Page 16 of 53
Preliminary Technical Data
IN
INTERPOLATE
BY N
LOW-PASS
FILTER
ADAV802
ZERO-ORDER
HOLD
fS_IN
OUT
fS_OUT
FREQUENCY DOMAIN OF SAMPLES AT fS_IN
FREQUENCY DOMAIN OF THE INTERPOLATION
fS_IN
and the length of the convolution must be scaled. As the input
sample rate rises over the output sample rate, the anti-aliasing
filter’s cutoff frequency has to be lowered because the Nyquist
frequency of the output samples is less than the Nyquist
frequency of the input samples. To move the cutoff frequency of
the antialiasing filter, the coefficients are dynamically altered
and the length of the convolution is increased by a factor of
(fS_IN/fS_OUT).
This technique is supported by the Fourier transform property
that if f(t) is F(ω), then f(k × t) is F(ω/k). Thus, the range of
decimation is simply limited by the size of the RAM.
220 × fS_IN
THE SAMPLE RATE CONVERTER ARCHITECTURE
SIN(X)/X OF ZER0-ORDER HOLD
220 × fS_IN
801-0010
FREQUENCY DOMAIN OF f S_OUT RESAMPLING
FREQUENCY DOMAIN AFTER
RESAMPLING
220 × fS_IN
Figure 11. Frequency Domain of the Interpolation and Resampling
HARDWARE MODEL
The output rate of the low-pass filter of Figure 10 would be the
interpolation rate, 220 × 192000 kHz = 201.3 GHz. Sampling at a
rate of 201.3 GHz is clearly impractical, not to mention the
number of taps required to calculate each interpolated sample.
However, since interpolation by 220 involves zero-stuffing 220−1
samples between each fS_IN sample, most of the multiplies in the
low-pass FIR filter are by zero. A further reduction can be
realized by the fact that since only one interpolated sample is
taken at the output at the fS_OUT rate, only one convolution needs
to be performed per fS_OUT period instead of 220 convolutions. A
64-tap FIR filter for each fS_OUT sample is sufficient to suppress
the images caused by the interpolation. The difficulty with the
above approach is that the correct interpolated sample needs to
be selected upon the arrival of fS_OUT. Since there are 220 possible
convolutions per fS_OUT period, the arrival of the fS_OUT clock
must be measured with an accuracy of 1/201.3 GHz = 4.96 ps.
Measuring the fS_OUT period with a clock of 201.3 GHz
frequency is clearly impossible; instead, several coarse
measurements of the fS_OUT clock period are made and averaged
over time.
Another difficulty with the above approach is the number of
coefficients required. Since there are 220 possible convolutions
with a 64-tap FIR filter, there needs to be 220 polyphase
coefficients for each tap, which requires a total of 226
coefficients. To reduce the amount of coefficients in ROM, the
SRC stores small subset of coefficients and performs a high
order interpolation between the stored coefficients. So far the
above approach works for the case of fS_OUT > fS_IN. However, in
the case when the output sample rate, fS_OUT, is less than the
input sample rate, fS_IN, the ROM starting address, input data,
The architecture of the sample rate converter is shown in Figure
12. The sample rate converter’s FIFO block adjusts the left and
right input samples and stores them for the FIR filter’s
convolution cycle. The fS_IN counter provides the write address
to the FIFO block and the ramp input to the digital servo loop.
The ROM stores the coefficients for the FIR filter convolution
and performs a high order interpolation between the stored
coefficients. The sample rate ratio block measures the sample
rate for dynamically altering the ROM coefficients and scaling
of the FIR filter length as well as the input data. The digital
servo loop automatically tracks the fS_IN and fS_OUT sample rates
and provides the RAM and ROM start addresses for the start of
the FIR filter convolution.
RIGHT DATA IN
LEFT DATA IN
ROM A
FIFO
ROM B
ROM C
HIGH
ORDER
INTERP
ROM D
fS_IN
COUNTER
DIGITAL
SERVO LOOP
SAMPLE RATE RATIO
FIR FILTER
fS_IN
fS_OUT
SAMPLE RATE
RATIO
L/R DATA OUT
EXTERNAL
RATIO
801-0011
Figure 12. Architecture of the Sample Rate Converter
The FIFO receives the left and right input data and adjusts the
amplitude of the data for both the soft muting of the sample
rate converter and the scaling of the input data by the sample
rate ratio before storing the samples in the RAM. The input data
is scaled by the sample rate ratio because as the FIR filter length
of the convolution increases, so does the amplitude of the
convolution output. To keep the output of the FIR filter from
saturating, the input data is scaled down by multiplying it by
(fS_OUT/fS_IN) when fS_OUT < fS_IN. The FIFO also scales the input
data for muting and unmuting of the SRC.
The RAM in the FIFO is 512 words deep for both left and right
channels. An offset to the write address provided by the fS_IN
counter is added to prevent the RAM read pointer from ever
overlapping the write address. The minimum offset on the SRC
Rev. Pr G | Page 17 of 53
ADAV802
Preliminary Technical Data
sample rate ratio circuit is used to dynamically alter the
coefficients in the ROM for the case when fS_IN >fS_OUT. The ratio
is calculated by comparing the output of an fS_OUT counter to the
output of an fS_IN counter. If fS_OUT >fS_IN, the ratio is held at one.
If fS_IN > fS_OUT, the sample rate ratio is updated if it is different
by more than two fS_OUT periods from the previous fS_OUT to fS_IN
comparison. This is done to provide some hysteresis to prevent
the filter length from oscillating and causing distortion.
MCLKI
XIN
REG: 0x76
BIT 0
ICLK2
ICLK1
DIR PLL (512 × fS)
REG: 0x76
BIT 1
DIR PLL (256 × fS)
The digital servo loop is essentially a ramp filter that provides
the initial pointer to the address in RAM and ROM for the start
of the FIR convolution. The RAM pointer is the integer output
of the ramp filter while the ROM is the fractional part. The
digital servo loop must be able to provide excellent rejection of
jitter on the fS_IN and fS_OUT clocks as well as measure the arrival
of the fS_OUT clock within 4.97 ps. The digital servo loop will also
divide the fractional part of the ramp output by the ratio of
fS_IN/fS_OUT for the case when fS_IN > fS_OUT, to dynamically alter
the ROM coefficients.
PLLINT2
PLLINT1
is 16 samples. However, the Group Delay and Mute In register
can be used to increase this offset. The number of input samples
added to the write pointer of the FIFO on the SRC is 16 + Bits
6-0 of the Group Delay register. This feature is useful in varispeed applications in order to prevent the read pointer to the
FIFO running ahead of the write pointer. When set, bit 7 of the
Group Delay and Mute In register will soft mute the sample
rate. Increasing the offset of the write address pointer is useful
for applications when small changes in the sample rate ratio
between fS_IN and fS_OUT are expected. The maximum decimation
rate can be calculated from the RAM word depth and the group
delay as (512−16)/64 taps = 7.75 for short group delay and (51264)/64 taps = 7 for long group delay.
REG: 0x00
BITS 1-0
SRC
MCLK
AUXILIARY IN
SRC
801-0012
The digital servo loop is implemented with a multi-rate filter. To
settle the digital servo loop filter more quickly upon startup or a
change in the sample rate, a “fast mode” was added to the filter.
When the digital servo loop starts up or the sample rate is
changed, the digital servo loop kicks into “fast mode” to adjust
and settle on the new sample rate. Upon sensing the digital
servo loop settling down to some reasonable value, the digital
servo loop will kick into “normal” or “slow mode.”
PLAYBACK
SRC
INPUT
SRC
OUTPUT
DIR
ADC
REG: 0x62
BITS 7-6
Figure 13. Clock and Data Path Control on the SRC
10
0
-10
-20
-30
-40
SLOW MODE
-50
FAST MODE
-60
-70
-80
MAGNITUDE - dB
-90
-100
-110
-120
-130
-140
-150
-160
-170
-180
-190
-200
-210
-220
0.01
801-0013
During “fast mode” the MUTE_OUT bit in the Sample Rate
Error register is asserted to let the user know clicks or pops may
be present in the digital audio data. The output of the SRC can
be muted, by asserting bit 7 of the Group Delay & Mute register
until the SRC has changed to “slow mode”. The MUTE_OUT bit
can be set to generate an interrupt when the SRC changes to
“slow mode” indicating that the data will be sample rate
converted accurately. The frequency response of the digital
servo loop for "fast mode" and "slow mode" are shown in Figure
14. The FIR filter is a 64-tap filter in the case of fS_OUT ≥ fS_IN and
is (fS_IN/fS_OUT) × 64 taps for the case when fS_IN > fS_OUT. The FIR
filter performs its convolution by loading in the starting address
of the RAM address pointer and the ROM address pointer from
the digital servo loop at the start of the fS_OUT period. The FIR
filter then steps through the RAM by decrementing its address
by 1 for each tap, and the ROM pointer increments its address
by the (fS_OUT/fS_IN) × 220 ratio for fS_IN > fS_OUT or 220 for fS_OUT ≥
fS_IN. Once the ROM address rolls over, the convolution is
completed. The convolution is performed for both the left and
right channels, and the multiply accumulate circuit used for the
convolution is shared between the channels. The fS_IN/fS_OUT
0.1
1
10
FREQUENCY - Hz
100
1e3
1e4
1e5
Figure 14. Frequency Response of the Digital Servo Loop. fS_IN is the X-Axis,
fS_OUT = 192 KHz, Master Clock is 30 MHz
PLL SECTION
The ADAV802 features a dual PLL configuration to generate
independent system clocks for asynchronous operation. Figure
17 shows the block diagram of the PLL section. The PLL
generates the internal and system clocks from a 27MHz clock.
This clock is generated either by a crystal connected between
XIN and XOUT, as shown in Figure 15 or from an external
Rev. Pr G | Page 18 of 53
Preliminary Technical Data
ADAV802
clock source connected directly to XIN. A 54MHz clock can
also be used if the internal clock divider is used. Both PLLs
(PLL1 and PLL2) can be programmed independently and cater
for a range of sampling rates (32/44.1/48 kHz) with selectable
system clock oversampling rates of 256 and 384. Higher
oversampling rates can also be selected by enabling the
doubling of the sampling rate to give 512 or 768 × fS ratios. Note
that this option also allows oversampling ratios of 256 or 384 at
double sample rates of 64/88.2/96 kHz. The PLL outputs can be
routed internally to act as clock sources for the other
component blocks such as the ADC, DAC etc. The outputs of
the PLLs are also available on the three SYSCLK pins. Figure 18
shows how the PLLs can be configured to provide the sampling
clocks.
XTAL
C
801-0017
XOUT
XIN
C
Figure 15. Crystal Connection
Table 19. PLL Frequency Selection Options
PLL
Sample Rate
(fS)
32/44.1/48 kHz
1
MCLK Selection
Normal fS
256/384×fS
64/88.2/96 kHz
32/44.1/48 kHz
64/88.2/96 kHz
Same as fS selected
for PLL 2A
2A
2B
Double fS
512/768×fS
256/384×fS
512/768×fS
256/384×fS
256/384×fS
512×fS
512×fS
The PLLs require a some external components to operate
correctly. These components, shown in Figure 16 form a loop
filter which integrates the current pulses from a charge pump
and produces a voltage which is used to tune the VCO. Good
quality capacitors, such as PPS film, are recommended .Figure
17 shows a block diagram of the PLL section including master
clock selection. Figure 18 shows how the clock frequencies at
the clock output pins, SYSCLK1-3 and the internal PLL clock
values, PLL1 and PLL2 are selected. The clock nodes, PLL1 and
PLL2, can be used as master clocks for the other blocks in the
ADAV802 such as the DAC or ADC. The PLL has separate
supply and ground pins and these should be as clean as possible
to prevent electrical noise being converted into clock jitter by
coupling onto the loop filter pins.
AVDD
1.8nF
732Ω
PLL_LFx
Figure 16. PLL L
F
PLL_LF1
REG: 0x78
BIT 6
XIN
/2
PHASE
DETECTOR
& LOOP
FILTER
REG: 0x74
BIT 4
VCO
OUTPUT
SCALER N1
SYSCLK1
PLL1
N DIVIDER
XOUT
REG: 0x74
BIT 5
MCLKO
/2
MCLKI
REG: 0x78
BIT 7
PHASE
DETECTOR
& LOOP
FILTER
VCO
SYSCLK2
PLL2
N DIVIDER
801-0015
OUTPUT
SCALER N2
PLL_LF2
Figure 17. PLL Section Block Diagram
Rev. Pr G | Page 19 of 53
OUTPUT
SCALER N3
SYSCLK3
801-0014
PLL
BLOCK
33nF
ADAV802
Preliminary Technical Data
PLL1 MCLK
PLL2 MCLK
REG: 0x75
BITS 3-2
48 kHz
32 kHz
44.1 kHz
PLL1
REG: 0x75
BIT 0
×2
FS1
REG: 0x75
BIT 1
256
384
SYSCLK1
REG: 0x77
BIT 0
/2
PLLINT1
REG: 0x75
BIT 5
256
384
×2
FS2
/2
PLLINT2
/2
REG: 0x74
BIT 0
256
512
SYSCLK2
REG: 0x77
BITS 2-1
REG: 0x75
BITS 7-6
48 kHz
32 kHz
44.1 kHz
PLL2
REG: 0x75
BIT 4
FS3
SYSCLK3
801-0016
Figure 18. PLL Clocking Scheme
SPDIF TRANSMITTER AND RECEIVER
REG: 0x74
BIT 4
C1
SPDIF
DIRIN
SPDIF
RECEIVER
DC
LEVEL
COMPARATOR
801-0128
1External Capacitor is only required for variable level SPDIF inputs
Figure 19. DIRIN Block
Rev. Pr G | Page 20 of 53
ADC
DIR
PLAYBACK
DIT
INPUT
AUXILIARY IN
DITOUT
DIT
801-0021
The ADAV802 contains an integrated SPDIF transmitter and
receiver. The transmitter consists of a single output pin,
DITOUT, on which the biphase encoded data appears. The
SPDIF transmitter source can be selected from the different
blocks making up the ADAV802. Additionally the clock source
for the SPDIF transmitter can be selected from the various clock
sources available in the ADAV802. The receiver uses two pins,
DIRIN and DIR_LF. DIRIN accepts the SPDIF input data
stream. The DIRIN pin can be configured to accept a digital
input level as defined by Table 13 or an input signal with a peak
to peak level of 200mV minimum as defined by the IEC60958-3
specification. DIR_LF is a loop filter pin required by the
internal PLL which is used to recover the clock from the SPDIF
data stream. The components shown in Figure 22 form a loop
filter which integrates the current pulses from a charge pump
and produces a voltage which is used to tune the VCO of the
clock recovery PLL. The recovered audio data and audio clock
can be routed to the different blocks of the ADAV801 as
required. Figure 19 shows a conceptual diagram of the DIRIN
block.
SRC
REG: 0x63
BITS 2-0
Figure 20. Digital Output Transmitter Block Diagram
DIRIN
Audio
Data
DIR
Recovered
Clock
801-0022
Figure 21. Digital Input Receiver Block Diagram
Preliminary Technical Data
ADAV802
PREAMBLES
AVDD
DIR_LF
FRAME 191
The biphase-mark encoding violations are shown in Figure 26.
Note that all three preambles include encoding violations.
Ordinarily, the biphase-mark encoding method results in a
polarity transition between bit boundaries.
Serial Digital Audio Transmission Standards
The ADAV802 can receive and transmit SPDIF, AES/EBU and
IEC-958 serial streams. SPDIF is a consumer audio standard
and AES/EBU is a professional audio standard. IEC-958 has
both consumer and professional definitions. This data sheet is
not intended to fully define or to provide a tutorial for these
standards, please contact the international standards setting
bodies for the full specifications.
1
1
1
0
801-0024
DATA
Figure 23. Biphase-Mark Encoding
Digital audio communication schemes use “preambles” to
distinguish between channels (called “subframes”) and between
longer term control information blocks (called “frames”).
Preambles are particular biphase-mark patterns, which contains
encodeing violations that allow the receiver to uniquely
recognize them. These patterns, and their relationship to frames
and subframes, are shown in Figure 24 and Figure 25.
BIPHASE PATTERNS
CHANNEL
LEFT
Y
11100100 OR 00011011
RIGHT
Z
11101000 OR 00010111
LEFT AND C.S. BLOCKSTART
Figure 24. Biphase-Mark Encoded Preambles
801-0025
11100010 OR 00011101
1
0
0
0
1
0
1
1
1
0
0
1
0
0
1
1
1
0
1
0
0
0
PREAMBLE Z
Figure 26. Preambles
The serial digital audio communication scheme are organized
using a frame and subframe construction. There are two
subframes per frame (ordinarily the left and right channel).
Each subframe includes the appropriate four bit preamble, up to
24 bits of audio data, a “validity” (V) bit, a “user” (U) bit, a
“channel status” (C) bit and an even “parity” (P) bit. The channel
status bits and the user bits accumulate over many frames to
convey control information. The channel status bits accumulate
over a 192 frame period (called a channel status block). The
user bits accumulate over 1176 frames when the interconnect is
implementing the so-called “subcode” scheme (EIAJ CP-2401).
The organization of the channel status block, frames and
subframes are shown in Figure 27 and Figure 28.
Data Bits
Address
N
7
6
5
Channel
Status
N+3
N+4
4
3
Emphasis
N+1
N+2
X
1
PREAMBLE Y
0
BIPHASE-MARK
DATA
1
PREAMBLE X
All of these digital audio serial communication schemes encode
audio data and audio control information using the biphasemark method. This encoding method minimizes the dc content
of the transmitted signal. As can be seen from Figure 23 ones in
the original data end up with midcell transitions in the biphasemark encoded data, while zeros in the original data do not. Note
that the biphase-mark encoded data always has a transition
between bit boundaries.
0
FRAME 1
Figure 25. Preambles, Frames and Subframes
Figure 22. DIR loop Filter Components
CLOCK
(2 TIMES BIT RATE)
FRAME 0
1
NonAudio
0
Pro/Con
=0
Category Code
Channel Number
Reserved
Clock
Accuracy
Reserved
(N+5) to
Reserved
(N+23)
N = 0x20 for Receiver Channel Status Buffer
N = 0x38 for Transmitter Channel Status Buffer
Figure 27. Consumer
Rev. Pr G | Page 21 of 53
2
Copyright
Source Number
Sampling Frequency
Word Length
801-0029
750Ω
SUBFRAME
801-0028
82nF
SUBFRAME
801-0023
2.2µF
801-0026
X LEFT CH Y RIGHT CH Z LEFT CH Y RIGHT CH X LEFT CH Y RIGHT CH
DIR
BLOCK
+
ADAV802
Preliminary Technical Data
Data Bits
N+1
N+2
6
Sample
Frequency
4
Lock
3
2
1
NonAudio
Emphasis
User Bit Management
Alignment
Level
N+3
N+4
5
Channel Mode
Use of Auxiliary Mode
Sample Bits
Source Word Length
Channel Identification
fs
Scaling
Sample Frequency (fs)
Reserved
Digital Audio
Reference Signal
Reserved
N+6
Alphanumeric Channel Origin Data - First Character
N+7
Alphanumeric Channel Origin Data
N+8
Alphanumeric Channel Origin Data
N+9
Alphanumeric Channel Origin Data - Last Character
N+10
Alphanumeric Channel Destination Data - First Character
N+11
Alphanumeric Channel Destination Data
N+12
Alphanumeric Channel Destination Data
N+13
Alphanumeric Channel Destination Data - Last Character
N+14
Local Sample Address Code - LSW
N+15
Local Sample Address Code
N+16
Local Sample Address Code
N+17
Local Sample Address Code - MSW
N+18
Time Of Day Code - LSW
N+19
Time Of Day Code
N+20
Time Of Day Code
N+21
Time Of Day Code - MSW
N+23
The ADAV802 uses a double buffering scheme to handle
reading Channel Status and User bit information. The Channel
Status bits are available as a memory buffer taking up 24
consecutive register locations. The User bits are read using an
indirect memory addressing scheme where the Receiver User
Bit Indirect Address register is programmed with an offset to
the User bit buffer and the Receiver User Bit Data register can
be read to determine the User bits at that location. Reading the
Receiver User Bit Data register automatically updates the
Indirect Address Register to the next location in the buffer.
Typically the Receiver User Bit Indirect Address register is
programmed to zero, the start of the buffer, and the Receiver
User Bit Data register is read repeatedly until all the buffers data
has been read. Figure 29 and Figure 30 shows how receiving the
Channel Status and User bits is implemented.
Pro/Con
=1
N+5
N+22
Receiver Section
0
Reliability Flags
Reserved
Cyclic Redundancy Check Character (CRCC_
DIRIN
CHANNEL
STATUS A
(24 X 8 BITS)
SPDIF
RECEIVE
BUFFER
CHANNEL
STATUS B
(24 X 8 BITS)
SECOND BUFFER
RECEIVE
CS BUFFER
(0x20-0x37)
801-0031
N
7
RxCSSWITCH
FIRST BUFFER
Figure 29. Channel Status Buffer
SPDIF IN
801-0030
Address
0.....7
8.....15
16.....23
0.....7
8.....15
16.....23
FIRST
BUFFER
USER BIT
BUFFER
N = 0x20 for Receiver Channel Status Buffer
N = 0x38 for Transmitter Channel Status Buffer
Figure 28. Professional
The standards allow for the channel status bits in each subframe
to be independent, but ordinarily the channel status bit in the
two subframes of each frame are the same. The channel status
bits are defined differently for the consumer audio standards
and the professional audio standards. The 192 channel status
bits are organized into 24 bytes and have the interpretations
shown in Figure 27 and Figure 28.
The SPDIF transmitter and receiver have a comprehensive
register set. The registers give the user full access to the
functions of the SPDIF block such as detecting non-audio and
validity bits, Q subcodes, preambles etc. The channel status bits
as defined by the IEC60958 and AES3 specification are stored in
register buffers for ease of use. An autobuffering function allows
for channel status and user bits read by the receiver to be copied
directly to the transmitter block removing the need for user
intervention.
ADDRESS = 0x50
RECEIVER USER BIT
INDIRECT ADDRESS
REGISTER
ADDRESS = 0x51
RECEIVER USER BIT
DATA REGISTER
801-0032
Figure 30. Receiver User Bit Buffer
The SPDIF receive buffer is updated continuously by the
incoming SPDIF stream and once all of the channel status bits
for the block, 192 for channel A and 192 for channel B, are
received the bits are copied into the receiver channel status
buffer. This buffer stores all 384 bits of channel status
information and the RxCSSWITCH bit in the Channel Status
Switch Buffer register determines whether the channel A or
channel B status bits are required to be read. The receive
channel status bit buffer is 24 bytes long and spans the address
range from 0x20 to 0x37.
Since the Channel Status bits of an SPDIF stream rarely change
a software interrupt/flag bit, RxCSBINT is provided to notify
the host control that either a new block of channel status bits is
available or that the first 5 bytes of channel status information
Rev. Pr G | Page 22 of 53
Preliminary Technical Data
ADAV802
The size of the User bit buffer can be set using by programming
the RxBCONF0 bit in the Receiver Buffer Configuration
register as shown in Table 20.
Table 20. RxBCONF3 Functionality
RxBCONF0
0
1
Receiver User Bit Buffer Size
384 bits with Preamble Z as the start of the block
768 bits with Preamble Z as the start of the block
The updating of the User bit buffer is controlled by bits
RxBCONF2-1 and bits 7 to 4 of the Channel Status as shown in
Table 21 and Table 22.
Table 21. RxBCONF2-1 Functionality
RxBCONF
Bit 2
Bit
1
0
0
0
1
1
0
Receiver User Bit Buffer Configuration
User bits are ignored
Update second buffer when first buffer is full
Format according to byte 1, bits 4-7 if PRO bit is
set. Format according to IEC60958-3 if PRO bit is
clear
Table 22. Automatic User Bit Configuration
Bits
7
0
0
1
1
Automatic Receiver User Bit Buffer
Configuration
6
0
1
0
1
5
0
0
0
0
4
0
0
0
0
User Bits are ignored
AES-18 format, the User bit buffer is treated in
the same way as when RxBCONF2-1 = 0b01
User bit buffer is updated in the same way as
when RxBCONF2-1 = 0b01 and RxBCONF0 =
0b00
User defined format, the User bit buffer is
treated in the same way as when RxBCONF2-1 =
0b01
When the User bit buffer has been filled, the RxUBINT
interrupt bit in the Interrupt Status register will be set, provided
that the RxUBINT Mask bit is set, to indicate that the buffer has
new information and can be read.
For the special case when the user data is formatted according
to the IEC60958-3 standard into messages made of of
information units, called IUs, the zeros stuffed between each IU
and each message are removed and only the IUs are stored.
Once the end of the message is sensed, by more that 8 zeros
between IUs, the User bit buffer is updated with the complete
message and the first buffer begins looking for the start of the
next message. Each IU is stored as a byte consisting of 1, Q, R, S,
T, U, V and W bits (see the IEC60958-3 specification for more
information). For the case where 96IUs are received, the Q
subcode of the IUs is stored in the Q subcode buffer consisting
of 10 bytes. The Q subcode is the Q bits taken from each of the
96 IUs. The first 10 bytes, 80 bits, of the Q subcode contain
information sent by CD, MD and DAT systems. The last 16 bits
of the Q subcode are used to perform a CRC check of the Q
subcode. If an error occurs in the CRC check of the Q subcode,
the QCRCERROR bit will be set. This is a sticky bit and will
remain high until the register is read.
Transmitter Operation
The SPDIF transmitter has a similar buffer structure to the
receive section. The transmitter Channel Status buffer occupies
24 bytes of the register map. This buffer is long enough to store
the 192 bits required for one channel of Channel Status
information. Setting the TxCSSWITCH bit determines if the
data loaded to the Transmitter Channel Status buffer is intended
for channel A or channel B. In most cases the channel status bits
for channel A and channel B are the same in which case setting
the Tx_A/B_Same bit will read the data from the Transmitter
Channel Status buffer and transmit it on both channels. Since
the Channel Status information is rarely changed during
transmission the information contained in the buffer is
transmitted repeatedly. The Disable_Tx_Copy bit can be used to
prevent the Channel Status bits from being copied from the
Transmitter CS Buffer into the SPDIF Transmitter buffer until
the user has finished loading the buffers. This feature is typically
used if the channel A and channel B data is different. Setting the
bit will prevent the data being copied and clearing the bit will
allow the data to be copied and then transmitted. Figure 31
shows how the buffers are organized.
DITOUT
TRANSMIT
CS BUFFER
(0x38-0x4F)
TxCSSWITCH
CHANNEL
STATUS A
(24 X 8 BITS)
CHANNEL
STATUS B
(24 X 8 BITS)
SPDIF
TRANSMIT
BUFFER
801-0033
have changed from a previous block. The function of the
RxCSBINT is controlled by the RxBCONF3 bit in the Receiver
Buffer Configuration Register.
Figure 31. Transmitter Channel Status Buffer
As with the receiver section the transmitted User bits are also
double buffered. This is required since, unlike the Channel
Status bits, the User bits do not necessarily repeat themselves.
The User bits can be buffered in various configuration as Table
23. Transmission of the user bits is determined by the state of
the BCONF3 bit. If the bit is 0 the user bits will begin
transmitting straight away without alignment to the Z preamble.
If this bit is 1 the User bits will not start transmitting until a Z
preamble occurs when the TxBCONF2-1 bits are 01.
Rev. Pr G | Page 23 of 53
ADAV802
Preliminary Technical Data
Table 23. Transmitter User Bit Buffer Configurations
TxBCONF21
Bit2 Bit1
0
0
0
1
1
0
1
1
Transmitter User Bit Buffer Configuration
Zeros are transmitted for the User bits
Host writes User bits to the buffer until it is full
Write the user bits to the buffer in IUs specified by
IEC60958-3 and transmit them according to the
standard
The first 10 bytes of the user bit buffer is
configured to store a Q subcode
Table 24. Transmitter User Bit Buffer Size
TxBCONF0
0
1
Buffer Size
384 bits with Preamble Z as the start of the block
768 bits with Preamble Z as the start of the block
The transmit buffers can notify the host or micro-controller
when the first user bit buffer has been updated and when the
second transmit user bit buffer is full using sticky bits and
interrupts. The sticky bit TxUBINT, is set when the transmit
user buffer has been updated and the second transmit user bit
buffer is ready to accept new user bits. The sticky bit, TxFBINT,
is set whenever the second transmit user bit buffer is full and
any new writes to this buffer will be ignored until the first
transmit buffer is updated. These two bits are located in the
Interrupt Status register. When the host reads the Interrupt
Status register these bits will be cleared. Interrupts for the
TxUBINT and TxFBINT sticky bits can be enabled by setting
the TxUBMASK and TxFBMASK bits respectively in the
Interrupt Status Mask register.
ADDRESS = 0x52
TRANSMITTER USER BIT
INDIRECT ADDRESS
REGISTER
ADDRESS = 0x53
TRANSMITTER USER BIT
DATA REGISTER
0.....7
8.....15
16.....23
0.....7
8.....15
16.....23
USER BIT
BUFFER
SECOND
BUFFER
801-0034
SPDIF OUT
Figure 32.Transmitter User Bit Buffer
Autobuffering
The ADAV802 SPDIF receiver and transmitter sections have an
autobuffering mode allowing the Channel Status and User bits
to be copied automatically from the receiver to the transmitter
without user intervention. The Channel Status and User bits can
be independently selected for autobuffering using the
Auto_CSBits and Auto_UBits bits in Autobuffer register
respectively. When the receiver and transmitter are running at
the same sample rate the transmitted Channel Status and User
bits will be the same as the received Channel Status and User
bits. However in many systems it is likely that the receiver and
transmitter will not be running at the same frequency. When
the transmitter sample rate is higher than receiver sample rate,
the Channel Status and User bit block may be repeated
sometimes. When the transmitter sample rate is lower than the
receiver sample rate, the Channel Status and User bit blocks
may be dropped. Since the first 5 bytes of the Channel Status
are, typically, constant the can be repeated or dropped and no
information is lost. However, if the PRO bit in the channel
status is set and the local sample address code and time of day
code bytes contain information, these bytes may be repeated or
dropped in which case information can be lost. It is up to the
user to determine how to handle this case. In the case of the
user bits being transmitted according to the IEC60958-3 format
the messages contained in the user bits can still be sent without
dropping or repeating messages. Since zero-stuffing is allowed
between IUs and messages, zeros can be added or subtracted to
preserve the messages. For the case when the transmitter sample
rate is greater than the receiver sample rate extra zeros are
stuffed between the messages. When the sample rate of the
transmitter is less than the sample rate of the receiver, the zeros
stuffed between the messages will be subtracted. If there is not
enough zeros between the messages to be subtracted, the zeros
between IUs will be subtracted as well. The Zero_Stuff_IU bit in
the Autobuffer register enables zeros to be added or subtracted
between messages.
Interrupts
The ADAV802 provides interrupt bits to indicate the presence
of certain conditions which may require attention. Reading the
Interrupt Status register will allow the user to determine if any
of the interrupts have be asserted. The bits of the Interrupt
Status register will remain high, if set, until the register is read.
Two bits, SRCError and RxError indicate interrupt conditions
in the sample rate converter and an SPDIF receiver error
respectively. Both of these condition require a read of the
appropriate error register to determine the exact cause of the
interrupt. Each interrupt in the Interrupt Status register has an
associated mask bit in the Interrupt Status Mask register. The
interrupt mask bit must be set for the corresponding interrupt
to be generated. This feature allows the user to determine which
functions should be responded to. The dual function pin
ZEROL/INT can be set to indicate the presence of no audio
data on the left channel or the presence of an interrupt being set
in the Interrupt Status register. The function of this pin is
selected by the INTRPT bit in DAC Control Register 4 as shown
in Table 25.
Rev. Pr G | Page 24 of 53
Preliminary Technical Data
ADAV802
Table 25. ZEROL/INT Pin Functionality
CLOCKING SCHEME
INTRPT
0
1
The ADAV802 provides a flexible choice of on-chip and offchip clocking sources. The on-chip oscillator with dual-PLLs is
intended to offer complete system clocking requirements for
use with available MPEG encoders, decoders or combination
codecs. The oscillator function is designed for generation of a
27 MHz video clock from a 27 MHz crystal connected between
XIN and XOUT pins. Capacitors are also required to be
connected between these pins and DGND as shown in Figure
15. The capacitor values should be specified by the crystal
manufacturer. A square-wave version of the crystal clock is
output on the MCLKO pin. If the system has 27MHz clock
available this can be connected directly to the XIN pin.
Pin Functionality
The pin functions as a ZEROL flag pin
The pin functions as an interrupt pin
SERIAL DATA PORTS
The ADAV802 contains four flexible serial ports (SPORTs) to
allow data transfer to and from the codec. All four SPORTs are
independent and can be configured as master or slave ports. In
Slave Mode the xLRCLK and xBCLK signals are inputs to the
serial ports. In Master Mode, the serial port generates the
xLRCLK and xBCLK signals. The master clock for the SPORT
can be selected from a number of sources, as shown in Figure 34
and care should be taken to ensure that the clock rate is
appropriate for whatever block is connected to the serial port.
For example if the ADC is running from the MCLKI input at
256 × fS then the master clock for the SPORT should also run
run from the MCLKI input to ensure that the ADC and serial
port are synchronised.. The SPORTs can be set to transmit or
receive data in I2S, Left Justified or Right Justified formats with
different word lengths by programming the appropriate bits in
the Playback, Auxiliary Input Port, Record and Auxiliary Output
Port Control Registers. Figure 33 shows a timing diagram of the
serial data port formats.
LRCLK
DATA PATH
The ADAV802 features a Digital Input/Output
switching/multiplexing matrix which gives flexibility to the
range of possible Input and Output connections. Digital Input
ports include Playback and Auxiliary Input - both 3-wire digital
- and S/PDIF (single wire to the on-chip receiver). Output ports
include the Record and Auxiliary Output ports - both 3-wire
digital - and the S/PDIF port (single wire from the on-chip
transmitter). Internally the DIR and DIT are interfaced via 3wire interfaces. The data path for each input and output port is
selected by programming Datapath Control Registers 1 and 2.
Figure 35 shows the internal data path structure of the
ADAV802.
LEFT CHANNEL
RIGHT CHANNEL
BCLK
SDATA
MSB
LSB
MSB
LSB
LEFT-JUSTIFIED MODE - 16 BITS TO 24 BITS PER CHANNEL
LEFT CHANNEL
LRCLK
RIGHT CHANNEL
BCLK
SDATA
MSB
MSB
LSB
I2S
LSB
MODE - 16 BITS TO 24 BITS PER CHANNEL
LEFT CHANNEL
LRCLK
RIGHT CHANNEL
BCLK
MSB
LSB
MSB
LSB
RIGHT-JUSTIFIED MODE - SELECT NUMBER OF BITS PER CHANNEL
Figure 33. Serial Data Modes
Rev. Pr G | Page 25 of 53
801-0018
SDATA
ADAV802
Preliminary Technical Data
REG: 0x76
BITS 4-2
ADC
DIR PLL (512 × fS)
DIR PLL (256 × fS)
PLLINT1
PLLINT2
MCLKI
XIN
OUTPUT
PORT
OLRCLK
OBCLK
OSDATA
MCLK
ICLK1
ICLK2
PLL CLOCK
REG: 0x76
BITS 7-5
DAC
DIR PLL (512 × fS)
DIR PLL (256 × fS)
PLLINT1
PLLINT2
MCLKI
XIN
REG:0x06
BITS 4-3
INPUT
PORT
ILRCLK
IBCLK
ISDATA
MCLK
ICLK1
ICLK2
PLL CLOCK
REG: 0x77
BITS 4-3
MCLKI
XIN
PLLINT1
PLLINT2
REG:0X04
BITS 4-3
REG: 0x00
BIT 1-0
SRC
ICLK1
MCLK
801-0019
DIR PLL (512 × fS)
DIR PLL (256 × fS)
MCLKI
XIN
PLLINT1
PLLINT2
ICLK2
REG: 0x76
BITS 1-0
Figure 34. Sport Clocking Scheme
PLL
OSCILLATOR
RECORD
DATA
OUTPUT
ADC
AUX
DATA
OUTPUT
REFERENCE
SRC
DIT
CONTROL
REGISTERS
PLAYBACK
DATA
INPUT
AUX
DATA
INPUT
DIR
801-0020
DAC
Figure 35. Data Path
INTERFACE CONTROL
The ADAV802 has a dedicated control port to allow the internal
registers of the ADAV802 to be accessed. Each of the internal
registers is 8 bits wide. Where bits are described as reserved
(RES) these bits should be programmed as zero.
Read/Write bit. If this bit is low the following 8 bits of data will
be loaded to register address provided. If this bit is high a read
operation is indicated. The contents of the register address will
be clocked out on the COUT pin on the following 8 CCLKs. For
a read operation the data bits after the Read/Write bits are
ignored.
SPI Interface
Control of the ADAV802 is via an SPI compatible serial port.
The SPI control port is a 4 wire serial control port with one
cycle of data transfer consisting of 16 bits. Figure 36 shows the
format of an SPI write/read of the ADAV802. The transfer of
data is initiated on the falling edge of CLATCH. The data
presented on the first 7 CCLKs represents the register address
required to be written to or read from. The 8th bit of data is a
Rev. Pr G | Page 26 of 53
Preliminary Technical Data
ADAV802
CLATCH
D15
CIN
D14
COUT
D9
D8
D0
D9
D8
D0
801-0037`
CCLK
15
14
ADDRESS [6:0]
13 12 11 10
9
R/W
8
7
6
5
DATA [7:0]
4
3
2
1
0
801-0038
Figure 37. SPI Serial Port Timing Diaram
Figure 38. SPI Control Word Format
Block Reads and Writes
CLATCH
CIN
REGISTER R/W=0
8 BITS
REGISTER DATA
8 BITS
REGISTER+1 DATA REGISTER+2 DATA
8 BITS
801-0041
The ADAV802 provides the user with the ability to write to or
read from a block of registers in one continuous operation. In
SPI mode, the CLATCH line should be held low for longer than
the 16 CCLK periods to use the block read/write mode. For a
write operation, once the LSB has been clocked into the
ADAV802, on the 16th CCLK the register address as specified
by the first 7 bits of the write operation is incremented and the
next 8 bits will be clocked into the next Register Address. The
read operation is similar. Once the LSB of a read register
operation has been clocked out the Register Address is
incremented and the data from the next register will be clocked
out on the following 8 CCLKs. Figure 39 and Figure 40 show the
timing diagrams for the block write and read operations.
8 BITS
Figure 39. SPI Block Write Operation
CLATCH
DON’T CARE
REGISTER R/W=1
COUT
REGISTER DATA
8 BITS
8 BITS
REGISTER+1 DATA REGISTER+2 DATA
8 BITS
Figure 40. SPI Block Reade Operatio
Rev. Pr G | Page 27 of 53
8 BITS
801-0042
CIN
ADAV802
Preliminary Technical Data
Table 26. SRC & Clock Control Register
SRCDIV1
7
ADDRESS = 0000000
SRCDIV1-0
CLK2DIV1-0
CLK1DIV1-0
MCLKSEL1-0
CLK2DIV1
5
SRCDIV
6
CLK2DIV0
4
CLK1DIV1
3
CLK1DIV0
2
MCLKSEL1
1
MCLKSEL0
0
Divides the SRC Master Clock
00 = The SRC Master Clock is not divided
01 = The SRC Master Clock is divided by 1.5
10 = The SRC Master Clock is divided by 2
11= The SRC Master Clock is divided by 3
Clock Divider for Internal Clock 2 (ICLK2)
00 = Divide by 1
01 = Divide by 1.5
10 = Divide by 2
11 = Divide by 3
Clock Divider for Internal Clock 1 (ICLK1)
00 = Divide by 1
01 = Divide by 1.5
10 = Divide by 2
11 = Divide by 3
Clock Selection for the SRC Master Clock
00 = Internal Clock 1
01 = Internal Clock 2
10 = PLL Recovered Clock (512 × fS)
11 = PLL Recovered Clock (256 × fS)
Table 27. SPDIF Loopback Control Register
RES
7
ADDRESS = 0000011
TxMUX
RES
6
RES
5
RES
4
Selects the source for SPDIF Output (DITOUT)
0 = SPDIF Transmitter - Normal Mode
1 = DIRIN - Loopback Mode
Rev. Pr G | Page 28 of 53
RES
3
RES
2
RES
1
TxMUX
0
Preliminary Technical Data
ADAV802
Table 28. Playback Port Control Register
RES
7
ADDRESS = 0000100
CLKSRC1-0
SPMODE1-0
RES
6
RES
5
CLKSRC1
4
CLKSRC0
3
SPMODE2
2
SPMODE1
1
SPMODE0
0
Selects the Clock Source for generating the ILRCLK and IBCLK
00 = Input Port is a Slave
01 = Recovered PLL Clock
10 = Internal Clock 1
11 = Internal Clock 2
Selects the serial format of the Playback Port
000 = Left Justified
001 = I2S
100 = 24 Bit Right Justified
101 = 20 Bit Right Justified
110 = 18 Bit Right Justified
111 = 16 Bit Right Justified
Table 29. Auxiliary Input Port Register
RES
7
ADDRESS = 0000101
CLKSRC1-0
SPMODE1-0
RES
6
RES
5
CLKSRC1
4
CLKSRC0
3
SPMODE2
2
Selects the Clock Source for generating the IAUXLRCLK and IAXUBCLK
00 = Input Port is a Slave
01 = Recovered PLL Clock
10 = Internal Clock 1
11 = Internal Clock 2
Selects the serial format of Auxiliary Input Port
000 = Left Justified
001 = I2S
100 = 24 Bit Right Justified
101 = 20 Bit Right Justified
110 = 18 Bit Right Justified
111 = 16 Bit Right Justified
Rev. Pr G | Page 29 of 53
SPMODE1
1
SPMODE0
0
ADAV802
Preliminary Technical Data
Table 30. Record Port Control Register
RES
7
ADDRESS = 0000110
RES
CLKSRC1-0
WLEN1-0
SPMODE1-0
RES
6
CLKSRC1
5
CLKSRC0
4
WLEN1
3
WLEN0
2
SPMODE1
1
SPMODE0
0
WLEN0
2
SPMODE1
1
SPMODE0
0
Reserved
Selects the Clock Source for generating the OLRCLK and OBCLK
00 = Record Port is a Slave
01 = Recovered PLL Clock
10 = Internal Clock 1
11 = Internal Clock 2
Selects the Serial Output Word Length
00 = 24 Bits
01 = 20 Bits
10 = 18 Bits
11 = 16 Bits
Selects the serial format of the Record Port
00 = Left Justified
01 = I2S
10 = Reserved
11 = Right Justified
Table 31. Auxiliary Output Port Register
RES
7
ADDRESS = 0000111
RES
CLKSRC1-0
WLEN1-0
SPMODE1-0
RES
6
CLKSRC1
5
CLKSRC0
4
WLEN1
3
Reserved
Selects the Clock Source for generating the OAUXLRCLK and OAUXBCLK
00 = Auxiliary Record Port is a Slave
01 = Recovered PLL Clock
10 = Internal Clock 1
11 = Internal Clock 2
Selects the Serial Output Word Length
00 = 24 Bit
01 = 20 Bits
10 = 18 Bits
11 = 16 Bits
Selects the serial format of the Auxiliary Record Port
00 = Left Justified
01 = I2S
10 = Reserved
11 = Right Justified
Rev. Pr G | Page 30 of 53
Preliminary Technical Data
ADAV802
Table 32. Group Delay and Mute Register
MUTE_SRC
7
ADDRESS = 0001000
MUTE_SRC
GRPDLY6-0
6,5,4,3,2,1,0
Soft Mutes the Output of theSample Rate Converter
0 = No Mute
1 = Soft Mute
Adds delay to the Sample Rate Converter FIR filter by GRPDLY6-0 Input Samples
0000000 = No Delay
0000001 = 1 Sample Delay
0000010 = 2 Sample Delay
1111110 = 126 Sample Delay
1111111 = 127 Sample Delay
GRPDLY6-0
Table 33. Receiver Configuration 1 Register
NO- CLOCK
7
ADDRESS = 0001001
NOCLOCK
RXCLK1-0
AUTO_DEEMPH
ERR1-0
LOCK1-0
RXCLK1-0
6,5
AUTO_ DEEMPH
4
ERR1-0
3,2
Selects the source of the Receiver Clock when the PLL is not locked
0 = The Recovered PLL Clock is used
1 = ICLK1 is used
Determines the oversampling ratio of the Recovered Receiver Clock
00 = RxCLK is a 128 × fS recovered clock
01 = RxCLK is a 256 × fS recovered clock
10 = RxCLK is a 512 × fS recovered clock
11 = Reserved
Automatically de-emphasizes the data from the receiver based on the
Channel Status Information
0 = Automatic De-emphasis is disabled
1 = Automatic De-emphasis is enabled
Defines what action the receiver should take if the receiver detects a parity or
biphase error
00 = No action will be taken
01 = The last valid sample is held
10 = The invalid sample is replaced with zeros
11 = Reserved
Defines what action the receiver should take if the PLL loses lock.
00 = No action will be taken
01 = The last valid sample will be held
10 = Zeros will be sent out after the last valid sample
11 = Soft Mute of the last valid audio sample
Rev. Pr G | Page 31 of 53
LOCK1-0
1,0
ADAV802
Preliminary Technical Data
Table 34. Receiver Configuration 2 Register
SP_PLL_
NO NONRxMUTE
SP-PLL
SEL1-0
RES
RES
AUDIO
7
6
5,4
3
2
1
ADDRESS = 0001010
Hard Mutes the Audio Output for the AES3/SPDIF Receiver
RxMUTE
0 = AES3/SPDIF Receiver is not muted
1 = AES3/SPDIF Receiver is muted
The AES3/SPDIF Receiver PLL will accept a Left/Right Clock from one of the four serial ports as the PLL
SP_PLL
reference clock
0 = Left/Right Clock generated from the AES3/SPDIF preambles is the reference clock to the PLL
1 = Left/Right Clock from one of the serial ports is the reference clock to the PLL
SP_PLL_SEL1-0 Selects one of the four serial ports as the reference clock to the PLL when SP_PLL is set
00 = Playback Port is selected
01 = Auxiliary Input Port is selected
10 = Record Port is selected
11 = Auxiliary Output Port is selected
When the NONAUDIO bit is set, data from the AES3/SPDIF Receiver will not be allowed into the Sample Rate
NO
Converter (SRC). If the NONAUDIO data is due to DTS, AAC, etc. as defined by the IEC61937 standard, then the
NONAUDIO
data from the AES3/SPDIF Receiver will not be allowed into the SRC regardless of the state of this bit
0 = AES3/SPDIF Receiver data will be sent to the SRC
1 = Data fro the AES3/SPDIF Receiver will not be allowed into the SRC if the NONAUDIO bit is set
NO_VALIDITY When the VALIDITY bit is set data from the AES3/SPDIF Receiver will not be allowed into the SRC
0 = AES3/SPDIF Receiver data will be sent to the SRC
1 = Data from the AES3/SPDIF Receiver will not be allowed into the SRC if the VALIDITY bit is set
NO_
VALIDITY
0
Table 35. Receiver Buffer Configuration Register
RES
7
RES
6
RxBCONF5
5
RxBCONF4
4
RxBCONF3
3
RxBCONF2-1
2,1
ADDRESS = 0001011
If the user bits are formatted according to the IEC60958-3 standard and the DAT Category is detected, the
RxBCONF5
User Bit interrupt is only enabled when there is a change in the Start (ID) bit.
0 = The User Bit interrupt is enabled in the normal mode.
1 = If the DAT category is detected, the User bit interrupt is only enabled if there is a change in the Start (ID)
bit
This bit determines whether Channel A and Channel B User Bits are stored in the buffer together or
RxBCONF4
separated between A and B
0 = The User Bits are stored together
1 = The User Bits are stored separately
Defines the function of RxCSBINT
RxBCONF3
0 = RxCSBINT will be set when a new block of receiver channel status is read, which is 192 audio frames
1 = RxCSBINT will be set only if the first five bytes of the receiver channel status block changes from the
previous channel status block
Defines the User Bit Buffer
RxBCONF2-1
00 = User Bits are ignored
01 = Update the second user bit buffer when the first user bit buffer is full
10 = Format the received user bits according to byte 1, bits 4-7, of the channel status if the PRO bit is set. If
the PRO bit is not set format the user bits according to the IEC60958-3 standard
11 = Reserved
Defines the User Bit buffer size if RxBCONF2-1 = 01
RxBCONF0
0 = 384 Bits with Preamble-Z as the start of the buffer
1 = 768 Bits with Preamble-Z as the start of the buffer
Rev. Pr G | Page 32 of 53
RxBCONF0
0
Preliminary Technical Data
ADAV802
Table 36. Transmitter Control Register
RES
7
Tx-VALIDITY
6
Tx-RATIO2-0
5,4,3
TxCLK SEL1-0
2,1
Tx-ENABLE
0
ADDRESS = 0001100
This bit is used to set or clear the VALIDITY bit in the AES3/SPDIF Transmit stream
TxVALIDITY
0 = Audio is suitable for D/A conversion
1 = Audio is not suitable for D/A conversion
Determines the AES3/SPDIF Transmit to AES3/SPDIF Receiver ratio
TxRATIO2-0
000 = Transmitter to Receiver Ratio is 1:1
001 = Transmitter to Receiver Ratio is 1:2
010 = Transmitter to Receiver Ratio is 1:4
101 = Transmitter to Receiver Ratio is 2:1
110 = Transmitter to Receiver Ratio is 4:1
Selects the clock source for the AES3/SPDIF Transmitter
TxCLKSEL1-0
00 = Internal Clock 1 is the clock source for the Transmitter
01 = Internal Clock 2 is the clock source for the Transmitter
10 = The recovered PLL clock is the clock source for the Transmitter
11 = Reserved
Enables the AES3/SPDIF Transmitter
TxENABLE
0 = The AES3/SPDIF Transmitter is disabled
1 = The AES3/SPDIF Transmitter is enabled
Table 37. Transmitter Buffer Configuration Register
IU_Zeros3-0
7,6,5,4
ADDRESS = 0001101
IU_Zeros3-0
TxBCONF3
TxBCONF2-1
TxBCONF0
TxBCONF3
3
TxBCONF2-1
2,1
Determines the number of zeros to be stuffed between IUs in a message up to a
maximum of 8
0000 = 0
0001 = 1
......
0111 = 7
1000 = 8
The Transmitter User Bits can be stored in separate buffers or stored together
0 = The User Bits are stored together
1 = The User Bits are stored seperately
Configures the Transmitter User Bit Buffer.
00 = Zeros are transmitted for the User Bits
01 = The transmitter User Bit buffer size is configured according to TxBCONF0
10 = Write the User Bits to the transmit buffer in IUs specified by the IEC60958-3
standard
11 = Reserved
Determines the buffer size of the transmitter user bits when TxBCONF2-1 is 01
0 = 384 Bits with Preamble-Z as the start of the buffer
1 = 768 Bits with Preamble-Z as the start of the buffer
Rev. Pr G | Page 33 of 53
TxBCONF0
0
ADAV802
Preliminary Technical Data
Table 38. Channel Status Switch Buffer and Transmitter
RES
7
RES
6
Tx_A/B
Same
5
Disable_
Tx_Copy
4
RES
3
RES
2
TxCSSWITCH
1
RxCSSWITCH
0
ADDRESS = 0001110
Transmitter Channel Status A and B are the same. The transmitter will only read from the Channel
Tx_A/B_Same
Status A buffer and place the data into the Channel Status B buffer
0 = Channel Status for A and B are separate
1 = Channel Status for A and B are the same
Disables the copying of the Channel Status bits from Transmitter Channel Status Buffer to SPDIF
Disable_Tx_Copy
Transmitter Buffer
0 = Copying Transmitter Channel Status is enabled
1 = Copying Transmitter Channel Status is disabled
Reserved
RES
Reserved
RES
The toggle switch for the Transmit Channel Status Buffer
TxCSSWITCH
0 = The 24 byte Transmitter Channel Status A Buffer can be accessed at address locations 0x38
through 0x4F
1 = The 24 byte Transmitter Channel Status B Buffer can be accessed at address locations 0x38
through 0x4F
The toggle switch for the Receive Channel Status Buffer
RxCSSWITCH
0 = The 24 byte Receiver Channel Status A Buffer can be accessed at address locations 0x20
through 0x37
1 = The 24 byte Receiver Channel Status B Buffer can be accessed at address locations 0x20
through 0x37
Table 39. Transmitter Message Zeros Most Significant Byte
MSBZeros7-0
7,6,5,4,3,2,1,0
ADDRESS = 0001111
MSBZero7-0
The most significant byte of the number of zeros to be stuffed between IEC60958-3 messages (packets)
Default = 0x00
Table 40. Transmitter Message Zeros Least Significant Byte
LSBZeros7-0
7,6,5,4,3,2,1,0
ADDRESS = 0010000
LSBZero7-0
The least significant byte of the number of zeros to be stuffed between IEC60958-3 messages (packets)
Default = 0x09
Rev. Pr G | Page 34 of 53
Preliminary Technical Data
ADAV802
Table 41. Autobuffer Register
RES
7
Zero_Stuff_IU
6
Auto_Ubits
5
Auto_CSBits
4
IU_Zeros3-0
3,2,1,0
ADDRESS = 0010001
Enables the addition or subtraction of zeros between IUs during autobuffering of the
Zero_Stuff_IU
user bits in IEC60958-3 format
0 = No Zeros added or subtracted
1 = Zeros can be added or subtracted between IUs
Enables the User Bits to be autobuffered between the AES3/SPDIF receiver and
Auto_UBits
transmitter
0 = The User Bits are not autobuffered
1 = The User Bits are autobuffered
Enables the Channel Status bits to be autobuffered between the AES3/SPDIF
Auto_CSBits
receiver and transmitter
0 = The Channel Status bits are not autobuffered
1 = The Channel Status bits are autobuffered
Sets the maximum number of zero stuffing to be added between IUs while
IU_Zeros3-0
autobuffering up to a maximum of 8
0000 = 0
0001 = 1
......
0111 = 7
1000 = 8
Table 42. Sample Rate Ratio MSB Register (Read Only)
RES
7
ADDRESS = 0010010
SRCRATIO14-08
SRCRATIO14-SRCRATIO08
6,5,4,3,2,1,0
The seven most significant bits of the fifteen bit sample rate ratio
Table 43. Sample Rate Ratio LSB Register (Read Only
SRCRATIO07-SRCRATIO01
7,6,5,4,3,2,1,0
ADDRESS = 0010011
SRCRATIO07-00
The eight least significant bits of the fifteen bit sample rate ratio
Table 44. Preamble-C MSB Register (Read Only)
PRE_C15-PRE_08
7,6,5,4,3,2,1,0
ADDRESS = 0010100
PRE_C15-08
The eight most significant bits of the sixteen bit Preamble-C when Nonaudio data is detected according to
the IEC60937 standard, otherwise bits show zeros
Table 45. Preamble-C LSB Register (Read Only)
PRE_C07-PRE_C00
7,6,5,4,3,2,1,0
ADDRESS = 0010101
PRE_C07-00
The eight least significant bits of the sixteen bit Preamble-C when Nonaudio data is detected according to the
IEC60937 standard, otherwise bits show zeros
Rev. Pr G | Page 35 of 53
ADAV802
Preliminary Technical Data
Table 46. Preamble-D MSB Register (Read Only)
PRE_D15-PRE_D08
7,6,5,4,3,2,1,0
ADDRESS = 0010110
PRE_D15-08
The eight most significant bits of the sixteen bit Preamble-D when Nonaudio data is detected according to the
IEC60937 standard, otherwise bits show zeros. When subframe Nonaudio is used this becomes the 8 most
significant bits of the 16 bit Preamble-C of Channel B
Table 47. Preamble-D LSB Register (Read Only)
PRE_D07-PRE_D00
7,6,5,4,3,2,1,0
ADDRESS = 0010111
PRE_D07-00
The eight least significant bits of the sixteen bit Preamble-D when Nonaudio data is detected according to
the IEC60937 standard, otherwise bits show zeros When subframe Nonaudio is used this becomes the 8 most
significant bits of the 16 bit Preamble-C of Channel B
Table 48. Receiver Error Register (Read Only)
RxValidity
7
ADDRESS = 0011000
RxValidity
Emphasis
NonAudio
NonAudio Preamble
CRCError
NoStream
BiPhase/Parity
Lock
Emphasis
6
NonAudio
5
NonAudio
Preamble
4
CRCError
3
NoStream
2
BiPhase/
Parity
1
This is the VALIDITY bit in the AES3 Received stream
This bit will be set if the audio data is preemphasized. Once it has been read it will remain high and
not generate an interrupt unless it changes state
This bit will be set when Channel Status Bit 1 (Nonaudio) is set. Once it has been read it will not
generate another interrupt unless the data becomes audio or the type of nonaudio data changes
This bit will be set if the audio data is nonaudio due to the detection of a Preamble. The NonAudio
Preamble Type register will indicate what type of preamble was detected. Once read it will remain
in its state and not generate an interrupt unless it has changed state
This bit is the error flag for the channel status CRC error check. This bit will not clear until the
Receiver Error Register is read
This bit will be set if there is no AES3/SPDIF stream present at the AES3/SPDIF receiver. Once read it
will remain high and not generate an interrupt unless its changes state.
This bit will be set if a biphase or parity error occurred in the AES3/SPDIF stream. This bit will not be
cleared until the register is read.
This bit will be set if the PLL has locked or cleared when the PLL loses lock. Once read it will remain
in its state and not generate an interrupt unless it has changed state.
Rev. Pr G | Page 36 of 53
Lock
0
Preliminary Technical Data
ADAV802
Table 49. Receiver Error Mask Register
RxValidity
Mask
7
ADDRESS = 0011001
RxValidity Mask
Emphasis Mask
NonAudio Mask
NonAudioPreamble
Mask
CRCError Mask
NoStream Mask
BiPhase/Parity Mask
Lock Mask
Emphasis
Mask
6
Nonaudio
Mask
5
NonAudio
Preamble
Mask
4
CRC
Error
Mask
3
Nostream
Mask
2
BiPhase/
Parity
Mask
1
Lock
Mask
0
Masks the RxValidity bit from generating an interrupt
0= The RxValidity bit will not generate an interrupt
1 = The RxVvalidity bit will generate and interrupt
Masks the Emphasis bit from generating an interrupt
0 = The Emphasis bit will not generate an interrupt
1 = The Emphasis bit will generate and interrupt
Masks the NonAudio bit from generating an interrupt
0 = The NonAudio bit will not generate an interrupt
1 = The NonAudio bit will generate and interrupt
Masks the NonAudio Preamble bit from generating an interrupt
0 = The NonAudio Preamble bit will not generate an interrupt
1 = The NonAudio Preamble bit will generate and interrupt
Masks the CRC Error bit from generating an interrupt
0 = The CRC Error bit will not generate an interrupt
1 = The CRC Error bit will generate and interrupt
Masks the NoStream bit from generating an interrupt
0 = The NoStream bit will not generate an interrupt
1 = The NoStream bit will generate an interrupt
Masks the BiPhase/Parity bit from generating an interrupt
0 = The BiPhase/Parity bit will not generate an interrupt
1 = The BiPhase/Parity bit will generate an interrupt
Masks the Lock bit from generating an interrupt
0 = The Lock bit will not generate an interrupt
1 = The Lock bit will generate an interrupt
Table 50. Sample Rate Converter Error Register (Read Only)
RES
RES
RES
RES
TOO_SLOW
OVRL
OVRR
MUTE_IND
7
6
5
4
3
2
1
0
ADDRESS = 0011010
This bit is set when the clock to the SRC is too slow, i.e. there are not enough clock cycles to complete the internal
TOO_SLOW
convolution.
This bit will be set when the Left Output Data of the sample rate converter has gone over the full-scale range and has
OVRL
been clipped. This bit will not be cleared until the register is read.
This bit will be set when the Right Output Data of the sample rate converter has gone over the full-scale range and has
OVRR
been clipped. This bit will not be cleared until the register is read.
Mute Indicated. This bit is set when the SRC is in Fast Mode and clicks or pops may be heard in the SRC output data. The
MUTE_IND
output of the SRC can be muted, if required, until the SRC is in Slow Mode. Once read this bit will remain in its state and
not generate an interrupt until it has changed state.
Rev. Pr G | Page 37 of 53
ADAV802
Preliminary Technical Data
Table 51. Sample Rate Converter Error Mask Register
RES
7
ADDRESS = 0011011
OVRL Mask
OVRR Mask
MUTE_IND MASK
RES
6
RES
5
RES
4
RES
3
OVRL Mask
2
OVRR Mask
1
MUTE_IND MASK
0
Masks the OVRL from generating an interrupt
0 = The OVRL bit will not generate an interrupt
1 = The OVRL bit will generate an interrupt
Masks the OVRR from generating an interrupt
0 = The OVRR bit will not generate an interrupt
1 = The OVRR bit will generate an interrupt Reserved
Masks the MUTE_IND from generating an interrupt
0 = The MUTE_IND bit will not generate an interrupt
1 = The MUTE_IND bit will generate an interrupt
Table 52. Interrupt Status Register
SRC
TxCSTTxUBTxCSRxCSRxUBRxCSRxError
INT
INT
INT
DIFF
INT
BINT
ERROR
7
6
5
4
3
2
1
0
ADDRESS = 0011100
SRCERROR This bit will be set if one of the sample rate converter interrupts is asserted, and the host should immediately read the
Sample Rate Converter Error register. This bit will remain high until the Interrupt Status register is read
This bit will be set if a write to the transmitter channel status buffer was made while transmitter channel status bits were
TxCSTINT
being copied from transmitter CS buffer to SPDIF Transmit buffer
This bit will be set if the SPDIF Transmit buffer is empty. This bit will remain high until the Interrupt Status register is read.
TxUBINT
This bit will be set if the transmitter channel status bit buffer has transmitted its block of channel status. This bit will remain
TxCSINT
high until the Interrupt Status register is read
This bit will be set if the receiver Channel Status A block is different from the receiver Channel Status B clock. This bit will
RxCSDIFF
remain high until read but does not generate an interupt
This bit will be set if the Receiver User bit buffer has a new block or message. This bit will remain high until the Interrupt
RxUBINT
Status register is read.
This bit will be set if a new block of channel status is read when RxBCONF3 = 0 or if the channel status has changed when
RxCSBINT
RxBCONF3 = 1. This bit will remain high until the Interrupt Status register is read.
This bit will be set if one of the AES3/SPDIF receiver interrupts is asserted and the host should immediately read the Receiver
RxERROR
Error register. This bit will remain high until the Interrupt Status register is read.
Rev. Pr G | Page 38 of 53
Preliminary Technical Data
ADAV802
Table 53. Interrupt Status Mask Register
SRCError
Mask
7
TxCSTINT
TxUBINT
TxCSBINT
Mask
Mask
Mask
6
5
4
ADDRESS = 0011101
DEFAULT VALUE = 0x00
Masks the SRCError bit from generating an interrupt
SRCError Mask
0 = The SRCError bit will not generate an interrupt
1 = The SRCError bit will generate and interrupt
Masks the TxCSTBINT bit from generating an interrupt
TxCSTINT Mask
0 = The TxSCTINT bit will not generate an interrupt
1 = The TxCSTINT bit will generate and interrupt
Masks the TxUBINT bit from generating an interrupt
TxUBINT Mask
0 = The TxUBINT bit will not generate an interrupt
1 = The TxUBINT bit will generate and interrupt
Masks the RxUBINT bit from generating an interrupt
RxUBINT Mask
0 = The RxUBINT bit will not generate an interrupt
1 = The RxUBINT bit will generate and interrupt
Masks the RxCSBINT bit from generating an interrupt
RxCSBINT Mask
0 = The RxCSBINT bit will not generate an interrupt
1 = The RxCSBINT bit will generate an interrupt
Masks the RxError bit from generating an interrupt
RxError Mask
0 = The RxError bit will not generate an interrupt
1 = The RxError bit will generate an interrupt
RES
3
RxUBINT
Mask
2
RxCSBINT
Mask
1
Table 54. Mute and Deemphasis Register
RES
7
ADDRESS = 0011110
TxMUTE
SRC_DEEM1-0
RES
6
TxMUTE
5
RES
RES
SRC_DEEM1-0
4
3
2,1
DEFAULT VALUE = 0x00
Mutes the AES3/SPDIF Transmitter
0 = The Transmitter is not muted
1 = The Transmitter is muted
Selects the Deemphasis Filter for the input data to the Sample Rate Converter
00 = No Deemphasis
01 = 32 kHz Deemphasis
10 = 44.1 kHz Deemphasis
11 = 48 kHz Deemphasis
Rev. Pr G | Page 39 of 53
RES
0
RxError
Mask
0
ADAV802
Preliminary Technical Data
Table 55. NonAudio Preamble Type Register (Read Only)
DTS-CD
Non Audio
Non Audio
Non Audio
Non Audio
RES
RES
RES
Preamble
Frame
Subframe_A
Subframe_B
6
5
4
3
2
1
0
DEFAULT VALUE = 0x
Will be set if the DTS-CD Preamble is detect
This bit will be set if the data received through the AES3/SPDIF Receiver is nonaudio data according to the
IEC61937 standard or nonaudio data according to SMPTE337M
This bit will be set if the data received through Channel A of the AES3/SPDIF Receiver is subframe nonaudio data
according to SMPTE337M
This bit will be set if the data received through Channel B of the AES3/SPDIF Receiver is subframe nonaudio data
according to SMPTE337M
RES
7
ADDRESS = 0011111
DTS-CD Preamble
NonAudio Frame
NonAudio
Subframe_A
NonAudio
Subframe_B
Table 56. Receiver Channel Status Buffer
RCSB7
7
RCSB6
6
RCSB5
5
RCSB4
4
RCSB3
3
RCSB2
2
RCSB1
1
RCSB0
0
ADDRESS = 0100000 to 0110111
This is the 24 byte Receiver Channel Status Buffer. The PRO bit is stored at address location 0x20, bit 0. This buffer is read only if the channel
status is not autobuffered between the receiver and transmitter.
Table 57. Transmitter Channel Status Buffer
TCSB7
TCSB6
TCSB5
TCSB4
TCSB3
TCSB2
TCSB1
TCSB0
7
6
5
4
3
2
1
0
ADDRESS = 0111000 to 1001111
This is the 24 byte Transmitter Channel Status Buffer. The PRO bit is stored at address location 0x38, bit 0. This buffer is disabled when
autobuffering between the receiver and transmitter is enabled.
Table 58. Receiver User Bit Buffer Indirect Address Register
RxUBADDR07-RxUBADDR00
7,6,5,4,3,2,1,0
ADDRESS = 1010000
RxUBADDR07-00
Indirect Address pointing to the address location in the Receiver User Bit buffer
Table 59. Receiver User Bit Buffer Data Registe
RxUBDATA07-RxUBDATA00
7,6,5,4,3,2,1,0
ADDRESS = 1010001
RxUBDATA07-00
A read from this register will read 8 bits of user data from the Receiver User bit buffer pointed to by
RxUBADDR7-0. This buffer can be written to when autobuffering of the user bits is enabled otherwise it is a
read only buffer
Table 60. Transmitter User Bit Buffer Indirect Address Register
TxUBADDR07-TxUBADDR00
7,6,5,4,3,2,1,0
ADDRESS = 1010010
TxUBADDR07-00
Indirect Address pointing to the address location in the Transmitter User Bit buffer
Rev. Pr G | Page 40 of 53
Preliminary Technical Data
ADAV802
Table 61. Transmitter User Bit Buffer Data Register
TxUBDATA07-TxUBDATA00
7,6,5,4,3,2,1,0
ADDRESS = 1010011
TxUBDATA07-00
A write to this register will write 8 bits of user data to the Transmit User bit buffer pointed to by TxUBADDR7-0.
When User Bit autobuffering is enabled this buffer is disabled.
Table 62. Q Subcode CRC Error Status Register (Read Only)
RES
RES
RES
RES
RES
RES
QCRCERROR
QSUB
7
6
5
4
3
2
1
0
ADDRESS = 1010100
This bit will be set if the CRC check of the Q Subcode fails. This bit will remain high but will not generate an interrupt. This
QCRCERROR
bit will be cleared once the register is read.
This bit will be set if a Q subcode has been read into the Q subcode buffer
QSUB
Table 63. Q Subcode Buffe
ADDRESS
0x55
0x56
0x57
0x58
0x59
0x5A
0x5B
0x5C
0x5D
0x5E
BIT7
Address
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
BIT6
Address
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
BIT5
Address
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
BIT4
Address
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
BIT3
Control
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
Rev. Pr G | Page 41 of 53
BIT2
Control
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
BIT1
Control
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
BIT0
Control
Track
Number
Index
Minute
Second
Frame
Zero
Absolute
Minute
Absolute
Second
Absolute
Frame
ADAV802
Preliminary Technical Data
Table 64. Datapath Control Register 1
SRC1
SRC0
REC2
7
6
5
ADDRESS = 1100010
Datapath Source Select for Sample Rate Converter(SRC)
SRC1-0
00 = ADC
01 = DIR
10 = Playback
11 = Auxiliary In
Datapath Source Select for Record Output Port
REC2-0
000 = ADC
001 = DIR
010 = Playback
011 = Auxiliary In
100 = SRC
Datapath Source Select for Auxiliary Output Port
AUXO2-0
000 = ADC
001 = DIR
010 = Playback
011 = Auxiliary In
100 = SRC
REC1
4
REC0
3
AUXO2
2
AUXO1
1
AUXO0
0
DIT1
1
DIT0
0
Table 65. Datapath Control Register 2
RES
7
RES
6
DAC2
5
DAC1
4
ADDRESS = 1100011
Datapath Source Select for DAC
DAC2-0
000 = ADC
001 = DIR
010 = Playback
011 = Auxiliary In
100 = SRC
Datapath Source Select for DIT
DIT2-0
000 = ADC
001 = DIR
010 = Playback
011 = Auxiliary In
100 = SRC
Rev. Pr G | Page 42 of 53
DAC0
3
DIT2
2
Preliminary Technical Data
ADAV802
Table 66. DAC Control Register 1
DR_ALL
7
ADDRESS = 1100100
DR_ALL
DR_ALL
DR_DIG
6
CHSEL1
5
CHSEL0
4
POL1
3
POL0
2
MUTER
1
MUTEL
0
Hard Reset and Powerdown
0 = Normal, Output pins go to VREF Level
1 = Hard Reset & Low Power, Output pins go to AGND
DAC Digital Reset
0 = Normal
1 = Reset All except registers
CHSEL1-0
DAC Channel Select
00 = Normal Left-Right
01 = Both Right
10 = Both Left
11 = Swapped, Right-Left
POL1-0
DAC Channel Polarity
00 = Both Positive
01 = Left Negative
10 = Right Negative
11 = Both Negative
MUTER
Mute Right Channel
0 = Normal
1 = Mute
MUTEL
Mute Left Channel
0 = Normal
1 = Mute
Table 67. DAC Control Register 2
RES
RES
DMCLK1
7
6
5
ADDRESS = 1100101
DAC MCLK Divider
DMCLK1-0
00 = MCLK
01 = MCLK/1.5
10 = MCLK/2
11 = MCLK/3
DAC Interpolator Select
DFS1-0
00 = 8 × (MCLK = 256 × fS)
01 = 4 × (MCLK = 128 × fS)
10 = 2 × (MCLK = 64 × fS)
11 = Reserved
DAC De-emphasis Select 00 = None
DEEM1-0
01 = 44.1 kHz
10 = 32 kHz
11 = 48 kHz
DMCLK0
4
Rev. Pr G | Page 43 of 53
DFS
3
DFS0
2
DEEM1
1
DEEM0
0
ADAV802
Preliminary Technical Data
Table 68. DAC Control Register 3
RES
RES
RES
7
6
5
ADDRESS = 1100110
DAC Zero Flag on Mute and Zero Volume
ZFVOL
0 = Enabled
1 = Disabled
DAC Zero Flag on Zero Data Disable
ZFDATA
0 = Enabled
1 = Disabled
DAC Zero Flag Polarity
ZFPOL
0 = Active High
1 = Active Low
RES
4
RES
3
ZFVOL
2
ZFDATA
1
ZFPOL
0
Table 69. DAC Control Register 4
RES
7
INTRPT
6
ZEROSEL1
5
ZEROSEL0
4
RES
3
RES
2
RES
1
RES
0
ADDRESS = 1100111
This bit selects the functionality of the ZEROL/INT pin
INTRPT
0 = The pin functions as a ZEROL flag pin
1 = The pin functions as an interrupt pin
These bits control the functionality of the ZEROR pin when the ZEROL/INT pin is used as an interrupt
ZEROSEL1-0
00 = The pin functions as a ZEROR flag pin
01 = The pin functions as a ZEROL flag pin
10 = The pin is asserted when either the Left or Right channel is zero
10 = The pin is asserted when both the Left and Right channels are zero
Table 70. DAC Left Volume Register
DVOLL7
7
DVOLL6
6
DVOLL5
5
DVOLL4
4
DVOLL3
3
DVOLL2
2
DVOLL1
1
DVOLL0
0
DVOLR4
4
DVOLR3
3
DVOLR2
2
DVOLR1
1
DVOLR0
0
ADDRESS = 1101000
DAC Left Channel Volume Control
DVOLL7-0
1111111 = 0dBFS
1111110 = -0.375dBFS
0000000 = -95.625dBFS
Table 71. DAC Right Volume Register
DVOLR7
7
DVOLR6
6
DVOLR5
5
ADDRESS = 1101001
DAC Right Channel Volume Control
DVOLL7-0
1111111 = 0dBFS
1111110 = -0.375dBFS
0000000 = -95.625dBFS
Rev. Pr G | Page 44 of 53
Preliminary Technical Data
ADAV802
Table 72. DAC Left Peak Volume Register
RES
7
RES
6
DLP5
5
DLP4
4
DLP3
3
DLP2
2
DLP1
1
DLP0
0
ADDRESS = 1101010
DLP5-0
DAC Left Channel Peak Volume Detection
000000 = 0dBFS
000001 = -1dBFS
111111 = -63dBFS
Table 73. DAC Right Peak Volume Register
RES
RES
DRP5
7
6
5
ADDRESS = 1101011
DAC Right Channel Peak Volume Detection
DRP5-0
000000 = 0dBFS
000001 = -1dBFS
111111 = -63dBFS
DRP4
4
DRP3
3
DRP2
2
DRP1
1
DRP0
0
Table 74. ADC Left Channel PGA Gain Register
RES
7
RES
6
AGL5
5
AGL4
4
AGL3
3
AGL2
2
AGL1
1
AGL0
0
ADDRESS = 1101100
PGA Left Channel Gain Control
AGL5-0
000000 = 0 dB
000001 = +0.5 dB
...........
101111 = +23.5 dB
110000 = +24 dB
...........
111111 = +24 dB
Table 75. ADC Right Channel PGA Gain Register
RES
7
RES
6
AGR5
5
AGR4
4
ADDRESS = 1101101
PGA Right Channel Gain Control
AGR5-0
000000 = 0 dB
000001 = +0.5 dB
...........
101111 = +23.5 dB
110000 = +24 dB
...........
111111 = +24 dB
Rev. Pr G | Page 45 of 53
AGR3
3
AGR2
2
AGR1
1
AGR0
0
ADAV802
Preliminary Technical Data
Table 76. ADC Control Register 1
AMC
7
HPF
6
PWRDWN
5
AND_PD
4
MUTER
3
RES
3
RES
2
MUTEL
2
PLPD
1
PRPD
0
ADDRESS = 1101110
ADC Modulator Clock
AMC
0 = ADC MCLK/2 (128 × fS)
1 = ADC MCLK/4 (64 × fS)
High Pass Filter Enable
HPF
0 = Normal
1 = HPF Enabled
ADC Powerdown
PWRDWN
0 = Normal
1 = Powerdown
ADC Analog Section Powedown
ANA_PD
0 = Normal
1 = Powedown
Mute ADC Right Channel
MUTER
0 = Normal
1 = Muted
Mute ADC Left Channel
MUTEL
0 = Normal
1 = Muted
PGA Left Powerdown
PLPD
0 = Normal
1 = Powerdown
PGA Right Powerdown
PRPD
0 = Normal
1 = Powerdown
Table 77. ADC Control Register 2
RES
7
RES
6
RES
5
BUF_PD
4
MCD1
1
MCD0
0
ADDRESS = 1101111
Reference Buffer Powerdown Control
BUF_PD
0 = Normal
1 = Powerdown
ADC Master Clock Divider
MCD1-0
00 = Divide by 1
01 = Divide by 2
10 = Divide by 3
11 = Divide by 1
Table 78. ADC Left Volume Register
AVOLL7
AVOLL6
AVOLL5
7
6
5
ADDRESS = 1110000
ADC Left Channel Volume Control
AVOLL7-0
1111111 = 1.0 (0dBFS)
1111110 = 0.996 (-0.00348dBFS)
1000000 = 0.5 (-6dBFS)
0111111 = 0.496 (-6.09dBFS)
0000000 = 0.0039 (-48.18dBFS)
AVOLL4
4
Rev. Pr G | Page 46 of 53
AVOLL3
3
AVOLL2
2
AVOLL1
1
AVOLL0
0
Preliminary Technical Data
ADAV802
Table 79. ADC Right Volume Register
AVOLR7
AVOLR6
AVOLR5
7
6
5
ADDRESS = 1110001
ADC Right Channel Volume Control
AVOLR7-0
1111111 = 1.0 (0dBFS)
1111110 = 0.996 (-0.00348dBFS)
1000000 = 0.5 (-6dBFS)
0111111 = 0.496 (-6.09dBFS)
0000000 = 0.0039 (-48.18dBFS)
AVOLR4
4
AVOLR3
3
AVOLR2
2
AVOLR1
1
AVOLR0
0
ALP1
1
ALP0
0
Table 80. ADC Left Peak Volume Register
RES
RES
ALP5
7
6
5
ADDRESS = 1110010
ADC Left Channel Peak Volume Detection
ALP5-0
000000 = 0dBFS
000001 = -1dBFS
111111 = -63dBFS
ALP4
4
ALP3
3
ALP2
2
Table 81. ADC Right Peak Volume Register
RES
7
RES
6
ARP5
5
ARP4
4
ARP3
3
ARP2
2
ARP1
1
PLL2PD
3
PLL1PD
2
XTLPD
1
ARP0
0
ADDRESS = 1110011
ADC Right Channel Peak Volume Detection
ARP5-0
000000 = 0dBFS
000001 = -1dBFS
111111 = -63dBFS
Table 82. PLL Control Register 1
RES
RES
MCLKODIV
PLLDIV
7
6
5
4
ADDRESS = 1110100
Divide Input MCLK by 2 to generate MCLKO
MCLKODIV
0 = Disabled
1 = Enabled
Divide XIN by 2 to generate the PLL master clock
PLLDIV
0 = Disabled
1 = Enabled
Powerdown PLL2
PLL2PD
0 = Normal
1 = Powerdown
Powerdown PLL1
PLL1PD
0 = Normal
1 = Powerdown
Powerdown XTAL Oscillator
XTLPD
0 = Normal
1 = Powerdown
Clock Output for SYSCLK3
SYSCLK3
0 = 512 × fS
1 = 256 × fS
Rev. Pr G | Page 47 of 53
SYSCLK3
0
ADAV802
Preliminary Technical Data
Table 83. PLL Control Register 2
FS2-1
FS2-1
SEL2
7
6
5
ADDRESS = 1110101
Sample Rate Select for PLL2
FS2_1-0
00 = 48 kHz
01 = Reserved
10 = 32 kHz
11 = 44.1 kHz
Oversample Ratio Select for PLL2
SEL2
0 = 256 × fS
1 = 384 × fS
Double Selected Sample Rate on PLL2
DOUB2
0 = Disabled
1 = Enabled
Sample Rate Select for PLL1
FS1-0
00 = 48 kHz
01 = Reserved
10 = 32 kHz
11 = 44.1 kHz
Oversample Ratio Select for PLL1
SEL1
0 = 256 × fS
1 = 384 × fS
Double Selected Sample Rate on PLL1
DOUB1
0 = Disabled
1 = Enabled
DOUB2
4
Rev. Pr G | Page 48 of 53
FS1-1
3
FS1-0
2
SEL1
1
DOUB1
0
Preliminary Technical Data
ADAV802
Table 84 .Internal Clocking Control Register 1
DCLK2
7
DCLK1
6
DCLK0
5
ACLK2
4
ADDRESS = 1110110
DAC Clock Source Select
DCLK2-0
000 = XIN
001 = MCLKI
010 = PLLINT1
011 = PLLINT2
100 = DIR PLL (512 × fs)
101 = DIR PLL (256 × fs)
110 = XIN
111 = XIN
ADC Clock Source Select
ACLK2-0
000 = XIN
001 = MCLKI
010 = PLLINT1
011 = PLLINT2
100 = DIR PLL (512 × fs)
101 = DIR PLL (256 × fs)
110 = XIN
111 = XIN
Source Selector for Internal Clock ICLK2
ICLK2
00 = XIN
01 = MCLKI
10 = PLLINT1
11 = PLLINT2
Rev. Pr G | Page 49 of 53
ACLK1
3
ACLK0
2
ICLK2-1
1
ICLK2-0
0
ADAV802
Preliminary Technical Data
Table 85. Internal Clocking Control Register 2
RES
7
RES
6
RES
5
ICLK1-1
4
ICLK1-0
3
PLL2INT1
2
PLL2INT0
1
PLL1INT
0
ADDRESS = 1110111
Source Selector for Internal Clock ICLK1
ICLK1-0
00 = XIN
01 = MCLKI
10 = PLLINT1
11 = PLLINT2
PLL2 Internal Selector (See Figure 18)
PLL2INT1-0
00 = FS2
01 = FS2/2
10 = FS3
11 = FS3/2
PLL1 Internal Selector
PLL1INT
0 = FS1
1 = FS1/2
Table 86. PLL Clock Source Register
PLL1_Source
7
PLL2_Source
6
RES
5
RES
4
RES
5
DIRIN_PIN
4
RES
3
RES
2
RES
1
RES
0
ADDRESS = 1111000
Selects the clock source for PLL1
PLL1_Source
0 = XIN
1 = MCLKI
Selects the clock source for PLL2
PLL2_Source
0 = XIN
1 = MCLKI
Table 87. PLL Output Enable Register
RES
7
RES
6
RES
3
SYSCLK1
2
ADDRESS = 1111010
This bit determines the input levels of the DIRIN pin
DIRIN_PIN
0 = The DIRIN will accept input signals down to 200mV according to AES3 requirements
1 = The DIRIN will accept input signals as defined in Table 13
Enables the SYSCLK1 Output
SYSCLK1
0 = Enabled
1 = Disabled
Enables the SYSCLK2 Output
SYSCLK2
0 = Enabled
1 = Disabled
Enables the SYSCLK3 Output
SYSCLK3
0 = Enabled
1 = Disabled
Rev. Pr G | Page 50 of 53
SYSCLK2
1
SYSCLK3
0
Preliminary Technical Data
ADAV802
Table 88. ALC Control Register 1
FSSEL1-0
7,6
ADDRESS = 1111011
FSSEL1-0
GAINCNTR1-0
RECMODE1-0
LIMDET
ALCEN
GAINCNTR1-0
RECMODE1-0
LIMDET
5,4
3,2
1
Default = 0x00
These bits should equal the sample rate of the ADC
00 = 96 kHz
01 = 48 kHz
10 = 32 kHz
11 = Reserved
These bits determine the limit of the counter used in Limited Recovery Mode
00 = 3
01 = 7
10 = 15
11 = 31
These bits determine which recovery mode is used by the ALC section
00 = No Recovery
01 = Normal Recovery
10 = Limited Recovery
11 = Reserved
Limit Detect Mode
0 = ALC is used when either channel exceeds the set limit
1 = ALC is used only when both channels exceed the set limit
ALC Enable
0 = Disable ALC
1 = Enable ALC
ALCEN
0
Table 89. ALC Control Register 2
RES
7
ADDRESS = 1111100
RECTH1-0
ATKTH1-0
RECTIME1-0
ATKTIME
RECTH1-0
6,5
Default = 0x52
Recovery Threshold
00 = -2 dB
01 = -3 dB
10 = -4 dB
11 = -6 dB
Attack Theshold
00 = 0 dB
01 = -1 dB
10 = -2 dB
11 = -4 dB
Recovery Time Selection
00 = 32 ms
01 = 64 ms
10 = 128 ms
11 = 256 ms
Attack Timer Selection
0 = 1 ms
1 = 4 ms
Rev. Pr G | Page 51 of 53
ATKTH1-0
4,3
RECTIME1-0 ATKTIME
2,1
0
ADAV802
Preliminary Technical Data
Table 90. ALC Control Register 3
ADDRESS = 1111101
ALC RESET
ALC RESET
7,6,5,4,3,2,1,0
Default = 0x00
A write to this register will restart the ALC operation. The value written to this register is irrelevant. A read
from this register will give the gain reduction factor.
Rev. Pr G | Page 52 of 53
Preliminary Technical Data
ADAV802
OUTLINE DIMENSIONS
Figure 41. 64-Lead Plastic Quad Flatpack [LQFP]
(ST-64)
Dimensions shown in inches and (millimeters)
ORDERING GUIDE
Model
ADAV802AST
Temperature Range
−40°C to +85°C
Control Interface
SPI
© 2003 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
PR04757-0-3/04(PrG)
Rev. Pr G | Page 53 of 53
DAC Outputs
Differential
Package Options
ST-64