AD7851
DETAILED TIMING SECTION
Mode 1 (2-Wire 8051 Interface)
The read and writing takes place on the DIN line and the conver-
sion is initiated by pulsing the CONVST pin (note that in every
write cycle the 2/3 MODE bit must be set to 1). The conversion
may be started by setting the CONVST bit in the control register
to 1 instead of using the CONVST line.
Below in Figure 33 and in Figure 34 are the timing diagrams for
Interface Mode 1 in the 2-wire interface mode. Here the DIN pin
is used for both input and output as shown. The SYNC input is
level-triggered active low and can be pulsed (Figure 33) or can be
constantly low (Figure 34).
In Figure 33, the part samples the input data on the rising edge
of SCLK. After the 16th rising edge of SCLK, the DIN is con-
figured as an output. When the SYNC is taken high, the DIN is
three-stated. Taking SYNC low disables the three-state on the
DIN pin and the first SCLK falling edge clocks out the first data
bit. Once the 16 clocks have been provided, the DIN pin will
automatically revert back to an input after a time t14. Note that a
continuous SCLK shown by the dotted waveform in Figure 33
can be used provided the SYNC is low for only 16 clock pulses
in each of the read and write cycles. The POLARITY pin may
be used to change the SCLK edge which the data is sampled on
and clocked out on.
In Figure 34, the SYNC line is tied low permanently, which
results in a different timing arrangement. With SYNC tied low
permanently, the DIN pin will never be three-stated. The 16th
rising edge of SCLK configures the DIN pin as an input or an
output as shown in the diagram. Here no more than 16 SCLK
pulses must occur for each of the read and write operations.
If reading from and writing to the calibration registers in this
interface mode, all the selected calibration registers must be
read from or written to. The read and write operations cannot
be aborted. When reading from the calibration registers, the
DIN pin will remain as an output for the full duration of all
the calibration register read operations. When writing to the
calibration registers, the DIN pin will remain as an input for
the full duration of all the calibration register write operations.
POLARITY PIN
LOGIC HIGH
SYNC (I/P)
t3
SCLK (I/P)
DIN (I/O)
t3 = –0.4 tSCLK MIN (NONCONTINUOUS SCLK) ؎0.4 tSCLK MIN/MAX (CONTINUOUS SCLK),
t6 = 45 MAX, t7 = 30ns MIN, t8 = 20 MIN
1
t7
t8
DB15
DATA WRITE
t11
16
t12
t3
t5A
DB0
THREE-STATE
1
t6
DB15
t11
16
t6
t14
DB0
DATA READ
DIN BECOMES AN OUTPUT
DIN BECOMES AN INPUT
Figure 33. Timing Diagram for Read/Write Operation with DIN as an Input/Output (Interface Mode 1, SM1 = SM2 = 0)
POLARITY PIN
LOGIC HIGH
SCLK (I/P)
1
t7
DIN (I/O)
DB15
t6 = 45 MAX, t7 = 30ns MIN, t8 = 20 MIN,
t13 = 90 MAX, t14 = 50ns MAX
16
t8
t13
DB0
1
t6
DB15
6
t6
16
t14
DB0
DATA WRITE
DATA READ
DIN BECOMES AN INPUT
Figure 34. Timing Diagram for Read/Write Operation with DIN as an Input/Output and SYNC Input Tied Low
(Interface Mode 1, SM1 = SM2 = 0)
REV. B
–25–