AD7367-5ARUZ AD [Analog Devices], AD7367-5ARUZ Datasheet - Page 36

no-image

AD7367-5ARUZ

Manufacturer Part Number
AD7367-5ARUZ
Description
1 MSPS, 8-Channel, Software-Selectable, True Bipolar Input, 12-Bit Plus Sign ADC
Manufacturer
AD [Analog Devices]
Datasheet
AD7329
MICROPROCESSOR INTERFACING
The serial interface on the AD7329 allows the part to be directly
connected to a range of different microprocessors. This section
explains how to interface the AD7329 with some of the most
common microcontroller and DSP serial interface protocols.
AD7329 TO ADSP-21xx
The ADSP-21xx family of DSPs interface directly to the AD7329
without requiring glue logic. The V
the same supply voltage as that of the ADSP-21xx. This allows
the ADC to operate at a higher supply voltage than its serial
interface. The SPORT0 on the ADSP-21xx should be configured
as shown in Table 16.
Table 16. SPORT0 Control Register Setup
Setting
TFSW = RFSW = 1
INVRFS = INVTFS = 1
DTYPE = 00
SLEN = 1111
ISCLK = 1
TFSR = RFSR = 1
IRFS = 0
ITFS = 1
The connection diagram is shown in Figure 58. The ADSP-21xx
has TFS0 and RFS0 tied together. TFS0 is set as an output, and
RFS0 is set as an input. The DSP operates in alternative framing
mode, and the SPORT0 control register is set up as described in
Table 16. The frame synchronization signal generated on TFS is
tied to CS and, as with all signal processing applications, requires
equidistant sampling. However, as in this example, the timer
interrupt is used to control the sampling rate of the ADC, and
under certain conditions equidistant sampling cannot be achieved.
The timer registers are loaded with a value that provides an
interrupt at the required sampling interval. When an interrupt
is received, a value is transmitted with TFS/DT (ADC control
word). The TFS is used to control the RFS and, hence, the
reading of data.
1
ADDITIONAL PINS OMITTED FOR CLARITY.
V
DRIVE
AD7329
Figure 58. Interfacing the AD7329 to the ADSP-21xx
DOUT
SCLK
1
DIN
CS
Description
Alternative framing
Active low frame signal
Right justify data
16-bit data-word
Internal serial clock
Frame every word
DRIVE
pin of the AD7329 takes
SCLK0
TFS0
RFS0
DT0
DR0
ADSP-21xx
V
DD
1
Rev. 0 | Page 36 of 40
The frequency of the serial clock is set in the SCLKDIV register.
When the instruction to transmit with TFS is given (AX0 =
TX0), the state of the serial clock is checked. The DSP waits
until the SCLK has gone high, low, and high again before
starting the transmission. If the timer and SCLK are chosen so
that the instruction to transmit occurs on or near the rising
edge of SCLK, data can be transmitted immediately or at the
next clock edge.
For example, the ADSP2111 has a master clock frequency of
16 MHz. If the SCLKDIV register is loaded with the value 3, an
SCLK of 2 MHz is obtained, and eight master clock periods
elapse for every one SCLK period. If the timer registers are
loaded with the value 803, 100.5 SCLKs occur between
interrupts and, subsequently, between transmit instructions.
This situation leads to nonequidistant sampling because the
transmit instruction occurs on an SCLK edge. If the number of
SCLKs between interrupts is an integer of N, equidistant
sampling is implemented by the DSP.
AD7329 TO ADSP-BF53x
The ADSP-BF53x family of DSPs interfaces directly to the
AD7329 without requiring glue logic, as shown in Figure 59.
The SPORT0 Receive Configuration 1 register should be set up
as outlined in Table 17 .
Table 17. SPORT0 Receive Configuration 1 Register
Setting
RCKFE = 1
LRFS = 1
RFSR = 1
IRFS = 1
RLSBIT = 0
RDTYPE = 00
IRCLK = 1
RSPEN = 1
SLEN = 1111
TFSR = RFSR = 1
1
ADDITIONAL PINS OMITTED FOR CLARITY.
V
DRIVE
Figure 59. Interfacing the AD7329 to the ADSP-BF53x
AD7329
DOUT
SCLK
1
DIN
CS
Active low frame signal
Internal receive clock
Description
Sample data with falling edge of RSCLK
Frame every word
Internal RFS used
Receive MSB first
Zero fill
Receive enable
16-bit data-word
RSCLK0
RFS0
DT0
DR0
ADSP-BF53x
V
DD
1

Related parts for AD7367-5ARUZ