–27–
REV. B
AD7851
MODE 4 and 5 (Self-Clocking Modes)
The timing diagrams in Figure 38 and Figure 39 are for Inter-
face Modes 4 and 5. Interface Mode 4 has a noncontinuous
SCLK output and Interface Mode 5 has a continuous SCLK
output (SCLK is switched off internally during calibration for
both Modes 4 and 5). These modes of operation are especially
different from all the other modes because the SCLK and
SYNC are outputs. The SYNC is generated by the part as is the
SCLK. The master clock at the CLKIN pin is routed directly to
the SCLK pin for Interface Mode 5 (continuous SCLK) and the
CLKIN signal is gated with the SYNC to give the SCLK (non-
continuous) for Interface Mode 4.
The most important point about these two modes of operation
is that the result of the current conversion is clocked out during
the same conversion and a write to the part during this conver-
sion is for the next conversion. The arrangement is shown in
Figure 37. Figure 38 and Figure 39 show more detailed timing
for the arrangement of Figure 37.
WRITE N+1
READ N
3.25s
WRITE N+2
READ N+1
WRITE N+3
READ N+2
THE CONVERSION RESULT DUE TO
WRITE N+1 IS READ HERE
3.25s 3.25s
CONVERSION N CONVERSION N+1 CONVERSION N+2
Figure 37.
In Figure 38 the first point to note is that the BUSY, SYNC,
and SCLK are all outputs from the AD7851 with the CONVST
being the only input signal. Conversion is initiated with the
CONVST signal going low. This CONVST falling edge also
triggers the BUSY to go high. The CONVST signal rising edge
triggers the SYNC to go low after a short delay (2.5 t
CLKIN
to
3.5 t
CLKIN
typically) after which the SCLK will clock out the
data on the DOUT pin during conversion. The data on the DIN
pin is also clocked in to the AD7851 by the same SCLK for the
next conversion. The read/write operations must be complete
after 16 clock cycles (which takes 3.25 µs approximately from
the rising edge of CONVST assuming a 6 MHz CLKIN). At
this time, the conversion will be complete, the SYNC will go
high, and the BUSY will go low. The next falling edge of the
CONVST must occur at least 330 ns after the falling edge of
BUSY to allow the track-and-hold amplifier adequate acquisi-
tion time as shown in Figure 38. This gives a throughput time of
3.68 µs. The maximum throughput rate in this case is 272 kHz.
t
1
CONVST
(I/P)
SCLK
(O/P)
CONVERSION ENDS
3.25
s LATER
SERIAL READ
AND WRITE
OPERATIONS
OUTPUT SERIAL SHIFT
REGISTER IS RESET
READ OPERATION
SHOULD END 500ns
PRIOR TO NEXT RISING
400ns MIN
BUSY
(O/P)
SYNC
(O/P)
CONVERSION IS INITIATED
AND TRACK-AND-HOLD
GOES INTO HOLD
EDGE OF CONVST
t
1
= 100ns MIN
t
CONVERT
= 3.25s
Figure 38. Mode 4 and 5 Timing Diagram (SM1 = 1,
SM2 = 1 and 0)
In these interface modes, the part is now the master and the
DSP is the slave. Figure 39 is an expansion of Figure 38. The
AD7851 will ensure SYNC goes low after the rising edge C of
the continuous SCLK (Interface Mode 5) in Figure 39. Only in
the case of a noncontinuous SCLK (Interface Mode 4) will the
time t
4
apply. The first data bit is clocked out from the falling
edge of SYNC. The SCLK rising edge clocks out all subsequent
bits on the DOUT pin. The input data present on the DIN pin
is clocked in on the rising edge of the SCLK. The POLARITY
pin may be used to change the SCLK edge which the data is
sampled on and clocked out on. The SYNC will go high after
the 16th SCLK rising edge and before the falling edge D of the
continuous SCLK in Figure 39. This ensures the part will not
clock in an extra bit from the DIN pin or clock out an extra bit
on the DOUT pin.
DB12 DB0DB10DB11DB13DB14DB15
DB0DB10DB12DB13DB14DB15 DB11
THREE-STATE
THREE-STATE
POLARITY PIN
LOGIC HIGH
SYNC (O/P)
162345
16
SCLK (O/P)
t
9
t
5
t
11A
t
4
t
10
t
12
DOUT (O/P)
t
8
DIN (I/P)
t
4
= 0.6 t
SCLK
(NONCONTINUOUS SCLK), t
6
= 45ns MAX,
t
7
= 30ns
MIN, t
8
= 20ns
MIN , t
11A
= 50ns MAX
t
6
t
7
t
8
D
C
Figure 39. Mode 4 and 5 Timing Diagram for Read/Write with
SYNC
Output and SCLK Output (Continuous and
Noncontinuous, SM1 = 1, SM2 = 1 and 0)
AD7851
–28–
REV. B
If the user has control of the CONVST pin but does not want to
exercise it for every conversion, the control register may be used
to start a conversion. Setting the CONVST bit in the control
register to 1 starts a conversion. If the user does not have con-
trol of the CONVST pin, a conversion should not be initiated
by writing to the control register. The reason for this is that the
user may get locked out and not be able to perform any further
write/read operations. When a conversion is started by writing to
the control register, the SYNC goes low and read/write opera-
tions take place while the conversion is in progress. However,
once the conversion is complete, there is no way of writing to
the part unless the CONVST pin is exercised. The CONVST
signal triggers the SYNC signal low which allows read/write
operations to take place. SYNC must be low to perform read/
write operations. The SYNC is triggered low by the CONVST
signal rising edge or by setting the CONVST bit in the control
register to 1. Therefore, if there is not full control of the
CONVST pin, the user may become locked out.
SERIAL
INTERFACE
MODE
?
POWER ON, APPLY CLKIN SIGNAL,
WAIT FOR AUTOMATIC CALIBRATION
DIN CONNECTED TO DGND
NO
YES
START
WAIT FOR BUSY SIGNAL
TO GO LOW
PULSE CONVST PIN
READ
DATA
DURING
CONVERSION
?
WAIT APPROXIMATELY 200ns
AFTER CONVST RISING EDGE
APPLY SYNC (IF REQUIRED), SCLK, AND READ
CONVERSION RESULT ON DOUT PIN
PULSE CONVST PIN
SYNC AUTOMATICALLY GOES LOW
AFTER CONVST RISING EDGE
SCLK AUTOMATICALLY ACTIVE, READ
CONVERSION RESULT ON DOUT PIN
4, 5
2, 3
Figure 40. Flowchart for Setting Up and Reading from the AD7851
CONFIGURING THE AD7851
AD7851 as a Read-Only ADC
The AD7851 contains 14 on-chip registers that can be accessed
via the serial interface. In the majority of applications, it will not
be necessary to access all of these registers. Figure 40 outlines the
sequence used to configure the AD7851 as a read-only ADC. In
this case, there is no writing to the on-chip registers and only the
conversion result data is read from the part. Interface Mode 1
cannot be used in this case as it is necessary to write to the con-
trol register to set Interface Mode 1. Here the CLKIN signal is
applied directly after power-on; the CLKIN signal must be
present to allow the part to perform a calibration. This automatic
calibration will be completed approximately 42 ms after the
AD7851 has powered up (6 MHz CLK).
–29–
REV. B
AD7851
SERIAL
INTERFACE
MODE
?
NO
YES
TRANSFER
DATA
DURING
CONVERSION
?
APPLY SYNC (IF REQUIRED), SCLK, READ
CURRENT CONVERSION RESULT ON DOUT PIN,
AND WRITE ALL 0s ON DIN PIN
WAIT FOR BUSY SIGNAL TO GO LOW
OR WAIT FOR BUSY BIT = 0
APPLY SYNC (IF REQUIRED), SCLK, WRITE TO CONTROL
REGISTER SETTING CONVST BIT TO 1, READ CURRENT
CONVERSION RESULT ON DOUT PIN
2, 3
INITIATE
CONVERSION
IN
SOFTWARE
?
WAIT APPROXIMATELY 200ns
AFTER CONVST RISING EDGE
APPLY SYNC (IF REQUIRED),
SCLK, READ PREVIOUS CONVERSION
RESULT ON DOUT PIN,
AND WRITE ALL 0s ON DIN PIN
NO
YES
TRANSFER
DATA DURING
CONVERSION
APPLY SYNC (IF REQUIRED), SCLK, WRITE TO CONTROL
REGISTER SETTING CONVST BIT TO 1, READ PREVIOUS
CONVERSION RESULT ON DOUT PIN (SEE NOTE)
YES
NO
NOTE: WHEN USING THE SOFTWARE CONVERSION START AND
TRANSFERRING DATA DURING CONVERSION, THE USER MUST ENSURE
THE CONTROL REGISTER WRITE OPERATION EXTENDS BEYOND THE
FALLING EDGE OF BUSY. THE FALLING EDGE OF BUSY RESETS THE
CONVST BIT TO 0 AND ONLY AFTER THIS TIME CAN IT BE REPROGRAMMED
TO 1 TO START THE NEXT CONVERSION.
START
POWER ON, APPLY CLKIN SIGNAL,
WAIT FOR AUTOMATIC CALIBRATION
PULSE CONVST PIN
WAIT FOR BUSY SIGNAL TO GO
LOW OR WAIT FOR BUSY BIT = 0
Figure 41. Flowchart for Setting Up, Reading, and Writing in Interface Modes 2 and 3
Writing to the AD7851
For accessing the on-chip registers, it is necessary to write to the
part. To enable Serial Interface Mode 1, the user must also write
to the part. Figures 41, 42, and 43 shows how to configure the
AD7851 for each of the different serial interface modes. The
continuous loops on all diagrams indicate the sequence for more
than one conversion. The options of using a hardware (pulsing
the CONVST pin) or software (setting the CONVST bit to 1)
conversion start, and reading/writing during or after conversion
are shown in Figures 41 and 42. If the CONVST pin is never
used, then it should be tied to DV
DD
permanently. Where refer-
ence is made to the BUSY bit equal to a Logic 0, to indicate the
end of conversion, the user in this case would poll the BUSY bit
in the status register.
Interface Modes 2 and 3 Configuration
Figure 41 shows the flowchart for configuring the part in Inter-
face Modes 2 and 3. For these interface modes, the read and
write operations take place simultaneously via the serial port.
Writing all 0s ensures that no valid data is written to any of the
registers. When using the software conversion start and transfer-
ring data during conversion, the Figure 41 note must be obeyed.

AD7851ARSZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 14B 333kSPS Serial Sampling
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union