ad1879 Analog Devices, Inc., ad1879 Datasheet - Page 14
![no-image](/images/no-image-200.jpg)
ad1879
Manufacturer Part Number
ad1879
Description
High Performance 16-/18-bit Stereo Adcs
Manufacturer
Analog Devices, Inc.
Datasheet
1.AD1879.pdf
(16 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ad1879XN
Manufacturer:
ADI/亚德诺
Quantity:
20 000
AD1878/AD1879
To configure the DSP56001 for proper operation, the CRA
register must he programmed for a 24-bit receive data register
(RX). The CRB register must be programmed with the follow-
ing conditions: receiver enabled, normal mode, continuous
clock, word length frame synch, MSB first, SCK an input, SC1
an input and SC2 an input. The PCC register must be pro-
grammed to set the SCK, SC1, SC2, and SRD pins of Port C
to operate as a serial interface rather than in general-purpose
parallel I/O mode.
When SSI detects the rising edge of the AD1878/AD1879’s
word clock (WCK), the next 24-bits on the AD1878/AD1879’s
DATA pin will be clocked into the DSP56001’s SSI receive
shift register on the falling edges of the inverted bit-clock
(BCK) signal. This data is then transferred to the RX register.
The 16-/18-bit word from the AD1879 will be located in Bits 8
through 23/21 of the RX register. Bits 0 through 7 will be
zero-filled. The user may poll Bit 7 (RDF) of the SSI status
register (SSISR) to detect when the data has been transferred
to RX. Alternatively, the RIE bit can be set, allowing an inter-
rupt to occur when the data has been transferred.
To differentiate left and right data, the SC1 pin of the SSI is an
input and is connected to the LRCK of the AD1878/AD1879.
After a data word is transferred to the RX register, the software
reads the IF1 bit in the SSISR, which contains the left/right in-
formation. In order to use the SC1 pin as indicated, the SSI
must operate in synchronous mode. An DSP56001 assembly
code fragment for this approach (with polling) is shown in
Table I.
Table I. DSP56001 Assembly Code for AD1878/AD1879 Data
Transfer
poll jclr
left move
If the SSI is set up for asynchronous operation, the SC0 and
SC1 pins are unavailable for left/right detection. If asynchro-
nous operation is essential, left/right information can be ob-
tained by synchronizing the AD1878/AD1879 with a software
reset. Coming out of reset, the AD1878/AD1879 will transmit
left channel data first. A flag maintained in software can main-
tain the synchronization.
movep
jset
move
jmp
jump poll
AD1879
Figure 19. AD1879 to DSP56001 Interface
#7,X:$FFEE,poll :loop until RX reg. has data
X:$FFEF,al:
#I:X:$FFEE,left
a1,X:$C000
poll
a1,Y:$C000
DATA
LRCK
WCK
BCK
:transfer ADC to al register
:if LRCK=1, save left else
:store right channel
:wait for next input
:store left channel
SRD
SCK
SC2
SC1
DSP56001
–14–
Figure 20. AD1879 S/(THD+N)—1 kHz Tone at –0.5 dBFS
(4k-Point FFT)
Figure 21. AD1879 S/(THD+N)—1 kHz Tone at –10 dBFS
(4k-Point FFT)
Figure 22. AD1879 S/(THD+N)—1 kHz Tone at –60 dBFS
(4k-Point FFT)
–100
–120
–140
–100
–120
–140
AD1878/AD1879 PERFORMANCE GRAPHS
–20
–40
–60
–80
–20
–40
–60
–80
–100
–120
–140
–20
–40
–60
–80
0
0
0
0
0
0
2k
2k
2k
4k
4k
4k
6k
6k
6k
8k
8k
8k
FREQUENCY – Hz
FREQUENCY – Hz
FREQUENCY – Hz
10k
10k
10k
12k
12k
12k
14k
14k
14k
16k
16k
16k
18k
18k
18k
20k
20k
20k
22k
22k
22k
24k
24k
REV. 0
24k