Datasheet
AD7452
Rev. B | Page 19 of 28
EXTERNAL
V
REF
(2.5V)
R
V
IN+
V
IN–
AD7452
5V
2.5V
0V
V
REF
+
2.5V
0V
–
2.5V
V
IN
R
R
0.1µF
R
03154-A-034
Figure 34. Applying a Bipolar Single-Ended Input to the AD7452
SERIAL INTERFACE
Figure 2 shows a detailed timing diagram for the serial interface
of the AD7452. The serial clock provides the conversion clock
and also controls the transfer of data from the device during
conversion.
CS
initiates the conversion process and frames the
data transfer. The falling edge of
CS
puts the track-and-hold
into hold mode and takes the bus out of three-state. The analog
input is sampled and the conversion is initiated at this point.
The conversion requires 16 SCLK cycles to complete.
Once 13 SCLK falling edges have occurred, the track-and-hold
goes back into track on the next SCLK rising edge, as shown at
Point B in Figure 2. On the 16
th
SCLK falling edge, the SDATA
line goes back into three-state. If the rising edge of
CS
occurs
before 16 SCLKs have elapsed, the conversion is terminated and
the SDATA line goes back into three-state.
The conversion result from the AD7452 is provided on the
SDATA output as a serial data stream. The bits are clocked out
on the falling edge of the SCLK input. The data stream of the
AD7452 consists of four leading zeros followed by 12 bits of
conversion data provided MSB first. The output coding is twos
complement.
Sixteen serial clock cycles are required to perform a conversion
and access data from the AD7452.
CS
going low provides the
first leading zero to be read in by the microcontroller or DSP.
The remaining data is then clocked out on the subsequent
SCLK falling edges beginning with the second leading zero.
Thus, the first falling clock edge on the serial clock provides the
second leading zero. The final bit in the data transfer is valid on
the 16
th
falling edge, having been clocked out on the previous
(15
th
) falling edge. Once the conversion is complete and the data
has been accessed after the 16 clock cycles, it is important to
ensure that before the next conversion is initiated, enough time
is left to meet the acquisition, and quiet time specifications (see
the Timing Example).
In applications with a slower SCLK, it may be possible to read in
data on each SCLK rising edge, i.e., the first rising edge of SCLK
after the
CS
falling edge would have the leading zero provided
and the 15
th
SCLK edge would have DB0 provided.
Timing Example
Having F
SCLK
= 10 MHz and a throughput rate of 555 kSPS gives
a cycle time of
1/Throughput = 1/555,000 = 1.8 µs
A cycle consists of
t
2
+ 12.5(1/F
SCLK
) + t
ACQ
= 1.8 µs
Therefore, if t
2
= 10 ns
10 ns + 12.5(1/10 MHz) + t
ACQ
= 1.8 µs
t
ACQ
= 540 ns
This 540 ns satisfies the requirement of 290 ns for t
ACQ.
From Figure 35, t
ACQ
comprises
2.5(1/F
SCLK
) + t
8
+ t
QUIET
where t
8
= 35 ns. This allows a value of 255 ns for t
QUIET
,
satisfying the minimum requirement of 60 ns.
t
2
t
8
t
6
t
5
t
CONVERT
CS
SCLK
12345 13141516
03154-A-035
12.5(1/F
SCLK
)
t
ACQUISITION
1/THROUGHPUT
t
QUIET
10ns
Figure 35. Serial Interface Timing Example