FEATURES
5 V Stereo Audio DAC System
Accepts 16-Bit/18-Bit/20-Bit/24-Bit Data
Supports 24 Bits, 192 kHz Sample Rate
Accepts a Wide Range of Sample Rates Including:
Differential Linearity Restoration” for Reduced Idle
Tones and Noise Floor
Data-Directed Scrambling DAC—Least Sensitive to
Jitter
Differential Output for Optimum Performance
117 dB Signal-to-Noise (Not Muted) at 48 kHz Sample
Rate (A-Weighted Mono)
114 dB Signal-to-Noise (Not Muted) at 48 kHz Sample
Rate (A-Weighted Stereo)
117 dB Dynamic Range (Not Muted) at 48 kHz Sample
Rate (A-Weighted Mono)
114 dB Dynamic Range (Not Muted) at 48 kHz Sample
Rate (A-Weighted Stereo)
–105 dB THD+N (Mono Application Circuit)
–102 dB THD+N (Stereo)
115 dB Stopband Attenuation
On-Chip Clickless Volume Control
Hardware and Software Controllable Clickless Mute
Serial (SPI) Control for: Serial Mode, Number of Bits,
Sample Rate, Volume, Mute, De-Emp
Digital De-Emphasis Processing for 32 kHz, 44.1 kHz,
48 kHz Sample Rates
Clock Autodivide Circuit Supports Five Master-Clock
Frequencies
Multibit Σ∆ DAC
AD1852*
Flexible Serial Data Port with Right-Justified, Left-
Justified, I
28-Lead SSOP Plastic Package
APPLICATIONS
Hi End: DVD, CD, Home Theater Systems, Automotive
Audio Systems, Sampling Musical Keyboards, Digital
Mixing Consoles, Digital Audio Effects Processors
PRODUCT OVERVIEW
The AD1852 is a complete high performance single-chip stereo
digital audio playback system. It is comprised of a multibit sigmadelta modulator, digital interpolation filters, and analog output
drive circuitry. Other features include an on-chip stereo attenuator
and mute, programmed through an SPI-compatible serial control
port. The AD1852 is fully compatible with all known DVD
formats including 192 kHz as well as 96 kHz sample frequencies and 24 bits. It also is backwards compatible by supporting
50 µs/15 µs digital de-emphasis intended for “Redbook” compact
discs, as well as de-emphasis at 32 kHz and 48 kHz sample rate.
The AD1852 has a very simple but very flexible serial data input
port that allows for glueless interconnection to a variety of ADCs,
DSP chips, AES/EBU receivers and sample rate converters. The
AD1852 can be configured in left-justified, I
or DSP serial port compatible modes. It can support 16, 18, 20,
and 24 bits in all modes. The AD1852 accepts serial audio data
in MSB first, twos-complement format. The AD1852 operates from a single 5 V power supply. It is fabricated on a single
monolithic integrated circuit and is housed in a 28-lead SSOP
package for operation over the temperature range 0°C to 70°C.
2
S-Compatible and DSP Serial Port Modes
2
S, right-justified,
FUNCTIONAL BLOCK DIAGRAM
VOLUME
MUTE
AD1852
16-/18-/20-/24-BIT
DATA INPUT
*Patents Pending
DIGITAL
SERIAL
MODE
2
SERIAL
DATA
INTERFACE
ATTEN/
ATTEN/
RESET
MUTE
MUTE
8 3 F
S
INTERPOLATOR
8 3 F
INTERPOLATION
S
REV. 0
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
Ambient Temperature25°C
Input Clock24.576 MHz (512 × F
Input Signal996.11 Hz
–0.5 dB Full Scale
Input Sample Rate48 kHz
Measurement Bandwidth20 Hz to 20 kHz
Word Width20 Bits
Load Capacitance100 pF
Load Impedance47 kΩ
Input Voltage HI2.4 V
Input Voltage LO0.8 V
ANALOG PERFORMANCE (See Figures)
Resolution24Bits
Signal-to-Noise Ratio (20 Hz to 20 kHz)
No Filter (Stereo)112dB
No Filter (Mono—See Figure 29)115dB
With A-Weighted Filter (Stereo)114dB
With A-Weighted Filter (Mono—See Figure 29)117dB
Dynamic Range (20 Hz to 20 kHz, –60 dB Input)
No Filter (Stereo)107112dB
No Filter (Mono—See Figure 29)115dB
With A-Weighted Filter (Stereo)110114dB
With A-Weighted Filter (Mono—See Figure 29)117dB
Total Harmonic Distortion + Noise (Stereo)–94–102dB
Total Harmonic Distortion + Noise (Mono—See Figure 29)–105dB
Total Harmonic Distortion + Noise (Stereo) V
Total Harmonic Distortion + Noise (Stereo) V
= –20 dB–92dB
O
= –60 dB–52dB
O
Analog Outputs
Differential Output Range (± Full Scale)5.6V p-p
Output Capacitance at Each Output Pin2pF
Out-of-Band Energy (0.5 × F
to 100 kHz)–90dB
S
CMOUT2.37V
DC Accuracy
Gain Error–10±2.0+10%
Interchannel Gain Mismatch–0.15±0.015+0.15dB
Gain Drift150250ppm/°C
DC Offset–50mV
Interchannel Crosstalk (EIAJ Method)–120dB
Interchannel Phase Deviation±0.1Degrees
Mute Attenuation–100dB
De-Emphasis Gain Error±0.1dB
Performance of right and left channels are identical (exclusive of the Interchannel Gain Mismatch and Interchannel Phase Deviation specifications).
Specifications subject to change without notice.
Mode)
S
MinTypMaxUnit
0.00079%
0.00056%
DIGITAL I/O (0ⴗC TO 70ⴗC)
MinTypMaxUnit
Input Voltage HI (V
Input Voltage LO (V
Input Leakage (I
Input Leakage (I
High Level Output Voltage (V
Low Level Output Voltage (V
DIGITAL TIMING (Guaranteed Over 0ⴗC to 70ⴗC, AVDD = DVDD = +5.0 V ⴞ 10%)
MinUnit
t
DMP
t
DML
t
DMH
t
DBH
t
DBL
t
DBP
t
DLS
t
DLH
t
DDS
t
DDH
t
RSTL
*Higher MCLK frequencies are allowable when using the on-chip Master Clock Autodivide Feature.
Specifications subject to change without notice.
MCLK Period (FMCLK = 256 × FL/RCLK)*54ns
MCLK LO Pulsewidth (All Modes)0.4 × t
MCLK HI Pulsewidth (All Modes)0.4 × t
DMP
DMP
ns
ns
BCLK HI Pulsewidth20ns
BCLK LO Pulsewidth20ns
BCLK Period60ns
L/RCLK Setup20ns
L/RCLK Hold (DSP Serial Port Mode Only)5ns
SDATA Setup5ns
SDATA Hold10ns
RST LO Pulsewidth15ns
REV. 0
–3–
AD1852
WARNING!
ESD SENSITIVE DEVICE
TOP VIEW
(Not to Scale)
28
27
26
25
24
23
22
21
20
19
18
17
16
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
AD1852
FILTR
OUTR–
OUTR+
AGND
96/48
DEEMP
ZEROR
DGND
MCLK
CLATCH
CCLK
192/48
NC
CDATA
AGND
OUTL–
OUTL+
AVDD
FILTB
IDPM1
IDPM0
DVDD
SDATA
BCLK
LRCLK
ZEROL
MUTE
RESET
ABSOLUTE MAXIMUM RATINGS*
PIN CONFIGURATION
MinMaxUnit
DV
to DGND–0.36V
DD
to AGND–0.36V
AV
DD
Digital InputsDGND – 0.3DV
Analog OutputsAGND – 0.3AV
+ 0.3V
DD
+ 0.3V
DD
AGND to DGND–0.30.3V
Reference Voltage(AV
+ 0.3)/2V
DD
Soldering300°C
10sec
*Stresses greater than 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.
PACKAGE CHARACTERISTICS
MinTypMaxUnit
θ
(Thermal Resistance109°C/W
JA
[Junction-to-Ambient])
(Thermal Resistance39°C/W
θ
JC
[Junction-to-Case])
ORDERING GUIDE
ModelTemperaturePackage DescriptionPackage Option
AD1852JRS0°C to 70°C28-Lead Shrink Small Outline Package (SSOP)RS-28
AD1852JRSRL0°C to 70°C28-Lead Shrink Small Outline Package (SSOP)RS-28 on 13" Reels
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 AD1852 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.
–4–
REV. 0
AD1852
PIN FUNCTION DESCRIPTIONS
PinInput/OutputPin NameDescription
1IDGNDDigital Ground.
2IMCLKMaster Clock Input. Connect to an external clock source at either 256 F
, 768 FS, or 1024 FS.
512 F
S
3ICLATCHLatch Input for Control Data. This input is rising-edge sensitive.
4ICCLKControl Clock Input for Control Data. Control input data must be valid on the rising
edge of CCLK. CCLK may be continuous or gated.
5ICDATASerial Control Input, MSB first, containing 16 bits of unsigned data per channel. Used
for specifying channel-specific attenuation and mute.
6NCNo Connect.
7I192/48Selects 48 kHz (LO) or 192 kHz Sample Frequency.
8OZERORRight Channel Zero Flag Output. This pin goes HI when Right Channel has no signal
input for more than 1024 LR Clock Cycles.
9IDEEMPDe-Emphasis. Digital de-emphasis is enabled when this input signal is HI. This is used
to impose a 50 µs/15 µs response characteristic on the output audio spectrum at an
assumed 44.1 kHz sample rate. Curves for 32 kHz and 48 kHz sample rates may be
selected via SPI control register.
10I96/48Selects 48 kHz (LO) or 96 kHz Sample Frequency.
11, 15IAGNDAnalog Ground.
12OOUTR+Right Channel Positive Line Level Analog Output.
13OOUTR–Right Channel Negative Line Level Analog Output.
14OFILTRVoltage Reference Filter Capacitor Connection. Bypass and decouple the voltage refer-
ence with parallel 10 µF and 0.1 µF capacitors to the AGND.
16OOUTL–Left Channel Negative Line Level Analog Output.
17OOUTL+Left Channel Positive Line Level Analog Output.
18IAVDDAnalog Power Supply. Connect to Analog 5 V Supply.
20IIDPM1Input Serial Data Port Mode Control One. With IDPM0, defines 1 of 4 serial modes.
21IIDPM0Input Serial Data Port Mode Control Zero. With IDPM1, defines 1 of 4 serial modes.
22OZEROLLeft Channel Zero Flag Output. This pin goes HI when Left Channel has no signal
input for more than 1024 LR Clock Cycles.
23IMUTEMute. Assert HI to mute both stereo analog outputs. Deassert LO for normal operation.
24IRESETReset. The AD1852 is reset on the rising edge of this signal. The serial control port
registers are reset to the default values. Connect HI for normal operation.
25IL/RCLKLeft/Right Clock Input for Input Data. Must run continuously.
26IBCLKBit Clock Input for Input Data. Need not run continuously; may be gated or used in a
burst fashion.
27ISDATASerial Input, MSB first, containing two channels of 16, 18, 20, and 24 bits of twos
complement data per channel.
28IDVDDDigital Power Supply Connect to digital 5 V supply.
, 384 FS,
S
Table I. Serial Data Input Mode
IDPM1 (Pin 20) IDPM0 (Pin 21)Serial Data Input Format
The AD1852’s flexible serial data input port accepts data in
twos-complement, MSB-first format. The left channel data field
always precedes the right channel data field. The serial mode is
set by using either the external mode pins (IDPM0 Pin 21 and
IDPM1 Pin 20) or the mode select bits (Bits 4 and 5) in the SPI
control register. To control the serial mode using the external
mode pins, the SPI mode select bits should be set to zero (default
at power-up). To control the serial mode using the SPI mode
select bits, the external mode control pins should be grounded.
In all modes except for the right-justified mode, the serial port
will accept an arbitrary number of bits up to a limit of 24. Extra
bits will not cause an error, but they will be truncated internally.
In the right-justified mode, control register Bits 8 and 9 are used
to set the wordlength to 16 bits, 20 bits, or 24 bits. The default
on power- up is 24-bit mode. When the SPI Control Port is not
being used, the SPI pins (3, 4, and 5) should be tied LO.
Serial Data Input Mode
The AD1852 uses two multiplexed input pins to control the mode
configuration of the input data port mode. See Table I.
Figure 1 shows the right-justified mode (16 bits shown). L/RCLK
is HI for the left channel, LO for the right channel. Data is valid
on the rising edge of BCLK.
In normal operation, there are 64-bit clocks per frame (or 32
per half-frame). When the SPI wordlength control bits (Bits 8
and 9 in the control register) are set to 24 bits (0:0), the serial
BCLK
L/RCLK
t
DBH
t
DBL
t
DLS
t
DBP
port will begin to accept data starting at the eighth bit clock
pulse after the L/RCLK transition. When the wordlength control bits are set to 20-bit mode, data is accepted starting at
the twelfth-bit clock position. In 16-bit mode, data is accepted
starting at the sixteenth-bit clock position. These delays are
independent of the number of bit clocks per frame, and therefore
other data formats are possible using the delay values described
above. For detailed timing, see Figure 6.
Figure 2 shows the I
2
S mode. L/RCLK is LO for the left chan-
nel and HI for the right channel. Data is valid on the rising edge
of BCLK. The MSB is left-justified to an L/RCLK transition
but with a single BCLK period delay. The I
2
S mode can be used
to accept any number of bits up to 24.
Figure 3 shows the left-justified mode. L/RCLK is HI for the
left channel, and LO for the right channel. Data is valid on the
rising edge of BCLK. The MSB is left-justified to an L/RCLK
transition, with no MSB delay. The left-justified mode can
accept any wordlength up to 24 bits, and any number of bit clocks
from two times the word length to 64 bit clocks per frame.
Figure 4 shows the DSP serial port mode. L/RCLK must pulse
HI for at least one bit clock period before the MSB of the left
channel is valid, and L/RCLK must pulse HI again for at least
one bit clock period before the MSB of the right channel is valid.
Data is valid on the falling edge of BCLK. The DSP serial port
mode can be used with any wordlength up to 24 bits.
In this mode, it is the responsibility of the DSP to ensure that
the left data is transmitted with the first L/RCLK pulse, and
that synchronism is maintained from that point forward.
“packed mode” where the MSB is left-justified to an L/RCLK
transition, and the LSB is right-justified to the opposite L/RCLK
transition. L/RCLK is HI for the left channel, and LO for the
right channel. Data is valid on the rising edge of BLCK. Packed
mode can be used when the AD1852 is programmed in rightjustified or left-justified mode. Packed mode is shown is Figure 5.
Master Clock Autodivide Feature
The AD1852 has a circuit that autodetects the relationship
between master clock and the incoming serial data, and internally sets the correct divide ratio to run the interpolator and
modulator. The allowable frequencies for each mode are shown
above. Master clock should be synchronized with L/RCLK but
phase relation between master clock and L/RCLK is not critical.
t
CHD
CDATA
CCLK
CLATCH
t
CCH
t
CCL
D15
D14
t
CSU
Figure 7. Serial Control Port Timing
SPI REGISTER DEFINITIONS
The SPI port allows flexible control of many chip parameters. It is
organized around three registers; a LEFT-CHANNEL VOLUME
register, a RIGHT-CHANNEL VOLUME register, and a
CONTROL register. Each WRITE operation to the AD1852
SPI control port requires 16 bits of serial data in MSB-first format.
The bottom two bits are used to select one of three registers,
and the top 14 bits are then written to that register. This allows
a write to one of the three registers in a single 16-bit transaction.
The SPI CCLK signal is used to clock in the data. The incoming data should change on the falling edge of this signal. At the
end of the 16 CCLK periods, the CLATCH signal should rise
to clock the data internally into the AD1852.
D0
t
CLH
t
CLL
t
CLSU
–8–
REV. 0
Table III. SPI Digital Timing
AD1852
MinUnit
t
CCH
t
CCL
t
CSU
t
CHD
t
CLL
t
CLH
t
CLSU
CCLK HI Pulsewidth40ns
CCLK LOW Pulsewidth40ns
CDATA Setup Time10ns
CDATA Hold Time10ns
CLATCH LOW Pulsewidth10ns
CLATCH HI Pulsewidth10ns
CLATCH Setup Time4 ×
t
MCLK
ns
Register Addresses
The lowest two bits of the 16-bit input word are decoded as follows to set the register that the upper 14 bits will written into.
VOLUME LEFT AND VOLUME RIGHT REGISTERS
A write operation to the left or right volume registers will activate the “autoramp” clickless volume control feature of the
AD1852. This feature works as follows. The upper 10 bits of the
volume control word will be incremented or decremented by 1 at
a rate equal to the input sample rate. The bottom four bits are
not fed into the autoramp circuit and thus take effect immediately.
This arrangement gives a worst-case ramp time of about 20 ms
for step changes of more than 60 dB, which has been determined by listening tests to be optimal in terms of preventing the
perception of a “click” sound on large volume changes. See Figure 8 for a graphical description of how the volume changes
as a function of time.
The 14-bit volume control word is used to multiply the signal,
and therefore the control characteristic is linear, not dB. A constant
dB/step characteristic can be obtained by using a lookup table
in the microprocessor that is writing to the SPI port.
The volume
word is unsigned (i.e., 0 dB is 11 1111 1111 1111).
Table IV.
Bit 1Bit 0Register
00Volume Left
10Volume Right
01Control Register
0
–60
LEVEL – dB
0
–60
20ms
VOLUME REQUEST REGISTER
ACTUAL VOLUME REGISTER
TIME
Figure 8. Smooth Volume Control
SPI Timing
The SPI port is a 3-wire interface with serial data (CDATA),
serial bit clock (CCLK), and data latch (CLATCH). The
data is clocked into an internal shift register on the rising
edge of CCLK. The serial data should change on the falling
edge of CCLK and be stable on the rising edge of CCLK.
The rising edge of CLATCH is used internally to latch the parallel data from the serial-to-parallel converter. This rising edge
should be aligned with the falling edge of the last CCLK pulse
in the 16-bit frame. The CCLK can run continuously between
transactions.
Note that the serial control port timing is asynchronous to the
serial data port timing. Changes made to the attenuator level
will be updated on the next edge of the L/RCLK after the
CLATCH write pulse as shown in Figure 7.
Mute
The AD1852 offers two methods of muting the analog output.
By asserting the MUTE (Pin 23) signal HI, both the left and
right channel are muted. As an alternative, the user can assert
the mute bit in the serial control register (data11) HI. The
AD1852 has been designed to minimize pops and clicks when
muting and unmuting the device by automatically “ramping”
the gain up or down. When the device is unmuted, the volume
returns to the value set in the volume register.
REV. 0
–9–
AD1852
Table V.
Bit 11Bit 10Bit 9:8Bit 7Bit 6Bit 5:4Bit 3:2
INT2× ModeINT4× ModeNumber ofReset.Soft Mute OR’d Serial Mode OR’dDe-Emphasis Filter
OR’d with Pin 7OR’d with Pin 10 Bits in Right-Default = 0 with Pin.with Mode Pins.Select.
(192/48).(96/48).Justified SerialDefault = 0IDPM1:IDPM00:0 No Filter
Default = 0Default = 0Mode.0:0 Right-Justified0:1 44.1 kHz Filter
Table V shows the functions of the control register. The control
register is addressed by having an ‘01’ in the bottom two bits of
the 16-bit SPI word. The top 14 bits are then used for the control register.
De-Emphasis
The AD1852 has a built-in de-emphasis filter that can be used
to decode CDs that have been encoded with the standard
“redbook” 50 µs/15 µs emphasis response curve. Three curves
are available; one each for 32 kHz, 44.1 kHz, and 48 kHz sampling rates. The external “DEEMP” pin (Pin 9) turns on the
44.1 kHz de-emphasis filter. The other filters may be selected by
writing to Control Bits 2 and 3 in the control register. If the SPI
port is used to control the de-emphasis filter, the external DEEMP
pin should be tied LO.
Output Impedance
The output impedance of the AD1852 is 65 Ω ± 30%.
Reset
The AD1852 may be reset either by a dedicated hardware pin
(RESET, Pin 24) or by software, via the SPI control port. While
reset is active, normal operation of the AD1852 is suspended and
the outputs assume midscale values. The AD1852 should always
be reset at power up. The RESET function should be active for
a minimum of 64 master clock periods. When the RESET function becomes inactive, normal operation will continue after a
delay equal to the group delay plus three MCLK periods.
Using the RESET pin, the internal registers will be set to their
default values, when the RESET pin is active low. Default
operation will then be enabled when the RESET pin is raised.
Alternatively, the internal registers can be reset to their default
values by setting Bit 7, of the internal control register, high.
When Bit 7 is reset low, default operation will continue. The
software reset differs from the hardware reset because the soft
reset does not affect the values stored in the SPI registers.
Control Signals
The IDPM0 and IDPM1 control inputs are normally connected
HI or LO to establish the operating state of the AD1852. They
can be changed dynamically (and asynchronously to L/RCLK
and the master clock), but it is possible that a click or pop sound
may result during the transition from one serial mode to another.
If possible, the AD1852 should be placed in mute before such a
change is made.
–10–
REV. 0
Typical Performance Characteristics–
FREQUENCY – kHz
0
ATTENUATION – dB
–60
–100
–160
–20
–40
–80
–120
–140
015020050100250300350
AD1852
Figures 9–14 show the calculated frequency response of the
digital interpolation filters. Figures 15–26 show the performance
of the AD1852 as measured by an Audio Precision System 2
Cascade. For the wideband plots, the noise floor shown in the
plots is higher than the actual noise floor of the AD1852. This is
caused by the higher noise floor of the “High Bandwidth” ADC
used in the Audio Precision measurement system. The two-tone
test shown in Figure 17 is per the SMPTE standard for measuring Intermodulation Distortion.