AD1937
Rev. B | Page 15 of 36
THEORY OF OPERATION
ANALOG-TO-DIGITAL CONVERTERS (ADCs)
There are four ADC channels in the AD1937 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): a common frame clock (ALRCLK)
and a common bit clock (ABCLK). Alternatively, 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 and a 1 nF capacitor connected from each input
to ground. Use a high quality capacitor such as a ceramic
NP0/C0G, 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 in that case do not need
an external dc bias to CM.
A digital high-pass filter can be switched in line with the
ADCs (ADC Control 0 Register) 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 AD1937 DAC channels are arranged in four stereo pairs,
giving eight analog outputs; the outputs are differential for
improved noise and distortion performance. The DACs include
on-board digital reconstruction filters with 70 dB stop-band
attenuation and linear phase response, operating at an over-
sampling 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), a common frame clock (DLRCLK),
and a common bit clock (DBCLK). 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, as
well as to provide a differential-to-single-ended conversion for
the differential output. Note that the use of op amps with low
slew rates or low bandwidth can cause high frequency noise
and tones to fold down into the audio band; exercise care in
selecting these components.
The voltage at CM 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 ref-
erence the input sample rate from either of the LRCLK pins
or 256×, 384×, 512×, or 768× sample rate s (f
S
), referenced to
the 48 kHz mode from the MCLKI/MCLKXI pin. The default at
power-up is 256 × f
S
from the MCLKI/MCLKXI pin. In 96 kHz
mode, the master clock frequency 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 the AD1937 is programmed in 256 × f
S
mode, the frequency of the master clock input is 256 × 48 kHz
= 12.288 MHz. If the AD1937 is then switched to 96 kHz
operation (by writing to the I
2
C port), the frequency of the
master clock should remain at 12.288 MHz, which is 128 × f
S
in this example. In 192 kHz mode, this becomes 64 × f
S
.
The internal clock for the ADCs is 256 × f
S
for all clock modes.
The internal clock for the DACs varies by mode: 512 × f
S
(48 kHz
mode), 256 × f
S
(96 kHz mode), or 128 × f
S
(192 kHz mode). By
default, the on-board PLL generates this internal master clock
from an external clock. A direct 512 × f
S
(referenced to 48 kHz
mode) master clock can be used for either the ADCs or DACs,
if selected in the 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 the 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 after the reference clock has
stabilized.
The internal master clock (MCLK) can be disabled in the
PLL and Clock Control 0 register to reduce power dissipation
when the AD1937 is idle. The clock should be stable before it
is enabled. Unless a standalone mode is selected (see the I
2
C
Control Port section), the clock is disabled by reset and must
be enabled by writing to the I
2
C port for normal operation.
AD1937
Rev. B | Page 16 of 36
To maintain the highest performance possible, limit the clock jitter
of the internal master clock signal to less than a 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 used, it is best to
use an independent crystal oscillator to generate the master clock.
In addition, it is especially important that the clock signal not
pass through an FPGA, CPLD, or other large digital chip (such
as a DSP) before being applied to the AD1937. 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
The function of the
PD
/
RST
pin sets all the control registers to
their default settings. To avoid audio pops,
PD
/
RST
does not
power down the analog outputs. After
PD
/
RST
is deasserted
and the PLL acquires lock condition, an initialization routine
runs inside the AD1937. This initialization lasts for approx-
imately 256 master clock cycles. Once the routine is complete,
the registers can be programmed.
The power-down bits in the PLL and Clock Control 0, DAC
Control 1, and ADC Control 1 registers power down their
respective sections. All other register settings are retained.
To guarantee proper startup, the
PD
/
RST
pin should be
pulled low by an external resistor.
I
2
C CONTROL PORT
The AD1937 has an I
2
C-compatible control port that permits
programming and reading back the internal control registers
for the ADCs, DACs, and clock system. There is also a stand-
alone mode available for operation without serial control,
configured at reset using the serial control pins. All registers
are set to default except internal MCLK enable, which is set to
1 and ADC BCLK and LRCLK master/slave is set by SDA (see
Table 12 for details).
Table 12. Hardware Selection of Standalone Mode
ADC Clocks
ADDR0
(Pin 30)
SDA
(Pin 31)
SCL
(Pin 34)
ADDR1
(Pin 35)
Slave 0 0 0 0
Master 0 1 0 0
The I
2
C interface of the AD1937 is a 2-wire interface that
consists of a clock line (SCL) and a data line (SDA). SDA
is bidirectional and the AD1937 drives SDA either to acknowl-
edge the master (ACK) or to send data during a read operation.
The SDA pin for the I
2
C port is an open-drain collector and
requires a 2 kΩ pull-up resistor. A write or read access occurs
when the SDA line is pulled low while the SCL line is high,
indicated by start in the timing diagrams. SDA is only allowed
to change when SCL is low except when a start or stop condition
occurs, as shown in Figure 13 and Figure 14. The first eight bits
of the data-word consist of the device address and the R/
W
bit.
The device address consists of an internal built-in address
(0x08) ORed with the two address bits, ADDR1 and ADDR0,
and the R/
W
bit. The two address bits allow four AD1937s to be
used in a system. Tie I
2
C ADDR0 and ADDR1 low or high and
program the ADDR bits accordingly as 0 or 1. Initiating a write
operation to the AD1937 involves sending a start condition and
then sending the device address with the R/
W
bit set low. The
AD1937 responds by issuing an acknowledge to indicate that it
has been addressed. The user then sends a second frame telling
the AD1937 which register is required to be written to. Another
acknowledge is issued by the AD1937. Finally, the user can send
another frame with the eight data bits required to be written to
the register. A third acknowledge is issued by the AD1937 after
which the user can send a stop condition to complete the data
transfer.
A read operation requires that the user first write to the
AD1937 to point to the correct register and then read the
data. This is achieved by sending a start condition followed
by the device address frame, with the R/
W
bit low; the AD1937
returns an acknowledge. The master then sends the register
address frame. Following the acknowledge from the AD1937,
the user must issue a repeated start condition. The next frame
is the device address with the R/
W
bit set high; the AD1937
returns an acknowledge. On the next frame, the AD1937
outputs the register data on the SDA line; the master should
send an acknowledge. A stop condition completes the read
operation. and show examples of writing
to and reading from the DAC1L volume control register,
Address 0x06 (see ).
Figure 13 Figure 14
Table 28
AD1937
Rev. B | Page 17 of 36
4-011
ACK. BY
MASTER (AM)
STOP BY
MASTER (P)
0741
SCK
(CONTINUED)
D7 D6 D5 D4 D3 D2 D1 D0
SDA
(CONTINUED)
FRAME 3
DATA BYTE TO AD1937
S
C
K
S
D
A
START BY
MASTER (S)
ACK. BY
AD1937 (AS)
ACK. BY
MASTER (AM)
00001
ADDR1 ADDR0
R/W 0 00 00 011
FRAME 1
CHIP ADDRESS BYTE
FRAME 2
REGISTER ADDRESS BYTE
Figure 13. I
2
C Write Format
SCK
SDA
START BY
MASTER (S)
ACK. BY
AD1937 (AS)
ACK. BY
AD1937 (AS)
00001
ADDR1 ADDR0
R/W 0 00 00 011
07414-012
D7 D6 D5 D4 D3 D2 D1 D0
SDA
(CONTINUED)
SCL
(CONTINUED)
FRAME 1
CHIP ADDRESS BYTE
FRAME 2
REGISTER ADDRESS BYTE
0 000 1
ADDR1 ADDR0
R/W
REPEATED START
BY MASTER (S)
ACK. BY
AD1937 (AS)
ACK. BY
MASTER (AM)
STOP BY
MASTER (P)
FRAME 3
CHIP ADDRESS BYTE
FRAME 4
REGISTER DATA
Figure 14. I
2
C Read Format

AD1937WBSTZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Interface - CODECs Single Chip Codec 4 s w/Diff Output
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet