PLL generated or direct master clock
Low EMI design
108 dB DAC/107 dB ADC dynamic range and SNR
−94 dB THD + N
Single 3.3 V supply
Tolerance for 5 V logic inputs
Supports 24 bits and 8 kHz to 192 kHz sample rates
Differential ADC input
Single-ended DAC output
Log volume control with autoramp function
SPI® controllable for flexibility
Software controllable clickless mute
Software power-down
Right justified, left justified, I
Master and slave modes up to 16-channel in/out
48-lead LQFP
APPLICATIONS
Home theater systems
Set-top boxes
Digital audio effects processors
2
S and TDM modes
192 kHz, 24-Bit Codec
ADAU1328
GENERAL DESCRIPTION
The ADAU1328 is a high performance, single-chip codec that
provides two analog-to-digital converters (ADCs) with differential
input and eight digital-to-analog converters (DACs) with
single-ended output using the Analog Devices, Inc. patented
multibit sigma-delta (Σ-Δ) architecture. An SPI port is included,
allowing a microcontroller to adjust volume and many other
parameters. The ADAU1328 operates from 3.3 V digital and
analog supplies. The ADAU1328 is available in a 48-lead
(single-ended output) LQFP. Other members of this family
include a differential DAC output version.
The ADAU1328 is designed for low EMI. This consideration is
apparent in both the system and circuit design architectures.
By using the on-board PLL to derive the master clock from the
LR clock or from an external crystal, the ADAU1328 eliminates
the need for a separate high frequency master clock and can
also be used with a suppressed bit clock. The digital-to-analog
and analog-to-digital converters are designed using the latest
ADI continuous time architectures to further minimize EMI. By
using 3.3 V supplies, power consumption is minimized, further
reducing emissions.
FUNCTIONAL BLOCK DIAGRAM
DIGITAL AUDI O
INPUT/OUTPUT
ADAU1328
SERIAL DATA PORT
SDATA
ADC
ADC
PRECISION
VOLTAGE
REFERENCE
Rev. A
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 respective owners.
Performance of all channels is identical, exclusive of the interchannel gain mismatch and interchannel phase deviation specifications.
Supply Voltages (AVDD, DVDD) 3.3 V
Temperature Range
Master Clock 12.288 MHz (48 kHz f
Input Sample Rate 48 kHz
Measurement Bandwidth 20 Hz to 20 kHz
Word Width 24 bits
Load Capacitance (Digital Output) 20 pF
Load Current (Digital Output) ±1 mA or 1.5 kΩ to ½ DVDD supply
Input Voltage HI 2.0 V
Input Voltage LO 0.8 V
1
Functionally guaranteed at −40°C to +85°C case temperature.
ANALOG PERFORMANCE SPECIFICATIONS
Specifications guaranteed at 25°C (ambient).
Table 1.
Parameter Conditions Min Typ Max Unit
ANALOG-TO-DIGITAL CONVERTERS
ADC Resolution All ADCs 24 Bits
Dynamic Range 20 Hz to 20 kHz, −60 dB input
No Filter (RMS) 98 102 dB
With A-Weighted Filter (RMS) 100 105 dB
Total Harmonic Distortion + Noise −1 dBFS −96 −87 dB
Gain Error −10 +10 %
Interchannel Gain Mismatch −0.25 +0.25 dB
Offset Error −10 0 +10 mV
Gain Drift 100 ppm/°C
Interchannel Isolation −110 dB
CMRR 100 mV rms, 1 kHz 55 dB
100 mV rms, 20 kHz 55 dB
Input Resistance 14 kΩ
Input Capacitance 10 pF
Input Common-Mode Bias Voltage 1.5 V
DIGITAL-TO-ANALOG CONVERTERS
Dynamic Range 20 Hz to 20 kHz, −60 dB input
No Filter (RMS) 98 104 dB
With A-Weighted Filter (RMS) 100 106 dB
With A-Weighted Filter (Avg) 108 dB
Total Harmonic Distortion + Noise 0 dBFS
Single-Ended Version Two channels running −92 dB
Eight channels running −86 −75 dB
Full-Scale Output Voltage 0.88 (2.48) V rms (V p-p)
Gain Error −10 +10 %
Interchannel Gain Mismatch −0.2 +0.2 dB
Offset Error −16 −4 16 mV
Gain Drift −30 30 ppm/°C
Interchannel Isolation 100 dB
1
As specified in Table 1
, 256 × fS mode)
S
Rev. A | Page 3 of 32
Page 4
ADAU1328
Parameter Conditions Min Typ Max Unit
Interchannel Phase Deviation 0 Degrees
Volume Control Step 0.375 dB
Volume Control Range 95 dB
De-emphasis Gain Error ±0.6 dB
Output Resistance at Each Pin 100 Ω
REFERENCE
Internal Reference Voltage FILTR pin 1.50 V
External Reference Voltage FILTR pin 1.32 1.50 1.68 V
Common-Mode Reference Output CM pin 1.50 V
CRYSTAL OSCILLATOR SPECIFICATIONS
Table 2.
Parameter Min Typ Max Unit
Transconductance 3.5 Mmhos
DIGITAL INPUT/OUTPUT SPECIFICATIONS
−40°C < TA < +85°C, DVDD = 3.3 V ± 10%.
Table 3.
Parameter Conditions/Comments Min Typ Max Unit
Input Voltage HI (VIH) 2.0 V
Input Voltage HI (VIH) MCLKI pin 2.2 V
Input Voltage LO (VIL) 0.8 V
Input Leakage IIH @ VIH = 2.4 V 10 μA
I
High Level Output Voltage (VOH) IOH = 1 mA DVDD − 0.60 V
Low Level Output Voltage (VOL) IOL = 1 mA 0.4 V
Input Capacitance 5 pF
@ VIL = 0.8 V 10 μA
IL
Rev. A | Page 4 of 32
Page 5
ADAU1328
POWER SUPPLY SPECIFICATIONS
Table 4.
Parameter Conditions/Comments MinTyp Max Unit
SUPPLIES
Voltage
DVDD 3.0 3.3 3.6 V
AVDD 3.0 3.3 3.6 V
Digital Current MCLK = 256 fS
Normal Operation fS = 48 kHz 56 mA
f
f
Power-Down fS = 48 kHz to 192 kHz 2.0 mA
Analog Current
Normal Operation 74 mA
Power-Down 23 mA
DISSIPATION
Operation MCLK = 256 fS, 48 kHz
All Supplies 429 mW
Digital Supply 185 mW
Analog Supply 244 mW
Power-Down, All Supplies 83 mW
POWER SUPPLY REJECTION RATIO
Signal at Analog Supply Pins 1 kHz, 200 mV p-p 50 dB
20 kHz, 200 mV p-p 50 dB
= 96 kHz 65 mA
S
= 192 kHz 95 mA
S
Rev. A | Page 5 of 32
Page 6
ADAU1328
DIGITAL FILTERS
Table 5.
Parameter Mode Factor Min Typ Max Unit
ADC DECIMATION FILTER
Pass Band 0.4375 fS 21 kHz
Pass-Band Ripple ±0.015 dB
Transition Band 0.5 fS 24 kHz
Stop Band 0.5625 fS 27 kHz
Stop-Band Attenuation 79 dB
Group Delay 22.9844/fS 479 μs
DAC INTERPOLATION FILTER
Pass Band 48 kHz mode, typ @ 48 kHz 0.4535 fS 22 kHz
96 kHz mode, typ @ 96 kHz 0.3646 fS 35 kHz
192 kHz mode, typ @ 192 kHz 0.3646 fS 70 kHz
Pass-Band Ripple 48 kHz mode, typ @ 48 kHz ±0.01 dB
96 kHz mode, typ @ 96 kHz ±0.05 dB
192 kHz mode, typ @ 192 kHz ±0.1 dB
Transition Band 48 kHz mode, typ @ 48 kHz 0.5 fS 24 kHz
96 kHz mode, typ @ 96 kHz 0.5 fS 48 kHz
192 kHz mode, typ @ 192 kHz 0.5 fS 96 kHz
Stop Band 48 kHz mode, typ @ 48 kHz 0.5465 fS 26 kHz
96 kHz mode, typ @ 96 kHz 0.6354 fS 61 kHz
192 kHz mode, typ @ 192 kHz 0.6354 fS 122 kHz
Stop-Band Attenuation 48 kHz mode, typ @ 48 kHz 70 dB
96 kHz mode, typ @ 96 kHz 70 dB
192 kHz mode, typ @ 192 kHz 70 dB
Group Delay 48 kHz mode, typ @ 48 kHz 25/fS 521 μs
96 kHz mode, typ @ 96 kHz 11/fS 115 μs
192 kHz mode, typ @ 192 kHz 8/fS 42 μs
All modes, typ @ 48 kHz
TIMING SPECIFICATIONS
−40°C < TA < +85°C, DVDD = 3.3 V ± 10%.
Table 6.
Parameter Condition Comments Min Max Unit
INPUT MASTER CLOCK (MCLK) AND RESET
tMH MCLK duty cycle
tMH
f
MCLK frequency PLL mode, 256 fS reference 6.9 13.8 MHz
COUT hold From CCLK falling, not shown in Figure 11 30 ns
COH
t
COUT tri-state From CCLK falling 30 ns
COTS
CLATCH
CLATCH
CLATCH
setup
hold
high
DAC SERIAL PORT See Figure 24
t
DBCLK high Slave mode 10 ns
DBH
t
DBCLK low Slave mode 10 ns
DBL
t
DLRCLK setup To DBCLK rising, slave mode 10 ns
DLS
t
DLRCLK hold From DBCLK rising, slave mode 5 ns
DLH
t
DLRCLK skew From DBCLK falling, master mode −8 +8 ns
DLS
t
DSDATA set up To DBC L K r ising 10 ns
DDS
t
DSDATA hold From DBCLK rising 5 ns
DDH
ADC SERIAL PORT See Figure 25
t
ABCLK high Slave mode 10 ns
ABH
t
ABCLK low Slave mode 10 ns
ABL
t
ALRCLK setup To ABCLK rising, slave mode 10 ns
ALS
t
ALRCLK hold From ABCLK rising, slave mode 5 ns
ALH
t
ALRCLK skew From ABCLK falling, master mode −8 +8 ns
ALS
t
ASDATA delay From ABCLK falling 18 ns
ABDD
AUXILIARY INTERFACE
t
AAUXDATA s etu p To AUXBCLK risi n g 10 ns
AXDS
t
AAUXDATA hold From AUXBCLK rising 5 ns
AXDH
t
DAUXDATA delay From AUXBCLK falling 18 ns
DXDD
t
AUXBCLK high 10 ns
XBH
t
AUXBCLK low 10 ns
XBL
t
AUXLRCLK setup To AUXBCLK rising 10 ns
DLS
t
AUXLRCLK hold From AUXBCLK rising 5 ns
DLH
= 1/t
CCLK
CCP
, only t
shown in Figure 11 10 MHz
CCP
To CCLK rising 10 ns
From CCLK falling 10 ns
Not shown in Figure 11 10 ns
Rev. A | Page 7 of 32
Page 8
ADAU1328
ABSOLUTE MAXIMUM RATINGS
Table 7.
Parameter Rating
Analog (AVDD) −0.3 V to +3.6 V
Digital (DVDD) −0.3 V to +3.6 V
Input Current (Except Supply Pins) ±20 mA
Analog Input Voltage (Signal Pins) –0.3 V to AVDD + 0.3 V
Digital Input Voltage (Signal Pins) −0.3 V to DVDD + 0.3 V
Operating Temperature Range (Case) −40°C to +85°C
Storage Temperature Range −65°C to +150°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.
THERMAL RESISTANCE
θJA represents thermal resistance, junction-to-ambient; θ
represents the thermal resistance, junction-to-case. All
characteristics are for a 4-layer board.
Table 8. Thermal Resistance
Package Type θJA θ
48-Lead LQFP 50.1 17 °C/W
Unit
JC
JC
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.
1 I AGND Analog Ground.
2 I MCLKI/XI Master Clock Input/Crystal Oscillator Input.
3 O MCLKO/XO Master Clock Output/Crystal Oscillator Output.
4 I AGND Analog Ground.
5 I AVDD Analog Power Supply. Connect to analog 3.3 V supply.
6 O OL3 DAC 3 Left Output.
7 O OR3 DAC 3 Right Output.
8 O OL4 DAC 4 Left Output.
9 O OR4 DAC 4 Right Output.
10 I
PD
/RST
11 I/O DSDATA4
Power-Down Reset (Active Low).
DAC Serial Data Input 4. Data input to DAC4 data in/TDM DAC2 data out (dual-line mode)/AUX
DAC2 data out (to external DAC2).
12 I DGND Digital Ground.
13 I DVDD Digital Power Supply. Connect to digital 3.3 V supply.
14 I/O DSDATA3
DAC Serial Data Input 3. Data input to DAC3 data in/TDM DAC2 data in (dual-line mode)/AUX ADC2
data in (from external ADC2).
15 I/O DSDATA2
DAC Serial Data Input 2. Data input to DAC2 data in/TDM DAC data out/AUX ADC1 data in (from
external ADC1).
16 I DSDATA1 DAC Serial Data Input 1. Data input to DAC1 data in/TDM DAC data in/TDM data in.
17 I/O DBCLK Bit Clock for DACs.
18 I/O DLRCLK LR Clock for DACs.
19 I/O ASDATA2
ADC Serial Data Output 2. Data output from ADC2/TDM ADC data in/AUX DAC1 data out (to
external DAC1).
20 O ASDATA1 ADC Serial Data Output 1. Data output from ADC1/TDM ADC data out/TDM data out.
21 I/O ABCLK Bit Clock for ADCs.
22 I/O ALRCLK LR Clock for ADCs.
Rev. A | Page 9 of 32
Page 10
ADAU1328
Pin No. In/Out Mnemonic Description
23 I CIN/ADR0 Control Data Input (SPI).
24 I/O COUT/SDA Control Data Output (SPI).
25 I DGND Digital Ground.
26 I CCLK/SCL Control Clock Input (SPI).
27 I
28 O OL1 DAC 1 Left Output.
29 O OR1 DAC 1 Right Output.
30 O OL2 DAC 2 Left Output.
31 O OR2 DAC 2 Right Output.
32 I AGND Analog Ground.
33 I AVDD Analog Power Supply. Connect to analog 3.3 V supply.
34 I AGND Analog Ground.
35 O FILTR Voltage Reference Filter Capacitor Connection. Bypass with 10 μF||100 nF to AGND.
36 I AGND Analog Ground.
37 I AVDD Analog Power Supply. Connect to analog 3.3 V supply.
38 O CM Common-Mode Reference Filter Capacitor Connection. Bypass with 47 μF||100 nF to AGND.
39 I ADC1LP ADC1 Left Positive Input.
40 I ADC1LN ADC1 Left Negative Input.
41 I ADC1RP ADC1 Right Positive Input.
42 I ADC1RN ADC1 Right Negative Input.
43 I ADC2LP ADC2 Left Positive Input.
44 I ADC2LN ADC2 Left Negative Input.
45 I ADC2RP ADC2 Right Positive Input.
46 I ADC2RN ADC2 Right Negative Input.
47 O LF PLL Loop Filter. Return to AVDD.
48 I AVDD Analog Power Supply. Connect to analog 3.3 V supply.
CLATCH
/ADR1
Latch Input for Control Data (SPI).
Rev. A | Page 10 of 32
Page 11
ADAU1328
TYPICAL PERFORMANCE CHARACTERISTICS
0.10
0.08
0.06
0.04
0.02
0
–0.02
MAGNITUDE (d B)
–0.04
–0.06
–0.08
–0.10
018000160001400012000100008000600040002000
FREQUENCY (Hz)
Figure 3. ADC Pass-Band Filter Response, 48 kHz
06102-002
0
–50
MAGNITUDE (dB)
–100
–150
04122436
FREQUENCY (kHz)
Figure 6. DAC Stop-Band Filter Response, 48 kHz
8
06102-005
0
–10
–20
–30
–40
–50
–60
MAGNITUDE (dB)
–70
–80
–90
–100
0400005000 10000 15000 20000 25000 30000 35000
FREQUENCY (Hz)
Figure 4. ADC Stop-Band Filter Response, 48 kHz
0.06
0.04
0.02
0
MAGNITUDE (d B)
–0.02
0.10
0.05
0
MAGNITUDE (d B)
–0.05
–0.10
09724824
06102-003
FREQUENCY (kHz)
6
06102-006
Figure 7. DAC Pass-Band Filter Response, 96 kHz
0
–50
MAGNITUDE (dB)
–100
–0.04
–0.06
02168
FREQUENCY (kHz)
Figure 5. DAC Pass-Band Filter Response, 48 kHz
–150
4
06102-004
09244872
FREQUENCY (kHz)
Figure 8. DAC Stop-Band Filter Response, 96 kHz
Rev. A | Page 11 of 32
6
06102-007
Page 12
ADAU1328
0.5
0.4
0.3
0.2
0.1
0
–0.1
MAGNITUDE (dB)
–0.2
–0.3
–0.4
–0.5
0681632
FREQUENCY (kHz)
4
06102-008
Figure 9. DAC Pass-Band Filter Response, 192 kHz
0
–2
–4
–6
MAGNITUDE (dB)
–8
–10
48966480
FREQUENCY (kHz)
Figure 10. DAC Stop-Band Filter Response, 192 kHz
06102-009
Rev. A | Page 12 of 32
Page 13
ADAU1328
THEORY OF OPERATION
ANALOG-TO-DIGITAL CONVERTERS (ADCs)
There are two ADC channels in the ADAU1328 configured as
two stereo pairs with differential inputs. The ADCs can operate
at a nominal sample rate of 48 kHz, 96 kHz, or 192 kHz. The
ADCs include on-board digital antialiasing filters with 79 dB
stop-band attenuation and linear phase response, operating at
an oversampling ratio of 128 (48 kHz, 96 kHz, and 192 kHz
modes). Digital outputs are supplied through two serial data
output pins (one for each stereo pair) and a common frame
(ALRCLK) and bit (ABCLK) clock. Alternatively, one of the
TDM modes can be used to access up to 16 channels on a single
TDM data line.
The ADCs must be driven from a differential signal source for
best performance. The input pins of the ADCs connect to
internal switched capacitors. To isolate the external driving op
amp from the glitches caused by the internal switched capacitors,
each input pin should be isolated by using a series connected,
external, 100 Ω resistor together with a 1 nF capacitor connected
from each input to ground. This capacitor must be of high quality,
for example, ceramic NPO or polypropylene film.
The differential inputs have a nominal common-mode voltage
of 1.5 V. The voltage at the common-mode reference pin (CM)
can be used to bias external op amps to buffer the input signals
(see the Power Supply and Voltage Reference section). The
inputs can also be ac-coupled and do not need an external dc
bias to CM.
A digital high-pass filter can be switched in line with the ADCs
under serial control to remove residual dc offsets. It has a
1.4 Hz, 6 dB per octave cutoff at a 48 kHz sample rate. The
cutoff frequency scales directly with sample frequency.
DIGITAL-TO-ANALOG CONVERTERS (DACs)
The ADAU1328 DAC channels are arranged as single-ended,
four stereo pairs giving eight analog outputs for minimum
external components. The DACs include on-board digital
reconstruction filters with 70 dB stop-band attenuation and linear
phase response, operating at an oversampling ratio of 4 (48 kHz or
96 kHz modes) or 2 (192 kHz mode). Each channel has its own
independently programmable attenuator, adjustable in 255 steps
in increments of 0.375 dB. Digital inputs are supplied through
four serial data input pins (one for each stereo pair) and a
common frame (DLRCLK) and bit (DBCLK) clock. Alternatively,
one of the TDM modes can be used to access up to 16 channels
on a single TDM data line.
Each output pin has a nominal common-mode dc level of 1.5 V
and swings ±1.27 V for a 0 dBFS digital input signal. A single op
amp, third-order, external, low-pass filter is recommended to
remove high frequency noise present on the output pins. The
use of op amps with low slew rate or low bandwidth can cause
high frequency noise and tones to fold down into the audio
band; therefore, exercise care in selecting these components.
The voltage at CM, the common-mode reference pin, can be
used to bias the external op amps that buffer the output signals
(see the Power Supply and Voltage Reference section).
CLOCK SIGNALS
The on-chip phase locked loop (PLL) can be selected to
reference the input sample rate from either of the LRCLK pins
or 256, 384, 512, or 768 times the sample rate, referenced to the
48 kHz mode from the MCLKI pin. The default at power-up is
256 × f
from MCLKI. In 96 kHz mode, the master clock fre-
S
quency stays at the same absolute frequency; therefore, the
actual multiplication rate is divided by 2. In 192 kHz mode,
the actual multiplication rate is divided by 4. For example, if a
device in the ADAU1328 family is programmed in 256 × f
the frequency of the master clock input is 256 × 48 kHz =
12.288 MHz. If the ADAU1328 is then switched to 96 kHz
operation (by writing to the SPI port), the frequency of the
master clock should remain at 12.288 MHz, which is now 128 ×
f
. In 192 kHz mode, this becomes 64 × fS.
S
The internal clock for the ADCs is 256 × f
for all clock modes.
S
The internal clock for the DACs varies by mode: 512 × f
mode), 256 × f
(96 kHz mode), or 128 × fS (192 kHz mode). By
S
default, the on-board PLL generates this internal master clock
from an external clock. A direct 512 × f
(referenced to 48 kHz
S
mode) master clock can be used for either the ADCs or DACs if
selected in PLL and Clock Control 1 Register.
Note that it is not possible to use a direct clock for the ADCs set
to the 192 kHz mode. It is required that the on-chip PLL be
used in this mode.
The PLL can be powered down in PLL and Clock Control 0
Register. To ensure reliable locking when changing PLL modes,
or if the reference clock is unstable at power-on, power down
the PLL and then power it back up when the reference clock has
stabilized.
The internal MCLK can be disabled in PLL and Clock Control 0
Register to reduce power dissipation when the ADAU1328 is
idle. The clock should be stable before it is enabled. Unless a
standalone mode is selected (see the Serial Control Port
section), the clock is disabled by reset and must be enabled by
writing to the SPI port for normal operation.
mode,
S
(48 kHz
S
Rev. A | Page 13 of 32
Page 14
ADAU1328
C
To maintain the highest performance possible, it is recommended
that the clock jitter of the internal master clock signal be limited
to less than 300 ps rms time interval error (TIE). Even at these
levels, extra noise or tones can appear in the DAC outputs if the
jitter spectrum contains large spectral peaks. If the internal PLL
is not being used, it is highly recommended that an independent
crystal oscillator generate the master clock. In addition, it is
especially important that the clock signal not be passed through
an FPGA, CPLD, or other large digital chip (such as a DSP)
before being applied to the ADAU1328. In most cases, this
induces clock jitter due to the sharing of common power and
ground connections with other unrelated digital output signals.
When the PLL is used, jitter in the reference clock is attenuated
above a certain frequency depending on the loop filter.
RESET AND POWER-DOWN
Reset sets all the control registers to their default settings. To
avoid pops, reset does not power down the analog outputs.
After reset is deasserted, and the PLL acquires lock condition,
an initialization routine runs inside the ADAU1328. This
initialization lasts for approximately 256 MCLKs.
The power-down bits in the PLL and Clock Control 0, DAC
Control 1, and ADC Control 1 registers power down the
respective sections. All other register settings are retained.
The reset pin should be pulled low by an external resistor to
guarantee proper startup.
SERIAL CONTROL PORT
The ADAU1328 has an SPI control port that permits
programming and reading back of the internal control registers
for the ADCs, DACs, and clock system. There is also a standalone mode available for operation without serial control that is
configured at reset using the serial control pins. All registers are
set to default, except the internal MCLK enable is set to 1 and
ADC BCLK and LRCLK master/slave is set by COUT/SDA.
Refer to Table 1 0 for details. It is recommended to use a weak
pull-up resistor on
microcontroller. This pull-up resistor ensures that the
ADAU1328 recognizes the presence of a microcontroller.
The SPI control port of the ADAU1328 is a 4-wire serial control
port. The format is similar to the Motorola SPI format except
the input data-word is 24 bits wide. The serial bit clock and
latch can be completely asynchronous to the sample rate of the
ADCs and DACs. Figure 11 shows the format of the SPI signal.
The first byte is a global address with a read/write bit. For the
ADAU1328, the address is 0x04, shifted left 1 bit due to the
W
R/
bit. The second byte is the ADAU1328 register address
and the third byte is the data.
CLATCH
in applications that have a
Table 10. Standalone Mode Selection
ADC Clocks CIN/ADR0 COUT/SDA CCLK/SCL
CLATCH
/ADR1
Slave 0 0 0 0
Master 0 1 0 0
t
LATCH
CCLK
CIN
COUT
t
COE
CLS
t
CCP
D22D23D9
t
COD
t
CCHtCCL
t
CDStCDH
D8
D8
D9
Figure 11. Format of SPI Signal
t
CLH
t
COTS
D0
D0
06102-010
Rev. A | Page 14 of 32
Page 15
ADAU1328
POWER SUPPLY AND VOLTAGE REFERENCE
The ADAU1328 is designed for 3.3 V supplies. Separate power
supply pins are provided for the analog and digital sections.
These pins should be bypassed with 100 nF ceramic chip
capacitors, as close to the pins as possible, to minimize noise
pickup. A bulk aluminum electrolytic capacitor of at least 22 μF
should also be provided on the same PC board as the codec. For
critical applications, improved performance is obtained with
separate supplies for the analog and digital sections. If this is
not possible, it is recommended that the analog and digital
supplies be isolated by means of a ferrite bead in series with each
supply. It is important that the analog supply be as clean as possible.
All digital inputs are compatible with TTL and CMOS levels.
All outputs are driven from the 3.3 V DVDD supply and are
compatible with TTL and 3.3 V CMOS levels.
The ADC and DAC internal voltage reference (VREF) is brought
out on FILTR and should be bypassed as close as possible to the
chip, with a parallel combination of 10 μF and 100 nF. Any
external current drawn should be limited to less than 50 μA.
The internal reference can be disabled in PLL and Clock
Control 1 Register, and FILTR can be driven from an external
source. This can be used to scale the DAC output to the clipping
level of a power amplifier based on its power supply voltage.
The ADC input gain varies by the inverse ratio. The total gain
from ADC input to DAC output remains constant.
The CM pin is the internal common-mode reference. It should
be bypassed as close as possible to the chip, with a parallel
combination of 47 μF and 100 nF. This voltage can be used to
bias external op amps to the common-mode voltage of the input
and output signal pins. The output current should be limited to
less than 0.5 mA source and 2 mA sink.
SERIAL DATA PORTS—DATA FORMAT
The eight DAC channels use a common serial bit clock (DBCLK)
and a common left-right framing clock (DLRCLK) in the serial
data port. The four ADC channels use a common serial bit clock
(ABCLK) and left-right framing clock (ALRCLK) in the serial
data port. The clock signals are all synchronous with the sample
rate. The normal stereo serial modes are shown in Figure 23.
The ADC and DAC serial data modes default to I
can also be programmed for left justified, right justified, and
TDM modes. The word width is 24 bits by default and can be
programmed for 16 or 20 bits. The DAC serial formats are
programmable according to DAC Control 0 Register. The
polarity of the DBCLK and DLRCLK is programmable according
to DAC Control 1 Register. The ADC serial formats and serial
clock polarity are programmable according to ADC Control 1
Register. Both DAC and ADC serial ports are programmable to
become the bus masters according to DAC Control 1 Register
and Control 2 Register. By default, both ADC and DAC serial
ports are in the slave mode.
2
S. The ports
Rev. A | Page 15 of 32
TIME-DIVISION MULTIPLEXED (TDM) MODES
The ADAU1328 serial ports also have several different TDM
serial data modes. The first and most commonly used
configurations are shown in Figure 12 and Figure 13. In Figure 12,
the ADC serial port outputs one data stream consisting of four
on-chip ADCs followed by four unused slots. In Figure 13, the
eight on-chip DAC data slots are packed into one TDM stream.
In this mode, both DBCLK and ABCLK are 256 f
The I/O pins of the serial ports are defined according to the
serial mode selected. For a detailed description of the function
of each pin in TDM and AUX modes, see Tab l e 11 .
The ADAU1328 allows systems with more than eight DAC
channels to be easily configured by the use of an auxiliary serial
data port. The DAC TDM-AUX mode is shown in Figure 14. In
this mode, the AUX channels are the last four slots of the TDM
data stream. These slots are extracted and output to the AUX serial
port. It should be noted that due to the high DBCLK frequency, this
mode is available only in the 48 kHz/44.1 kHz/32 kHz sample rate.
The ADAU1328 also allows system configurations with more
than four ADC channels, as shown in Figure 15 and Figure 16,
which show using 8 ADCs and 16 ADCs, respectively. Again,
due to the high ABCLK frequency, this mode is available only
in the 48 kHz/44.1 kHz/32 kHz sample rate.
Combining the AUX DAC and ADC modes results in a system
configuration of 8 ADCs and 12 DACs. The system, then, consists of two external stereo ADCs, two external stereo DACs,
and one ADAU1328. This mode is shown in Figure 17
(combined AUX DAC and ADC modes).
LRCLK
BCLK
DATA
LRCLK
BCLK
DATA
32 BCLKs
SLOT 1
LEFT 1
32 BCLK
SLOT 1
LEFT 1
SLOT 2
SLOT 3
RIGHT 1
LEFT 2
MSBMSB–1MSB–2DATA
Figure 12. ADC TDM (8-Channel I
SLOT 2
SLOT 3
RIGHT 1
LEFT 2
MSBMSB–1MSB–2DATA
Figure 13. DAC TDM (8-Channel I
256 BCLKs
SLOT 4
SLOT 5 SLOT 6 SLOT 7 SLOT 8
RIGHT 2
LRCLK
BCLK
256 BCLKs
SLOT 4
SLOT 5
RIGHT 2
LEFT 3
RIGHT 3
LRCLK
BCLK
2
S Mode)
SLOT 6
2
S Mode)
.
S
SLOT 7
LEFT 4
SLOT 8
RIGHT 4
06102-016
06102-017
Page 16
ADAU1328
(
(
Table 11. Pin Function Changes in TDM and AUX Modes
Mnemonic Stereo Modes TDM Modes AUX Modes
ASDATA1 ADC1 Data Out ADC TDM Data Out TDM Data Out
ASDATA2 ADC2 Data Out ADC TDM Data In AUX Data Out 1 (to External DAC 1)
DSDATA1 DAC1 Data In DAC TDM Data In
DSDATA2 DAC2 Data In DAC TDM Data Out
DSDATA3 DAC3 Data In DAC TDM Data In 2 (Dual-Line Mode)
DSDATA4 DAC4 Data In DAC TDM Data Out 2 (Dual-Line Mode)
ALRCLK ADC LRCLK In/Out ADC TDM Frame Sync In/Out
ABCLK ADC BCLK In/Out ADC TDM BCLK In/Out
DLRCLK DAC LRCLK In/Out DAC TDM Frame Sync In/Out
DBCLK DAC BCLK In/Out DAC TDM BCLK In/Out AUX BCLK In/Out
ALRCLK
ABCLK
DSDATA1
(TDM_IN)
EMPTY EMPTY EM PTY EMPTY D AC L1 DAC R1 DAC L 2 DAC R2 DAC L3 DAC R3 DAC L4 DAC R4 AUX L1 AUX R1 AUX L2 AUX R2
8-ON-CHIP DAC CHANNEL S
TDM Data In
AUX Data In 1 (from External ADC 1)
AUX Data In 2 (from External ADC 2)
AUX Data Out 2 (to External DAC 2)
TDM Frame Sync In/Out
TDM BCLK In/Out
AUX LRCLK In/Out
ADC L1 ADC R1 ADC L 2 AD C R2 AUX L1 AUX R1 AUX L2 AUX R2UNUSED UNUSED UNUSED UNUS EDUNUSED UNUSED UNUS ED UNUSED
LEFTRIGHT
MSBMSB
MSBMSB
MSBMSB
MSBMSB
6102-053
Figure 17. Combined AUX DAC and ADC Mode
Rev. A | Page 18 of 32
Page 19
ADAU1328
O
O
DAISY-CHAIN MODE
The ADAU1328 also allows a daisy-chain configuration to
expand the system to 8 ADCs and 16 DACs (see Figure 18). In
this mode, the DBCLK frequency is 512 f
. The first eight slots
S
of the DAC TDM data stream belong to the first ADAU1328 in
the chain and the last eight slots belong to the second ADAU1328.
The second ADAU1328 is the device attached to the DSP
TDM port.
To accommodate 16 channels at a 96 kHz sample rate, the
ADAU1328 can be configured into a dual-line, DAC TDM
mode, as shown in Figure 19. This mode allows a slower
DBCLK than normally required by the one-line TDM mode.
Again, the first four channels of each TDM input belong to the
first ADAU1328 in the chain and the last four channels belong
to the second ADAU1328.
The dual-line TDM mode can also be used to send data at a
192 kHz sample rate into the ADAU1328, as shown in Figure 20.
There are two configurations for the ADC port to work in
daisy-chain mode. The first one is with an ABCLK at 256 f
S
shown in Figure 21. The second configuration is shown in
Figure 22. Note that in the 512 f
ABCLK mode, the ADC
S
channels occupy the first eight slots; the second eight slots are
empty. The TDM_IN of the first ADAU1328 must be grounded
in all modes of operation.
The I/O pins of the serial ports are defined according to the
serial mode selected. See Tab le 1 2 for a detailed description of
the function of each pin. See Figure 26 for a typical ADAU1328
configuration with two external stereo DACs and two external
stereo ADCs.
Figure 23 through Figure 25 show the serial mode formats. For
maximum flexibility, the polarity of LRCLK and BCLK are
programmable. In these figures, all of the clocks are shown with
their normal polarity. The default mode is I
2
S.
DSDATA1 (TDM_I N)
F THE SECO ND ADAU1328
DSDATA2 (TDM_O UT)
F THE SECO ND ADAU1328
THIS IS THE TDM
TO THE FIRST ADAU1328
DLRCLK
DBCLK
8 DAC CHANNELS OF T HE FIRST I C IN THE CHAIN
DAC L1 DAC R1 DAC L2 DAC R2 DAC L3 DAC R3 DAC L4 DAC R4 DAC L 1 DAC R1 DAC L 2 DAC R2 DAC L 3 DAC R3 DAC L 4 DA C R4
8 UNUSED SLOT S
FIRST
ADAU1328
Figure 18. Single-Line DAC TDM Daisy-Chain Mode (Applicable to 48 kHz Sample Rate, 16-Channel, Two ADAU1328 Daisy Chain)
SECOND
ADAU1328
DSP
8 DAC CHANNELS OF T HE SECOND IC I N THE CHAIN
DAC L1 DAC R1 DA C L2 DAC R2 DA C L3 DAC R3 DA C L4 DAC R4
32 BITS
MSB
06102-054
Rev. A | Page 19 of 32
Page 20
ADAU1328
O
O
DLRCLK
DBCLK
DSDATA1
(IN)
DSDATA2
(OUT)
DSDATA3
(IN)
DSDATA4
(OUT)
DAC L1DAC R1DAC L2DAC R2DAC L1DAC R1DAC L2DAC R2
DAC L3DAC R3DAC L4DAC R4DAC L3DAC R3DAC L4DAC R4
32 BITS
MSB
FIRST
ADAU1328
SECOND
ADAU1328
DSP
8 DAC CHANNELS OF T HE SECOND IC IN THE CHAIN8 DAC CHANNELS OF T HE FIRST IC IN THE CHAI N
DAC L1DAC R1DAC L2DAC R2
DAC L3DAC R3DAC L4DAC R4
06102-055
Figure 19. Dual-Line DAC TDM Mode (Applicable to 96 kHz Sample Rate, 16-Channel, Two ADAU1328 Daisy Chain); DSDATA3 and DSDATA4 Are the Daisy Chain
4 ADC CHANNELS OF F IRST IC I N THE CHAIN4 ADC CHANNELS OF SECOND IC IN THE CHAIN
ADC L1ADC R1ADC L 2ADC R2ADC L1ADC R1ADC L2ADC R2
ADC L1ADC R1ADC L 2ADC R2
32 BITS
SECOND
ADAU1328
DSP
06102-058
Figure 21. Dual-Line ADC TDM Daisy-Chain Mode (256 f
MSB
ABCLK, Two ADAU1328 Daisy Chain)
S
06102-056
Rev. A | Page 20 of 32
Page 21
ADAU1328
O
O
A
A
A
A
ALRCLK
ABCLK
ASDATA1 (TDM_OUT
F THE SECO ND ADAU1328
F THE SECO ND ADAU1328
IN THE CHAIN)
ASDATA2 (TDM_IN
IN THE CHAIN)
LRCLK
BCLK
SDAT
LRCLK
BCLK
SDAT
FIRST
ADAU1328
4 ADC CHANNELS OF
SECOND IC IN T HE CHAIN
ADC L1 A DC R1 ADC L2 ADC R2 ADC L1 ADC R1 A DC L2 A DC R2
ADC L1 A DC R1 ADC L2 ADC R2
SECOND
ADAU1328
DSP
4 ADC CHANNELS OF
FIRST IC IN THE CHAIN
Figure 22. Dual-Line ADC TDM Daisy-Chain Mode (512 f
LEFT CHANNELRIGHT CHANNEL
MSBMSB
LEFT CHANNEL
MSB
LSBLSB
LEFT-JUSTIFIE D MODE—16 BIT S TO 24 BIT S PER CHANNEL
LSB
I2S MODE—16 BIT S TO 24 BITS PER CHANNEL
32 BITS
MSB
ABCLK, Two ADAU1328 Daisy Chain)
S
RIGHT CHANNEL
MSB
LSB
06102-057
LRCLK
BCLK
SDAT
LRCLK
BCLK
SDAT
NOTES
1. DSP MODE DO ES NOT I DENTIFY CHANNEL.
2. LRCLK NORM ALLY OPERATES AT
3. BCLK FREQ UENCY IS NORMAL LY 64 × LRCL K BUT MAY BE OP ERATED IN BURST MODE.
MSBMSB
LEFT CHANNELRIGHT CHANNEL
MSBMSB
RIGHT-JUST IFIED MODE—SELECT NUMBER OF BI TS PER CHANNEL
DSP MODE—16 BITS TO 24 BI TS PER CHANNEL
f
EXCEPT FOR DSP MODE, WHICH IS 2 ×
S
LSBLSB
LSBLSB
1/
f
S
f
.
S
06102-013
Figure 23. Stereo Serial Modes
Rev. A | Page 21 of 32
Page 22
ADAU1328
t
DBH
DBCLK
t
DBL
t
DLH
t
DDS
t
DDH
06102-014
LEFT-JUSTIFIED
2
I
S-JUSTIFIED
RIGHT-JUST IFIED
DLRCLK
DSDATA
MODE
DSDATA
MODE
DSDATA
MODE
t
DLS
t
DDS
MSB
t
DDH
t
DDS
MSB–1
MSB
t
DDH
t
DDS
MSBLSB
t
DDH
Figure 24. DAC Serial Timing
LEFT-JUSTIFIED
2
I
S-JUSTIFIED
RIGHT-JUSTIFIED
ABCLK
ALRCLK
ASDATA
MODE
ASDATA
MODE
ASDATA
MODE
t
ABH
t
ABDD
t
t
ABL
ALS
MSB
t
ABDD
MSB–1
MSB
Figure 25. ADC Serial Timing
t
ABDD
MSB
t
ALH
LSB
06102-015
Rev. A | Page 22 of 32
Page 23
ADAU1328
Table 12. Pin Function Changes in TDM and AUX Modes (Replication of Table 11)
Mnemonic Stereo Modes TDM Modes AUX Modes
ASDATA1 ADC1 Data Out ADC TDM Data Out TDM Data Out
ASDATA2 ADC2 Data Out ADC TDM Data In AUX Data Out 1 (to External DAC 1)
DSDATA1 DAC1 Data In DAC TDM Data In
DSDATA2 DAC2 Data In DAC TDM Data Out
DSDATA3 DAC3 Data In DAC TDM Data In 2 (Dual-Line Mode)
DSDATA4 DAC4 Data In DAC TDM Data Out 2 (Dual-Line Mode)
ALRCLK ADC LRCLK In/Out ADC TDM Frame Sync In/Out
ABCLK ADC BCLK In/Out ADC TDM BCLK In/Out
DLRCLK DAC LRCLK In/Out DAC TDM Frame Sync In/Out
DBCLK DAC BCLK In/Out DAC TDM BCLK In/Out AUX BCLK In/Out
TDM Data In
AUX Data In 1 (from External ADC 1)
AUX Data In 2 (from External ADC 2)
AUX Data Out 2 (to External DAC 2)
TDM Frame Sync In/Out
TDM BCLK In/Out
AUX LRCLK In/Out
SHARC IS RUNNING IN SLAVE MODE
(INTERRUPT-DRIVEN)
TxDATA
LRCLK
BCLK
DATA
MCLK
LRCLK
BCLK
DATA
MCLK
AUX
DAC 1
AUX
DAC 2
06102-019
AUX
ADC 1
AUX
ADC 2
LRCLK
BCLK
DATA
MCLK
LRCLK
BCLK
DATA
MCLK
30MHz
12.288MHz
FSYNC-TDM (RFS)
ASDATA1
DBCLK
DLRCLK
DSDATA2
DSDATA3
MCLK
SHARC
RxCLK
RxDATA
TFS (NC)
ALRCLK ABCL K DSDATA1
ADAU1328
TDM MASTER
AUX MASTER
TxCLK
ASDATA2
DSDATA4
Figure 26. Example of AUX Mode Connection to SHARC® (ADAU1328 as TDM Master/AUX Master Shown)
Rev. A | Page 23 of 32
Page 24
ADAU1328
CONTROL REGISTERS
DEFINITIONS
The global address for the ADAU1328 is 0x04, shifted left 1 bit due to the R/W bit. All registers are reset to 0, except for the DAC volume
registers that are set to full volume.
Note that the first setting in each control register parameter is the default setting.
Table 13. Register Format
Global Address R/W Register Address Data
Bit
Table 14. Register Addresses and Functions
Address Function
0 PLL and Clock Control 0
1 PLL and Clock Control 1
2 DAC Control 0
3 DAC Control 1
4 DAC Control 2
5 DAC individual channel mutes
6 DAC 1L volume control
7 DAC 1R volume control
8 DAC 2L volume control
9 DAC 2R volume control
10 DAC 3L volume control
11 DAC 3R volume control
12 DAC 4L volume control
13 DAC 4R volume control
14 ADC Control 0
15 ADC Control 1
16 ADC Control 2
1:0 00 24 Word width
01 20
10 Reserved
11 16
4:2 000 1 SDATA delay (BCLK periods)
001 0
010 8
011 12
100 16
101 Reserved
110 Reserved
111 Reserved
6:5 00 Stereo Serial format
01 TDM (daisy chain) 10 ADC AUX mode (ADC-, DAC-, TDM-coupled)
11 Reserved
7 0 Latch in midcycle (normal) BCLK active edge (TDM in)
1 Latch in at end of cycle (pipeline)
Rev. A | Page 27 of 32
Page 28
ADAU1328
Table 24. ADC Control 2
Bit Value Function Description
0 0 50/50 (allows 32-/24-/20-/16-BCLK/channel) LRCLK format
1 Pulse (32-BCLK/channel)
1 0 Drive out on falling edge (DEF) BCLK polarity
1 Drive out on rising edge
2 0 Left low LRCLK polarity
1 Left high
3 0 Slave LRCLK master/slave
1 Master
5:4 00 64 BCLKs per frame
01 128
10 256
11 512
6 0 Slave BCLK master/slave
1 Master
7 0 ABCLK pin BCLK source
1 Internally generated
Rev. A | Page 28 of 32
Page 29
ADAU1328
ADDITIONAL MODES
The ADAU1328 offers several additional modes for board level
design enhancements. To reduce the EMI in board level design,
serial data can be transmitted without an explicit BCLK. See
Figure 27 for an example of a DAC TDM data transmission
mode that does not require high speed DBCLK. This configuration
is applicable when the ADAU1328 master clock is generated by
the PLL with the DLRCLK as the PLL reference frequency.
DLRCLK
32 BITS
INTERNAL
DBCLK
DSDATA
To relax the requirement for the setup time of the ADAU1328
in cases of high speed TDM data transmission, the ADAU1328
can latch in the data using the falling edge of DBCLK. This
effectively dedicates the entire BCLK period to the setup time.
This mode is useful in cases where the source has a large delay
time in the serial data driver. Figure 28 shows this pipeline
mode of data transmission.
Both the BLCK-less and pipeline modes are available on the
ADC serial data port.
DLRCLK
INTERNAL
DBCLK
TDM-DSDATA
DLRCLK
DBCLK
DSDATA
(Applicable Only If PLL Locks to DLRCLK. This Mode Is Also Available in the ADC Serial Data Port)
Figure 27. Serial DAC Data Transmission in TDM Format Without DBCLK
DATA MUST BE VALID
AT THI S BCLK EDGE
MSB
Figure 28. I
2
S Pipeline Mode in DAC Serial Data Transmission
(Applicable in Stereo and TDM Useful for High Frequency TDM Transmission.
This Model Is Also Available in the ADC Serial Data Port.)
06102-059
06102-060
Rev. A | Page 29 of 32
Page 30
ADAU1328
F
A
A
APPLICATION CIRCUITS
Typical applications circuits are shown in Figure 29 through
Figure 32. Figure 29 shows a typical ADC input filter circuit.
Recommended loop filters for LR clock and master clock as the
PLL reference are shown in Figure 30. Output filters for the
DAC outputs are shown in Figure 31 and Figure 32 for the
noninverting and inverting cases, respectively.
120p
UDIO
INPUT
600Z
5.76kΩ
100pF
Figure 29. Typical ADC Input Filter Circuit
5.76kΩ
2
–
1
OP275
3
+
5.76kΩ237Ω
120pF
5.76kΩ
6
–
7
OP275
5
+
4.7µF
4.7µF
+
1nF
NPO
1nF
NPO
237Ω
+
ADCxN
100pF
ADCxP
LRCLK
LF
39nF
+
VDD2
2.2nF
3.32kΩ
AVDD2
Figure 30. Recommended Loop Filters for LRCLK or MCLK PLL Reference