Datasheet

AD7949 Data Sheet
Rev. D | Page 30 of 32
READ/WRITE SPANNING CONVERSION WITH A
BUSY INDICATOR
This mode is used when the AD7949 is connected to any host
using an SPI, serial port, or FPGA with an interrupt input. The
connection diagram is shown in Figure 41, and the correspond-
ing timing is given in Figure 42. For the SPI, the host should use
CPHA = CPOL = 1. Reading/writing spanning conversion is
shown, which covers all three modes detailed in the Digital
Interface section.
A rising edge on CNV initiates a conversion, ignores data
present on DIN and forces SDO to high impedance. After the
conversion is initiated, it continues until completion irrespec-
tive of the state of CNV. CNV must be returned low before the
safe data transfer time, t
DATA
, and then held low beyond the
conversion time, t
CONV
, to generate the busy signal indicator.
When the conversion is complete, SDO transitions from high
impedance to low (data ready), and with a pull-up to VIO, SDO
can be used to interrupt the host to begin data transfer.
After the conversion is complete, the AD7949 enters the
acquisition phase and power-down. The host must enable the
MSB of the CFG register at this time (if necessary) to begin the
CFG update. While CNV is low, both a CFG update and a data
readback take place. The first 14 SCK rising edges are used to
update the CFG register, and the first 14 SCK falling edges clock
out the conversion results starting with the MSB. The restric-
tion for both configuring and reading is that they both occur
before the t
DATA
time elapses for the next conversion. All 14 bits of
CFG[13:0] must be written or they are ignored. Also, if the 14-bit
conversion result is not read back before t
DATA
elapses, it is lost.
The SDO data is valid on both SCK edges. Although the rising
edge can be used to capture the data, a digital host using the
SCK falling edge allows a faster reading rate, provided it has an
acceptable hold time. After the optional 15
th
(or 29
st
) SCK
falling edge, SDO returns to high impedance. Note that if the
optional SCK falling edge is not used, the busy feature cannot
be detected, as described in the General Timing with a Busy
Indicator section.
If CFG readback is enabled, the CFG register associated with
the conversion result is read back MSB first following the LSB of
the conversion result. A total of 29 SCK falling edges is required
to return SDO to high impedance if this is enabled.
AD7949
MISO
MOSI
SCK
SS
SDO
VIO
FOR SPI USE CPHA = 1, CPOL = 1.
SCK
CNV
DIN
DIGITAL HOST
IRQ
07351-041
Figure 41. Connection Diagram for the AD7949 with a Busy Indicator
SCK
ACQUISITION (n)
ACQUISITION
(n + 1)
CNV
DIN
SDO
MSB
MSB
– 1
1
2
BEGIN DATA (n – 1)
BEIGN CFG (n + 1)
CFG
MSB
LSB
+ 1
LSB
13
NOTE 1
NOTE 1
NOTES:
1. THE LSB IS FOR CONVERSION RESULTS OR THE CONFIGURATION REGISTER CFG (n – 1) IF
14 SCK FALLING EDGES = LSB OF CONVERSION RESULTS.
28 SCK FALLING EDGES = LSB OF CONFIGURATION REGISTER.
ON THE 15TH OR 29TH SCK FALLING EDGE, SDO IS DRIVEN TO HIGH IMPEDANCE.
OTHERWISE, THE LSB REMAINS ACTIVE UNTIL THE BUSY INDICATOR IS DRIVEN LOW.
14
15/
29
13
14
15/
29
CONVERSION (n)
CONVERSION
(n – 1)
(QUIET
TIME)
END DATA (n – 2)
END DATA (n – 1)
END CFG (n + 1)
END CFG (n)
XX X X
X
X
t
DATA
UPDATE (n + 1)
CFG/SDO
LSB
+ 1
LSB
CONVERSION (n – 1)
(QUIET
TIME)
UPDATE (n)
CFG/SDO
t
CYC
t
ACQ
t
HDIN
t
HSDO
t
DSDO
t
SDIN
t
DATA
t
CONV
t
CNVH
t
DIS
t
DIS
t
DIS
t
EN
t
EN
t
EN
CFG
MSB –1
t
SCK
t
SCKH
t
SCKL
07351-042
Figure 42. Serial Interface Timing for the AD7949 with a Busy Indicator