2.5V Stereo Audio Codec with 3.3 V Tolerant Digital
Interface
Supports 96 kHz Sample Rates
Supports 16/18 /20/24-Bit Word Lengths
Multibit Sigma Delta Modulators with
“Perfect Differential Linearity Restoration” for
Reduced Idle Tones and Noise Floor
Data Directed Scrambling DACs - Least Sensitive to Jitter
Performance (20 Hz to 20 kHz)
90 dB ADC and DAC SNR
Digitally Programmable Input/Output Gain
On-chip Volume Controls Per Output Channel
Hardware and Software Controllable Clickless Mute
Supports 256xFs, 512xF
Master Clock Pre-Scaler for use with DSP master clocks
Flexible Serial Data Port with Right-Justified, LeftJustified, I
2
S-Compatible and DSP Serial Port Modes
Supports Packed Data Mode (“TDM”) for cascading
devices.
On-Chip Reference
16, 20 and 24-Lead SOIC, SSOP and TSSOP Package
options.
APPLICATIONS
Digital Video Camcorders (DVC)
Portable Audio Devices (Walkman etc)
Audio Processing
Voice Processing
Conference Phones
General Purpose Analog I/O
and 768xFs Master Mode Clocks
s
PRELIMINARY
TECHNICAL
Stereo Audio Analog Front End
DVDD1(EXT)
CDIN
CDOUT
CCLK
CLATCH
ASDATA/SDO
DSDATA/SDI
LRCLK/SDIFS
SDOFS
BCLK/SCLK
CDIN
CDOUT
CCLK
CLATCH
ASDATA
DATA
DSDATA
LRCLK
BCLK
SPI
Port
I2S
Port
DGND
DVDD1(EXT)
SPI
Port
I2S
Port
AD74322
FUNCTIONAL BLOCK DIAGRAM
CLKINDVDD2(INT)
Control
Block
Reference
CLKINDVDD2(INT)
Control
Block
Reference
AVDD
ADC
CHANNEL 1
ADC
CHANNEL 2
DAC
CHANNEL 1
DAC
CHANNEL 2
AGNDREFCAP
AVDD
ADC
CHANNEL 1
ADC
CHANNEL 2
DAC
CHANNEL 1
DAC
CHANNEL 2
VIN1P
VIN1N
VIN2P
VIN2N
VOUT1P
VOUT1N
VOUT2P
VOUT2N
VIN1
VIN2
VOUT1
VOUT2
GENERAL DESCRIPTION
The AD74322 is a front-end processor for general purpose
audio and voice applications. It features two multi-bit Σ∆
A/D conversion channels and two multi-bit Σ∆ D/A
conversion channels. Each ADC channel provides >85 dB
signal-to-noise ratio while each DAC channel provides
>90 dB, both over an audio signal bandwidth.
The AD74322 is particularly suitable for a variety of applications where stereo input and output channels are
required, including audio sections of Digital Video
Camcorder, portable personal audio devices and the
analog front ends of conference phones . Its high quality
performance also make it suitable for speech and telephony
applications such as speech recognition and synthesis and
modern feature phones.
REV. Pr D 03/00
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
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
DGND
DVDD1(EXT)
Control
Block
SDO
SDI
SDIFS
SDOFS
SCLK
One T echnolog y Way, P .O . Box 91 06, Norwood, MA 02062-9106, U.S.A.
T e l: 781/329-4700World Wide W eb Site: http://www .analog.com
Fax: 781/326-8703Analog Devices, Inc., 1998
Data
Port
DGND
CLKINDVDD2(INT)
Reference
AGNDREFCAP
AVDD
ADC
CHANNEL 1
ADC
CHANNEL 2
DAC
CHANNEL 1
DAC
CHANNEL 2
AGNDREFCAP
VIN1
VIN2
VOUT1
VOUT2
AD74322
An on-chip reference voltage is included but can be
bypassed if required for use with an external reference
source.
The AD74322 offers sampling rates which, depending on
MCLK selection and MCLK divider ratio, range from 8
kHz in the voiceband range to 96 kHz in the audio range.
The digital interface to the AD74322 is configured as two
separate ports which allow separation of device control
and data streams. Control and status are monitored using
®
an SPI
data streams are controlled using an I
2
I
Left/Right Clock pins. There is also a DSP mode
available on the audio data port which will also allow both
control and data to be streamed through the same interface
where controller resources are limited.
The AD74322 is available in various lead count package
options. These range from a 16-pin variant with singleended inputs/outputs and no SPI port through a 20-pin
variant with single-ended inputs/outputs and an SPI port
to a 24-pin variant with differential inputs/outputs and an
SPI port. These devices will be available in SOIC, SSOP
and TSSOP package options and are specified for the
industrial temperature range of -40°C to +85°C.
compatible serial port while the input and output
S streams are controlled by a common Bit-Clock and
2S®
port. The two
PRELIMINARY TECHNICAL DA TA
PRELIMINARY
TECHNICAL
DATA
– 2 –Pr D 03/00
PRELIMINARY TECHNICAL DA TA
AD74322A
PARAMETERMinTy pMaxUnitsTest Conditions
ANALOG-TO-DIGITAL CONVERTERS
ADC Resolution (all ADCs)24Bits
Dynamic Range (20 Hz to 20 kHz, -60 dB Input)
No Filter9 0d B
With A-Weighted Filter9 2d B
Total Harmonic Distortion + Noise-85(0.0056)dB(%)
Interchannel IsolationTBDd B
Interchannel Gain MismatchTBDd B
Programmable Input Gain12dB
Gain Step Size3d B
Offset Error0LSB
Full Scale Input Voltage At Each Pin0.5 (1.414)Vrms (Vpp)Single Ended
Automatic Level Control
Attack Time ResolutionTBDBits
Attack TimeT BDµs/Bit
Decay Time ResolutionTBDBits
Decay TimeTB Dµs/Bit
Gain DriftTBDppm/°C
Input Resistance10kΩ
Input Capacitance15p F
Common Mode Input Volts1.1VV
DIGITAL-TO-ANALOG CONVERTERS
Dynamic Range (20 Hz to 20 kHz, -60 dB Input)
No Filter9 0d B
With A-Weighted Filter9 2d B
Total Harmonic Distortion + Noise-85(0.0056)dB(%)
Interchannel IsolationTBDd B
Interchannel Gain MismatchTBDdB(%)
DC Accuracy
Gain ErrorT B D%
Interchannel Gain MismatchTBDppm/°C
Gain DriftT BDd B
Interchannel Crosstalk (EIAJ method)TBDd B
Interchannel Phase DeviationTBDDegrees
Volume Control Step Size (1023 Linear Steps)0.098%
Volume Control Range (Max Attenuation)60dB
Mute Attenuation-100d B
De-emphasis Gain Error+/- 0.1d B
Full Scale Output Voltage At Each Pin0.5 (1.414)Vrms(Vpp)Single Ended
Output Resistance At Each Pin????Ω
Common Mode Output Volts2.25V
REFERENCE (Internal)
Absolute Voltage, V
V
TCT BDppm/°C
REF
ADC DECIMATION FILTER
Pass Band0.xxxFsHz
Pass Band Ripple±0.00xxd B
Transition Band0.xxFs0.xxFsHz
Stop Band0.xxFsH z
Stop Band Attenuation7 0d B
Group Delaylll/Fsnnn/Fsmmm/Fsm s
DAC INTERPOLATION FILTER
Pass Band0.xxxFsHz
Pass Band Ripple±0.00xxd B
Transition Band0.xxFs0.xxFsHz
Stop Band0.xxFsH z
Stop Band Attenuation7 0d B
Group Delaylll/Fsnnn/Fsmmm/Fsm s
PR D 03/00
REF
PRELIMINARY
TECHNICAL
DATA
1.1V
–3–
AD74322
AD74322–SPECIFICA TIONS
PARAMETERMinTypMaxUnitsTest Conditions
LOGIC INPUT
V
, Input High VoltageDVDD1 - 0.8DVDD1V
INH
, Input Low Voltage00. 8V
V
INL
Input Current-10+10µA
Input Capacitance10p F
LOGIC OUTPUT
VOH, Output High VoltageDVDD1 - 0.4DVDD1V
, Output Low Voltage00.4V
V
OL
Three-State Leakage Current-10+10µA
POWER SUPPLIES
AVDD, DVDD22.252.52.75V
DVDD12.73.03.3V
POWER CONSUMPTION
All Sections OnTBDm A
ADCs On OnlyTB DmA
DACs On OnlyTB DmA
Reference On OnlyTBDm A
Powerdown ModeTBDµA
(AVDD = DVDD2 = +2.5V ±10%, DVDD1 = 3.0V ±10%, f
f
= 48 kHz, TA = T
SAMP
AD74322A
MIN
to T
, unless otherwise noted)
MAX
CLKIN
= 12.288 MHz,
PRELIMINARY
TECHNICAL
DATA
–4–
Pr D 03/00
PRELIMINARY TECHNICAL DA TA
ORDERING GUIDE
ModelRangePackage
AD74322DAR-40 C to +85 CR-16
AD74322DARU-40 C to +85 CRU-16
AD74322AAR-40 C to +85 CR-20
AD74322AARU-40 C to +85 CRU-20
AD74322AAR-40 C to +85 CR-24
AD74322AARU-40 C to +85 CRU-24
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 the XX0000 features proprietary ESD protection circuitr y, 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.
PRELIMINARY
AD74322
VOUTP2VINP2
1
VINP1
VINP1
2
3
AGND
4
DGND
5
DVDD2
6
CIN
TOP VIEW
7
(Not to Scale)
8
9
10
DVDD1
MCLKSCLK
CCLK
20
19
18
17
16
15
14
13
12
11
VOUTP1
VOUTP1
AVDDREFCAP
RESET
SDO
SDFS
SDI
COUT
CLATCH
TECHNICAL
VINN1
1
VINN2
VINP1
AGND
DGND
DVDD2
DVDD1
MCLKSCLK
CCLK
CIN
DATA
2
3
4
5
6
7
8
TOP VIEW
9
(Not to Scale)
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
VOUTN1
VOUTN2
VOUTN1VINN1
VOUTP1
AVDDREFCAP
RESET
SDO
SDFS
SDI
COUT
CLATCH
1
VINP1
VINP1
2
3
AGND
4
DGND
5
DVDD2
6
DVDD1
7
MCLKSCLK
8
TOP VIEW
(Not to Scale)
16
15
14
13
12
11
10
9
VOUTP2VINP2
VOUTP1
VOUTP1
AVDDREFCAP
RESET
SDO
SDFS
SDI
–5–Pr D 03/00
AD74322
PIN FUNCTION DESCRIPTION (SINGLE-ENDED I/O ; NO SPI PORT)
MnemonicI/OFunction
VIN1IAnalog Input - Channel 1
VIN2IAnalog Input - Channel 2
VOUT1OAnalog Output - Channel 1
VOUT2OAnalog Output - Channel 2
REFCAPI/OInternal Reference - Can also be used for connection of an external reference
AVDDAnalog Power Supply Connection
AGNDAnalog Ground/Substrate Connection
DVDD1Digital Power Supply Connection (Interface)
DVDD2Digital Power Supply Connection (Core)
DGNDDigital Ground/Substrate Connection
MCLKIExternal Clock Connection
SDOOADC Serial Data Out - DSP Mode
SDIIDAC Serial Data In - DSP Mode
SDFSI/OSerial Data Input Frame Sync - DSP Mode
PIN FUNCTION DESCRIPTION (SINGLE-ENDED I/O WITH SPI PORT)
MnemonicI/OFunction
VIN1IAnalog Input - Channel 1
VIN2IAnalog Input - Channel 2
VOUT1OAnalog Output - Channel 1
VOUT2OAnalog Output - Channel 2
REFCAPI/OInternal Reference - Can also be used for connection of an external reference
AVDDAnalog Power Supply Connection
AGNDAnalog Ground/Substrate Connection
DVDD1Digital Power Supply Connection (Interface)
DVDD2Digital Power Supply Connection (Core)
DGNDDigital Ground/Substrate Connection
MCLKIExternal Clock Connection
CDINISerial Data In on SPI Control Port
CDOUTOSerial Data Out on SPI Control Port
CCLKISerial Clock on SPI Control Port
CLATCHISerial Data Latch on SPI Control Port
ASDATAOADC Serial Data Out - I
DSDATAIDAC Serial Data In - I
LRCLK/I/OLeft/Right Channel Select - I
BCLKI/OBit Clock - I
RESETIPowerdown/Reset Input
PRELIMINARY
TECHNICAL
DATA
2
S
2
S
2
S
2
S
PRELIMINARY TECHNICAL DA TA
– 6 –Pr D 03/00
PRELIMINARY TECHNICAL DA TA
PIN FUNCTION DESCRIPTION (DIFFERENTIAL I/O WITH SPI PORT)
MnemonicI/OFunction
VINP1IAnalog Input - Channel 1 Positive
VINN1IAnalog Input - Channel 1 Negative
VINP2IAnalog Input - Channel 2 Positive
VINN2IAnalog Input - Channel 2 Negative
VOUTP1OAnalog Output - Channel 1 Positive
VOUTN1OAnalog Output - Channel 1 Negative
VOUTP2OAnalog Output - Channel 2 Positive
VOUTN2OAnalog Output - Channel 2 Negative
REFCAPI/OInternal Reference - Can also be used for connection of an external reference
AVDDAnalog Power Supply Connection
AGNDAnalog Ground/Substrate Connection
DVDD1Digital Power Supply Connection (Interface)
DVDD2Digital Power Supply Connection (Core)
DGNDDigital Ground/Substrate Connection
MCLKIExternal Clock Connection
CDINISerial Data In on SPI Control Port
CDOUTOSerial Data Out on SPI Control Port
CCLKISerial Clock on SPI Control Port
CLATCHISerial Data Latch on SPI Control Port
ASDATAOADC Serial Data Out - I
DSDATAIDAC Serial Data In - I
LRCLK/I/OLeft/Right Channel Select - I
BCLKI/OBit Clock - I
RESETIPowerdown/Reset Input
2
S
2
S
2
S
2
S
AD74322
PRELIMINARY
TECHNICAL
DATA
–7–Pr D 03/00
AD74322
PRELIMINARY TECHNICAL DA TA
FUNCTIONAL DESCRIPTION
ADC Section
There are two ADC channels in the AD74322, configured as a stereo
pair. Each ADC channel can be independently muted. The input pins
are switched between differential inputs or four single ended inputs
accordingly. The gain block can be programmed for independent left and
right gains, in steps of +3dB, from 0dB to +12dB. The ADC operates at
an oversampling ratio of 128 and the decimation filter reduces the output
to the standard sample rates. The output maximum
sample rate is 96 kHz at ASDATA.
Automatic Level Control
Analog Sigma Delta Modulator
Decimator Section
The digital decimation filter has a passband ripple of ±0.01dB and a
stopband attenuation of 70dB. The filter is an FIR type with a linear
phase response. The group delay at 48kHz is ??us. Output sample rates
up to 96 kHz are supported.
Input Signal swing
Each ADC input has an input range of 0.5 V
Ended) about a bias point equal to V
REFCAP
/ 1.414 V
RMS
(See Figure
(Single-
P-P
<Input_Swing>)
AD743xx
V
P-P
P-P
REFCAP
V
REFCAP
VINPx
PRELIMINARY
VINNx
1.414 V
1.414 V
TECHNICAL
Figure <Input_Swing>
DAC Section
The AD74322 has two DAC channels arranged as a stereo pair, with two,
fully differential voltage, analog outputs for improved noise and distortion
performance. Each channel has it’s own independently programmable
attenuator with a maximum attenuation of 63dB, adjustable in 1dB steps.
Digital inputs are via a serial data input pin and a common frame
(DLRCLK) and bit (DBLCK) clock or using a ‘packed data’ mode, both
channels can be input using a single data pin.
Interpolator Section
Digital Sigma Delta Modulator
DAC
Analog Output Filter
Output Signal swing
Each ADC input has an output range of 0.5 V
Ended) about a bias point equal to V
REFCAP
<Output_Swing>)
/ 1.414 V
RMS
(See Figure
(Single-
P-P
Reference
The AD74322 features an on-chip reference whose
nominal value is 1.125 V.A __ nF capacitor applied at the
REFCAP pin is necessary to stabilise the referrence. (See
Figure <REFCAP_Int>)
AD743xx
REFCAP
Figure <REFCAP_Int>
If it is required to use an external reference, because of its value or its
reference tempco, the internal reference can be disabled via Control
Register __ and the external reference applied at the REFCAP pin (See
Figure <REFCAP_Ext>).
AD743xx
1.0 V
EXTERNAL
REFERENCE
REFCAP
DATA
Figure <REFCAP_Ext>
Master Clocking Scheme
The update rate of the AD74322’s ADC and DAC channels require an
internal master clock (IMCLK) which is 256 times that sample update
rate (IMCLK = 256 * F
selecting sample rates, the device has a series of three
master clock pre-scalers which are programmable and
allow the user to choose a range of convenient sample
rates from a single external master clock. The master
clock signal to the AD74322 is applied at the MCLK pin.
The MCLK signal is passed through a series of two
programmable MCLK pre-scalers (divider) circuits which
can be selected to reduce the resulting Internal MCLK
(IMCLK) frequency if required. The first MCLK prescaler provides divider ratios of /1 (pass through), /2, /3
while the second pre-scaler provides divider ratios of ./1
(pass through), /2, /4 and the third pre-scaler provides
ratios of /1 (pass through), /2 and /5..
). In order to provide some flexibility in
S
1.414 V
1.414 V
P-P
P-P
V
REFCAP
V
REFCAP
Figure <Output_Swing>
AD743xx
VOUTPx
VOUTNx
Programmable
MCLK
/1
/2
/3
Divider
Control Reg
/1
/2
/4
Pre-Scaler 1Pre-Scaler 2
MCLKIMCLK
– 8 –Pr D 03/00
PRELIMINARY TECHNICAL DA TA
AD74322
FILTER
AVDDVDD2VDD1
2.4 V
3.3 V
REGULATOR
4
AD743xx
4
AGNDDGND
Figure <PSU_Connection>
Figure <MCLK_Divider>
The divider ratios will allow more convenient sample rate
selection from a common MCLK which may be required
in many voice related applications.
Example 1: f
MCLK = 48*103 * 256 = 12.288 MHz to cater for 48
kHz f
SAMP
For f
Pre-Scaler 1, the /2 setting in Pre-Scaler 2 and pass
through in Pre-Scaler 3. This results in an IMCLK =
8*10
Example 2: f
MCLK = 24.576 MHz
For f
Pre-Scaler 1 and the /1 (pass-through) setting in PreScaler 2 and pass through in Pre-Scaler 3. This results in
an IMCLK = 48*10
For f
Pre-Scaler 1 and the /1 (pass-through) setting in PreScaler 2 and pass through in Pre-Scaler 3. This results in
an IMCLK = 32*10
Example 3: fSAMP = 44.1 kHz and 11.025 kHz required
MCLK = 44.1*103 * 256 = 11.2896 MHz to cater for
44.1 kHz f
For f
Scaler 1 and the /4 setting in Pre-Scaler 2 and pass
through in Pre-Scaler 3. This results in an IMCLK =
11.025*10
Sample Rates
For all applications the sampling rate is defined by the internal master
clock frequency (IMCLK) where IMCLK = 256 * f
Power-On Reset
The AD74322 features a power-on reset circuit which
ensures that all internal circuitry is reset and initialised to
= 8 kHz, it is necessary to use the /3 setting in
SAMP
3
* 256 = 2.048 MHz (= 12.288 MHz/6).
= 48 kHz, it is necessary to use the /2 setting in
SAMP
= 32 kHz, it is necessary to use the /3 setting in
SAMP
= 11.025 kHz, it is necessary to use the /1 setting in Pre-
SAMP
= 48 kHz and 8 kHz required
SAMP
= 48 kHz and 32 kHz required
SAMP
3
* 256 = 12.288 MHz.
3
* 256 = 8.192 MHz.
SAMP
3
* 256 = 2.8224 MHz (= 11.2896 MHz/4).
PRELIMINARY
TECHNICAL
DATA
.
SAMP
–9–Pr D 03/00
DUAL
5.0 V
DVDD
DSP
DGND
a known state following the power-up of the device. There
is also a software reset capability available by setting the
RESET bit in Control Register _. This control register is
accessed through the Control Port.
Power Supplies and Grounds
The AD74322 features three separate supplies: AVDD,
DVDD1 and DVDD2.
AVDD is the supply to the analog section of the device
and must therefore be of sufficient quality to preserve the
AD74322’s performance characteristics. It is nominally a
2.4 V supply.
DVDD1 is the supply for the digital interface section of
the device. It is fed from the digital supply voltage of the
DSP or controller to which the device is interfaced and
allows the AD74322 to interface with devices operating at
supplies of between 2.4 V -5% to 3.3 V + 10%.
DVDD2 is the supply for the digital core of the
AD74322. It is nominally a 2.4 V supply.
The AD74322 features two separate interfaces, Control and Data, which
are used to program control settings and send/receive sample data
respectively. The Control interface is implemented using an SPI type
protocol but transfers 16-bits per frame. The Data interface uses either a
DSP or I
and codec. The DSP compatible interface mode allows data samples to be
transferred in a protocol that is supported by the serial interfaces of most
fixed- and floating-point DSPs.
In order to reduce peripheral requirements when interfacing the AD74322
with the host DSP, the DSP mode allows the DSP to send both data and
control information to the device via the data interface. This is the default
mode and requires users to only use a single DSP SPORT to both control
the device and service it with data samples.
Control Interface
Control of the AD74322 operation is via a set of 16 Control Registers
which are programmed through the Control Port. The Control Port
protocol is similar to the SPIÒ protocol with the exception that 16-bits of
data are transferred per frame. The Control Port consists of the following
pins: CCLK - Control Port Serial Clock, CLATCH - Control Port Latch
or Frame signal, CDIN - Control Port Serial Data In and CDOUT Control Port Data Out. CLATCH is a framing signal that is active low.
When asserted, it gates the other interface lines as being active. CCLK is
used to clock input data on CDIN and clock output (readback) data on
CDOUT. Figure <Control_Interface> details the connectivity of the
Control Port to a controller and Figure <Control_Timing> details the
interface timing.
2
S protocol to transfer stereo data samples between controller
PRELIMINARY
AD743xx
TECHNICAL
CDIN CLATCH CCLK CDOUT
DATA
Data in and out of the Control Port go through a 16-bit
shift register whose contents are mapped to the internal
registers using the mapping scheme of Figure
<ContPortMap>. A 16-bit word received by the Control
Port is decoded as a read or write to a register address set
by bits 15 - 12. This 4-bit register address selects 1 of 16
registers as shown in Table <ContRegMap>. Bit 11
selects whether a register read or write is requested Write = 0, Read = 1. Bit-10 is reserved. Bits 9 through 0
contain register data. Each Control register’s contents are
detailed below.
Data Interface
There are two modes of operation of the data interface: DSP mode and
I2S mode. The default mode of the data interface is a DSP mode which
combines control and data functions in a single protocol. This is to reduce
the peripheral overhead required on the DSP when interfacing to the
AD74322. This mode operates in a standard DSP serial format. In I2S
mode the data interface streams audio data samples being sent to or
received from the DACs and ADCs respectively, using the I2S serial
protocol.
In either mode it can be configured as either a master or slave device
ensuring connectivity to the largest number of host processors.
DSP Mode
The DSP mode allows interfacing to most fixed- and floating-point DSPs
as well as other processors such as RISCs etc that having serial ports that
support synchronous communications. The key feature of synchronous
DSP communications is that the serial data is framed by a separate Frame
Sync signal. Figures <Data_DSP_Slave> and <Data_DSP_Master> detail
connectivity in Master Mode (codec is master) and Slave Mode (codec is
slave) respectively.
CONTROLLER
Figure <Control_Interface>
CCLK
CDIN
CDOUT
CLATCH
MSB1413121110987654321LSB
MSB1413121110987654321LSB
Figure <Data_DSP_Slave>
Figure <Control_Timing>
–11–Pr D 03/00
AD74322
BCLK/
SCLK
LRCLK/
FS
PRELIMINARY TECHNICAL DA TA
DSDATA/
SDI
ASDATA/
SDO
CONTROL LEFT DAC RIGHT DAC
STATUS LEFT ADC RIGHT ADC
Figure <DSP_Protocol>
AD743xx
(SLAVE)
LRCLK/SDIFS
DSDATA/SDI
BCLK/SCLK
ASDATA/SDO
SDOFS
DSP
(MASTER)
TFS
DT
SCLK
DR
RFS
Figure <Data_DSP_Master>
The serial protocol uses a fixed position for data being sent to or received
PRELIMINARY
from the Left and Right DACs and ADCs respectively and the control
words being sent to and the status words being received from the device
respectively. Figure <DSP_Protocol> details the arrangement of both
TECHNICAL
audio and control/status information in the serial transfer.
I2S
(Inter IC Sound Bus) Mode
The I2S bus is a three line serial bus which features a serial data line
carrying both left and right (stereo) channels. The Left and Right channel
information are selected by the status of the Left/Right Clock (Word
Select) line. Serial data is clocked by the Bit Clock line. Figures
<Data_I2S_DSP_Master> and <Data_I2S_DSP_Slave> detail the
interface configuration between controller and codec in I
controller as master and slave respectively. Figure <> details I
2
S mode with
2
S timing.
The interface allows easy transfer of arbitrary length serial data samples
sent MSB first. Toggling of the Left/Right Clock line indicates that the
end of the current word will occur after the following Bit Clock cycle and
the start of the alternate channel word will occur on the subsequent Bit
Clock cycle
TFS
ADSP-
21065L
(MASTER)
TCLK
DR
RFS
RCLK
Figure <Data_I2S_DSP_Master>
DATA
ADSP-
21065L
(MASTER)
TFS
TCLK
DR
RFS
RCLK
Figure <Data_I2S_DSP_Slave>
DT
DT
LRCLK/SDIFS
DSDATA/SDI
BCLK/SCLK
ASDATA/SDO
AD743xx
(SLAVE)
LRCLK/SDIFS
DSDATA/SDI
BCLK/SCLK
ASDATA/SDO
AD743xx
(SLAVE)
LRCLK
BCLK
SDATA
LEFT CHANNELRIGHT CHANNEL
MSBLSBMSBLSB
I2S MODE - 16 TO 24-BITS PER CHANNEL
Figure <I2S_Timing>
–12–Pr D 03/00
PRELIMINARY TECHNICAL DA TA
AD74322
CONTROL DATA IN
CONTROL DATA OUT
CONTROL DATA LATCH
CONTROL DATA CLOCK
CCLK
CDIN
CDOUT
MSB
141312111098
DEV N
MSB
141312111098
DEV N
AD743xx
CDIN CLATCH CCLKCDOUT
Figure <Control_Cascade_Daisy_Chain>
PRELIMINARY
DEV N
TECHNICAL
DATA
DEV N
8
DEV 1
8
DEV 1
CDIN CLATCH CCLKCDOUT
7654321LSB
7654321LSB
AD743xx
DEV 1
DEV 1
CLATCH
Figure <Control_Cascade_Timing_Daisy_Chain>
INTERFACING MULTIPLE DEVICES
Many applications require multiple channels of input and output. The
AD743xx series of devices are designed to cater for extending the number
of I/O channels by cascading devices together while interfacing to a single
control or data port. This reduces the overhead requirement on the
controller in terms of serial ports.
Control Port Cascading
There are two methods of cascading the Control Ports of
multiple AD743xx devices together so that all devices can
be controlled from a single controller serial port. One
method is to configure the multiple devices as a daisy
chain of Control Ports each 16-bits wide with common
–13–Pr D 03/00
AD74322
PRELIMINARY TECHNICAL DA TA
CONTROL DATA IN
CONTROL DATA OUT
CONTROL DATA CLOCK
CONTROL DATA LATCH 1
CONTROL DATA LATCH N
CCLK
AD743xx
CDIN CLATCH CCLKCDOUT
Figure <Control_Cascade_TDM>
CDIN CLATCH CCLKCDOUT
PRELIMINARY
AD743xx
CDIN
CDOUT
CLATCH N
CLATCH 1
TECHNICAL
MSB
145432MSB
DEV N
MSB
145432MSB
DEV N
Figure <Control_Cascade_Timing_TDM>
10
10
DATA
DEV N
DEV N
1413321LSB
DEV 1
1413321LSB
DEV 1
DEV 1
DEV 1
–14–Pr D 03/00
PRELIMINARY TECHNICAL DA TA
AD74322
AD743xx
(SLAVE)
LRCLK/
DSDATA/
SDIFS
TFS
DSP
(MASTER)
Clock and Latch signals. The other method involves
creating a common Data In and Data Out buses where
each device has a common Clock but has separate Latch
signals which enable the devices on the bus at different
times - either as a Time Division Multiplex (TDM) or
software control.
Daisy Chain Mode
In Daisy Chain Mode, the serial registers (16-bit) of each device are
cascaded together by connecting the controller’s Data Out to CDIN of
the first device and the CDOUT of the first device to
CDIN of the next device (see Figure
<Control_Cascade_Daisy_Chain>). The CDOUT of the
final device is connected to the controller’s Data In. The
effective cascade length becomes 16 * N (where N is the
number of devices in cascade) and each control word write
to each device requires 16 * N CCLK cycles. Please note
that the CLATCH pin of each device is driven from a
common controller output signal which must be active
during the entire 16 * N CCLK cycles as shown in Figure
<Control_Cascade_Timing_Daisy_Chain>.
TDM Mode
In TDM Mode, each device’s CDIN and CDOUT are commoned to the
controller’s Data Out and Data In respectively (see Figure
<Control_Cascade_TDM>). Each device’s CLATCH pin is separately
controlled. When CLATCH is disasserted activity on CDIN and CCLK
is not recognised and the CDOUT pin is tri-stated. Figure
<Control_Cascade_Timing_TDM> shows TDM Mode Control timing.
Data Port Cascading
The Data Port of the AD74322 is designed to allow
multiple single or dual channel devices to be cascaded
from a single DSP or controller serial port (SPORT).
There is also a mode which allows stereo ADCs and
DT
SCLK
DR
RFS
PRELIMINARY
TECHNICAL
SDI
BCLK/
ASDATA/
SCLK
SDO
DATA
AD743xx
(SLAVE)
LRCLK/
DSDATA/
SDOFS
DACs (with I2S interfaces) to be interfaced to a cascade
of AD743xx devices. This allows extra flexibility in
choosing the number of input and out channels in the
cascade. The various (potential) modes for interfacing the
data ports of multiple devices are listed below:
DSP Mode - Daisy Chaining
In this mode, sample data is passed along a daisychain of
I/O registers in a similar manner that used in the present
AD733xx devices. At the sample event each ADC result is
placed in the I/O register and is subsequently shifted
towards the DSP’s Rx register. This achieved by a
common SDIFS pulse which samples each device (enables
each device’s sample). {Drawback: as the device is stereo,
we would need to send 32 bits (or perhaps more) to the I/
O register at each sample event.}
TDM Mode
In multiplexed mode, each device is programmed with its cascade
position. This allows devices to be enabled to the data buses only in their
appropriate time-slot as defined by the initial frame-sync
signal.