EVAL-AD7923CB2 AD [Analog Devices], EVAL-AD7923CB2 Datasheet - Page 18

no-image

EVAL-AD7923CB2

Manufacturer Part Number
EVAL-AD7923CB2
Description
4-Channel, 200 kSPS, 12-Bit ADC with Sequencer in 16-Lead TSSOP
Manufacturer
AD [Analog Devices]
Datasheet
AD7923
Writing information to the Control Register takes place on the
first 12 falling edges of SCLK in a data transfer, assuming the
MSB, i.e., the WRITE bit, has been set to 1.
The 16-bit word read from the AD7923 will always contain two
leading zeros, two channel address bits that the conversion
result corresponds to, followed by the 12-bit conversion result.
Writing Between Conversions
As outlined in the Operating Modes section, not less than 5 ms
should be left between consecutive valid conversions; however
there is one case where this does not necessarily mean that at
least 5 ms should always be left between CS falling edges. Con-
sider the case when writing to the AD7923 to power it up from
shutdown prior to a valid conversion. The user must write to the
part to tell it to power up before it can convert successfully.
Once the serial write to power up has finished, one may want to
perform the conversion as soon as possible and not have to wait
an additional 5 ms before bringing CS low for the conversion. In
this case, as long as there is a minimum of 5 ms between each valid
conversion, only the quiet time between the CS rising edge at
the end of the write to power up and the next CS falling edge
for a valid conversion needs to be met. Figure 17 illustrates
this point. Note that when writing to the AD7923 between these
valid conversions, the DOUT line will not be driven during the
extra write operation.
It is critical that an extra write operation as outlined above is never
issued between valid conversions when the AD7923 is executing
through a sequence function, because the falling edge of CS in
the extra write would move the mux onto the next channel in
the sequence. This means when the next valid conversion takes
place a channel result would have been missed.
MICROPROCESSOR INTERFACING
The serial interface on the AD7923 allows the part to be directly
connected to a range of many different microprocessors. This
section explains how to interface the AD7923 with some of
the more common microcontroller and DSP serial interface
protocols.
AD7923 to TMS320C541
The serial interface on the TMS320C541 uses a continuous
serial clock and frame synchronization signals to synchronize
the data transfer operations with peripheral devices like the
AD7923. The CS input allows easy interfacing between the
TMS320C541 and the AD7923 without any glue logic required.
The serial port of the TMS320C541 is set up to operate in burst
mode with internal CLKX0 (Tx serial clock on serial port 0) and
FSX0 (Tx frame sync from serial port 0). The serial port control
register (SPC) must have the following setup: FO = 0, FSM = 1,
MCM = 1, and TXM = 1. The connection diagram is shown in
Figure 18. It should be noted that for signal processing applica-
tions, it is imperative that the frame synchronization signal from
the TMS320C541 provides equidistant sampling. The V
pin of the AD7923 takes the same supply voltage as that of the
TMS320C541. This allows the ADC to operate at a higher
voltage than the serial interface, i.e., TMS320C541, if necessary.
DRIVE
–18–
AD7923 to ADSP-21xx
The ADSP-21xx family of DSPs is interfaced directly to the
AD7923 without any glue logic required. The V
AD7923 takes the same supply voltage as that of the ADSP-218x.
This allows the ADC to operate at a higher voltage than the
serial interface, i.e., ADSP-218x, if necessary.
The SPORT0 Control Register should be set up as follows:
The connection diagram is shown in Figure 19. The ADSP-218x
has the TFS and RFS of the SPORT tied together, with TFS set
as an output and RFS set as an input. The DSP operates in
Alternate Framing Mode and the SPORT Control Register is
set up as described. The frame synchronization signal generated
on the TFS is tied to CS and, as with all signal processing appli-
cations, equidistant sampling is necessary. However, in this
example, the timer interrupt is used to control the sampling rate
of the ADC, and under certain conditions equidistant sampling
may not be achieved.
TFSW = RFSW = 1, Alternate Framing
INVRFS = INVTFS = 1, Active Low Frame Signal
DTYPE = 00, Right Justify Data
SLEN = 1111, 16-Bit Data-Words
ISCLK = 1, Internal Serial Clock
TFSR = RFSR = 1, Frame Every Word
IRFS = 0
ITFS = 1
*ADDITIONAL PINS REMOVED FOR CLARITY
*ADDITIONAL PINS REMOVED FOR CLARITY
AD7923
AD7923
V
DRIVE
Figure 18. Interfacing to the TMS320C541
Figure 19. Interfacing to the ADSP-218x
SCLK
DOUT
V
DOUT
SCLK
*
DRIVE
*
DIN
CS
DIN
CS
CLKX
CLKR
DR
DT
FSX
FSR
DR
RFS
TFS
DT
TMS320C541*
SCLK
V
DRIVE
V
DD
ADSP-218x*
DD
pin of the
REV. 0

Related parts for EVAL-AD7923CB2