AD1877
REV. A
9
The ground planes should be tied together at one spot under-
neath the center of the package with an approximately 3 mm
trace. This ground plane technique also minimizes RF transmis-
sion and reception.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
LRCK
WCLK
BCLK
DGND1
DV
DD
1
RDEDGE
S/M
384/256
AV
DD
V
IN
L
CAPL1
CAPL2
AGNDL
V
REF
L
CLKIN
TAG
SOUT
DV
DD
2
RESET
MSBDLY
RLJUST
AGND
V
IN
R
CAPR1
CAPR2
AGNDR
V
REF
R
DGND2
DIGITAL GROUND PLANE
ANALOG GROUND PLANE
Figure 4. Recommended Ground Plane
Each reference pin (14 and 15) should be bypassed with a 0.1 µF
ceramic chip capacitor in parallel with a 4.7 µF tantalum capaci-
tor. The 0.1 µF chip cap should be placed as close to the pack-
age pin as possible, and the trace to it from the reference pin
should be as short and as wide as possible. Keep this trace away
from any analog traces (Pins 10, 11, 12, 17, 18, 19)! Coupling
between input and reference traces will cause even order har-
monic distortion. If the reference is needed somewhere else on
the printed circuit board, it should be shielded from any signal
dependent traces to prevent distortion.
Wherever possible, minimize the capacitive load on the digital
outputs of the part. This will reduce the digital spike currents
drawn from the digital supply pins and help keep the IC sub-
strate quiet.
How to Extend SNR
A cost-effective method of improving the dynamic range and
SNR of an analog-to-digital conversion system is to use multiple
AD1877 channels in parallel with a common analog input. This
technique makes use of the fact that the noise in independent
modulator channels is uncorrelated. Thus every doubling of the
number of AD1877 channels used will improve system dynamic
range by 3 dB. The digital outputs from the corresponding deci-
mator channels have to be arithmetically averaged to obtain the
improved results in the correct data format. A microprocessor,
either general-purpose or DSP, can easily perform the averaging
operation.
Shown below in Figure 5 is a circuit for obtaining a 3 dB
improvement in dynamic range by using both channels of a
single AD1877 with a mono input. A stereo implementation
would require using two AD1877s and using the recommended
input structure shown in Figure 2. Note that a single microproces-
sor would likely be able to handle the averaging requirements
for both left and right channels.
AD1877
RECOMMENDED
INPUT BUFFER
SINGLE
CHANNEL
INPUT
DIGITAL
AVERAGER
AD1877
V
IN
R
V
IN
L
SINGLE
CHANNEL
OUTPUT
Figure 5. Increasing Dynamic Range By Using Two
AD1877 Channels
DIGITAL INTERFACE
Modes of Operation
The AD1877s flexible serial output port produces data in
twos-complement, MSB-first format. The input and output sig-
nals are TTL logic level compatible. Time multiplexed serial
data is output on SOUT (Pin 26), left channel then right chan-
nel, as determined by the left/right clock signal LRCK (Pin 1).
Note that there is no method for forcing the right channel to
precede the left channel. The port is configured by pin selec-
tions. The AD1877 can operate in either master or slave mode,
with the data in right-justified, I
2
S-compatible, Word Clock
controlled or left-justified positions.
The various mode options are pin-programmed with the Slave/
Master Pin (7), the Right/Left Justify Pin (21), and the MSB
Delay Pin (22). The function of these pins is summarized as
follows:
AD1877
REV. A
10
S/M RLJUST MSBDLY WCLK BCLK LRCK Serial Port Operation Mode
1 1 1 Output Input Input Slave Mode. WCLK frames the data. The MSB is output on the
17th BCLK cycle. Provides right-justified data in slave mode
with a 64 × F
S
BCLK frequency. See Figure 7.
1 1 0 Input Input Input Slave Mode. The MSB is output in the BCLK cycle after
WCLK is detected HI. WCLK is sampled on the BCLK active
edge, with the MSB valid on the next BCLK active edge. Tying
WCLK HI results in I
2
S-justified data. See Figure 8.
1 0 1 Output Input Input Slave Mode. Data left-justified with WCLK framing the data.
WCLK rises immediately after an LRCK transition. The MSB is
valid on the first BCLK active edge. See Figure 9.
1 0 0 Output Input Input Slave Mode. Data I
2
S-justified with WCLK framing the data.
WCLK rises in the second BCLK cycle after an LRCK transi-
tion. The MSB is valid on the second BCLK active edge. See
Figure 10.
0 1 1 Output Output Output Master Mode. Data right-justified. WCLK frames the data,
going HI in the 17th BCLK cycle. BCLK frequency = 64 × F
S
.
See Figure 11.
0 1 0 Output Output Output Master Mode. Data right-justified + 1. WCLK is pulsed in the
17th BCLK cycle, staying HI for only 1 BCLK cycle. BCLK
frequency = 64 × F
S
. See Figure 12.
0 0 1 Output Output Output Master Mode. Data left-justified. WCLK frames the data.
BCLK frequency = 64 × F
S
. See Figure 13.
0 0 0 Output Output Output Master Mode. Data I
2
S-justified. WCLK frames the data.
BCLK frequency = 64 × F
S
. See Figure 14.
Serial Port Data Timing Sequences
The RDEDGE input (Pin 6) selects the bit clock (BCLK) polarity.
RDEDGE HI causes data to be transmitted on the BCLK falling
edge and valid on the BCLK rising edge; RDEDGE LO causes
data to be transmitted on the BCLK rising edge and valid on
the BCLK falling edge. This is shown in the serial data output
timing diagrams. The term sampling is used generically to
denote the BCLK edge (rising or falling) on which the serial
data is valid. The term transmitting is used to denote the
other BCLK edge. The S/M input (Pin 7) selects slave mode (S/
M HI) or master mode (S/M LO). Note that in slave mode,
BCLK may be continuous or gated (i.e., a stream of pulses dur-
ing the data phase followed by periods of inactivity between
channels).
In the master modes, the bit clock (BCLK), the left/right clock
(LRCK), and the word clock (WCLK) are always outputs, gen-
erated internally in the AD1877 from the master clock (CLKIN)
input. In master mode, a LRCK cycle defines a 64-bit frame.
LRCK is HI for a 32-bit field and LRCK is LO for a 32-bit
field.
In the slave modes, the bit clock (BCLK), and the left/right clock
(LRCK) are user-supplied inputs. The word clock (WCLK) is an
internally generated output except when S/M is HI, RLJUST is
HI, and MSBDLY is LO, when it is a user-supplied input which
controls the data position. Note that the AD1877 does not sup-
port asynchronous operation in slave mode; the clocks (CLKIN,
LRCK, BCLK and WCLK) must be externally derived from a
common source. In general, CLKIN should be divided down
externally to create LRCK, BCLK and WCLK.
In the slave modes, the relationship between LRCK and BCLK
is not fixed, to the extent that there can be an arbitrary number
of BCLK cycles between the end of the data transmission and
the next LRCK transition. The slave mode timing diagrams are
therefore simplified as they show precise 32-bit fields and 64-bit
frames.
In two slave modes, it is possible to pack two 16-bit samples in
a single 32-bit frame, as shown in Figures 15 and 16. BCLK,
LRCK, DATA and TAG operate at one half the frequency
(twice the period) as in the 64-bit frame modes. This 32-bit
frame mode is enabled by pulsing the LRCK HI for a minimum
of one BCLK period to a maximum of sixteen BCLK periods.
The LRCK HI for one BCLK period case is shown in Figures
15 and 16. With a one or two BCLK period HI pulse on
LRCK, note that both the left and right TAG bits are output
immediately, back-to-back. With a three to sixteen BCLK period
HI pulse on LRCK, the left TAG bits are followed by one to
fourteen dead cycles (i.e., zeros) followed by the right TAG
bits. Also note that WCLK stays HI continuously when the
AD1877 is in the 32-bit frame mode. Figure 15 illustrates the
left-justified case, while Figure 16 illustrates the I
2
S-justified case.
In all modes, the left and right channel data is updated with the
next sample within the last 1/8 of the current conversion cycle (i.e.,
within the last 4 BCLK cycles in 32-bit frame mode, and within
the last 8 BCLK cycles in 64-bit frame mode). The user must
constrain the output timing such that the MSB of the right channel
is read before the final 1/8 of the current conversion period.
AD1877
REV. A
11
Two modes deserve special discussion. The first special mode,
Slave Mode, Data Position Controlled by WCLK Input (S/M
= HI, RLJUST = HI, MSBDLY = LO), shown in Figure 8, is
the only mode in which WCLK is an input. The 16-bit output
data words can be placed at user-defined locations within 32-bit
fields. The MSB will appear in the BCLK period after WCLK is
detected HI by the BCLK sampling edge. If WCLK is HI dur-
ing the first BCLK of the 32-bit field (if WCLK is tied HI for
example), then the MSB of the output word will be valid on the
sampling edge of the second BCLK. The effect is to delay the
MSB for one bit clock cycle into the field, making the output
data compatible at the data format level with the I
2
S data for-
mat. Note that the relative placement of the WCLK input can
vary from 32-bit field to 32-bit field, even within the same
64-bit frame. For example, within a single 64-bit frame, the left
word could be right justified (by pulsing WCLK HI on the 16th
BCLK) and the right word could be in an I
2
S-compatible data
format (by having WCLK HI at the beginning of the second field).
In the second special mode Master Mode, Right-Justified with
MSB Delay, WCLK Pulsed in 17th Cycle (S/M = LO,
RLJUST = HI, MSBDLY = LO), shown in Figure 12, WCLK
is an output and is pulsed for one cycle by the AD1877. The
MSB is valid on the 18th BCLK sampling edge, and the LSB
extends into the first BCLK period of the next 32-bit field.
Timing Parameters
For master modes, a BCLK transmitting edge (labeled XMIT)
will be delayed from a CLKIN rising edge by t
DLYCKB
, as shown
in Figure 17. A LRCK transition will be delayed from a BCLK
transmitting edge by t
DLYBLR
. A WCLK rising edge will be
delayed from a BCLK transmitting edge by t
DLYBWR
, and a WCLK
falling edge will be delayed from a BCLK transmitting edge by
t
DLYBWF
. The DATA and TAG outputs will be delayed from a
transmitting edge of BCLK by t
DLYDT
.
For slave modes, an LRCK transition must be setup to a BCLK
sampling edge (labeled SAMPLE) by t
SETLRBS.
The DATA
and TAG outputs will be delayed from an LRCK transition by
t
DLYLRDT
, and DATA and TAG outputs will be delayed from
BCLK transmitting edge by t
DLYBDT
. For Slave Mode, Data
Position Controlled by WCLK Input, WCLK must be setup to
a BCLK sampling edge by t
SETWBS
.
For both master and slave modes, BCLK must have a minimum
LO pulsewidth of t
BPWL
, and a minimum HI pulsewidth of t
BPWH
.
The AD1877 CLKIN and RESET timing is shown in Figure
19. CLKIN must have a minimum LO pulsewidth of t
CPWL
, and
a minimum HI pulse width of t
CPWH
. The minimum period of
CLKIN is given by t
CLKIN
. RESET must have a minimum LO
pulsewidth of t
RPWL
. Note that there are no setup or hold time
requirements for RESET.
Synchronizing Multiple AD1877s
Multiple AD1877s can be synchronized by making all the
AD1877s serial port slaves. This option is illustrated in
Figure 6. See the Reset, Autocalibration and Power Down
section above for additional information.
#1 AD1877
SLAVE MODE
CLKIN
DATA
BCLK
WCLK
LRCK
CLOCK
SOURCE
#2 AD1877
SLAVE MODE
CLKIN
DATA
BCLK
WCLK
LRCK
#N AD1877
SLAVE MODE
CLKIN
DATA
BCLK
WCLK
LRCK
RESET
RESET
RESET
Figure 6. Synchronizing Multiple AD1877s

AD1877JRZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Audio A/D Converter ICs IC 16-Bit Stereo
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet