AD7817/AD7818 Data Sheet
Rev. E | Page 16 of 20
DB7 – DB0
DB7(DB9) – DB0
D
OUT
SCLK
BUSY
D
IN
OTI
t
1
t
2
t
3
t
17
t
15
t
16
CONVST
CS
RD/WR
01316-023
Figure 17. Mode 1 Operation
DB7 – DB0
DB7(DB9) – DB0
D
OUT
SCLK
BUSY
D
IN
OTI
CONVST
CS
RD/WR
t
POWER-UP
t
1
t
3
t
15
t
16
01316-024
Figure 18. Mode 2 Operation
Data Sheet AD7817/AD7818
Rev. E | Page 17 of 20
POWER vs. THROUGHPUT
Superior power performance can be achieved by using the
automatic power-down (Mode 2) at the end of a conversion
(see the Operating Modes section).
BUSY
C
ONVST
t
POWER-UP
2µs
t
CONVERT
8µs
t
CYCLE
100µs @ 10kSPS
01316-025
Figure 19. Automatic Power-Down
Figure 19 shows how the automatic power-down is implemented to
achieve the optimum power performance from the AD7817 and
AD7818. The devices operate in Mode 2, and the duration of
CONVST
pulse is set equal to the power-up time (2 µs). As the
throughput rate of the device is reduced, the device remains in
its power-down state longer, and the average power consumption
over time drops accordingly.
For example, if the AD7817 operates in continuous sampling
mode with a throughput rate of 10 kSPS, the power consumption
is calculated as follows. The power dissipation during normal
operation is 4.8 mW, V
DD
= 3 V. If the power-up time is 2 µs,
and the conversion time is 9 µs, the AD7817 can typically dissipate
4.8 mW for 11 µs (worst case) during each conversion cycle. If
the throughput rate is 10 kSPS, the cycle time is 100 µs, and
the power dissipated while powered up during each cycle is
(11/100) × (4.8 mW) = 528 µW typical. Power dissipated while
powered down during each cycle is (89/100) × (3 V × 2 µA) =
5.34 µW typ. Overall power dissipated is 528 µW + 5.34 µW =
533 µW.
10
1
0.1
0.01
08070605040302010
POWER (mW)
THROUGHPUT (kHz)
01316-026
Figure 20. Power vs. Throughput Rate
AD7817 SERIAL INTERFACE
The serial interface on the AD7817 is a 5-wire interface that has
read and write capabilities, with data being read from the output
register via the D
OUT
line and data being written to the control
register via the D
IN
line. The AD7817 operates in slave mode
and requires an externally applied serial clock to the SCLK input
to access data from the data register or write to the control byte.
The RD/
WR
line is used to determine whether data is being
written to or read from the AD7817. When data is being written
to the AD7817, the RD/
WR
line is set logic low, and when data
is being read from the device, the RD/
WR
line is set logic high
(see Figure 21). The serial interface on the AD7817 is designed
to allow the device to be interfaced to systems that provide a
serial clock that is synchronized to the serial data, such as the
80C51, 87C51, 68HC11, 68HC05, and PIC16Cxx microcontrollers.
DB9 DB8 DB7
DB0
DB1
DB7 DB6
DB5
DB1
DB0
SCLK
D
IN
123
123
910
RD/W
R
CS
87
CONTROL BYTE
D
OUT
t
4
t
5
t
10
t
11
t
8
t
9
t
6
t
7
t
13
t
14a
t
14b
t
12
01316-027
Figure 21. AD7817 Serial Interface Timing Diagram
AD7817/AD7818 Data Sheet
Rev. E | Page 18 of 20
Read Operation
Figure 21 shows the timing diagram for a serial read from the
AD7817.
CS
is brought low to enable the serial interface, and
RD/
WR
is set logic high to indicate that the data transfer is a
serial read from the AD7817. The rising edge of RD/
WR
clocks
out the first data bit (DB9), subsequent bits are clocked out on
the falling edge of SCLK (except for the first falling SCLK edge)
and are valid on the rising edge. During a read operation, 10 bits of
data are transferred. However, a choice is available to only clock
eight bits if the full 10 bits of the conversion result are not required.
The serial data can be accessed in a number of bytes if 10 bits of
data are being read. However, RD/
WR
must remain high for the
duration of the data transfer operation. Before starting a new data
read operation, the RD/
WR
signal must be brought low and high
again. At the end of the read operation, the D
OUT
line enters a high
impedance state on the rising edge of the
CS
, or the falling edge of
RD/
WR
, whichever occurs first. The readback process is a
destructive process, in that once data is read back, it is erased. A
conversion must be done again; otherwise, no data is read back.
Write Operation
Figure 21 also shows the control byte write operation to the
AD7817. The RD/
WR
input goes low to indicate to the device
that a serial write is about to occur. The AD7817 control byte is
loaded on the rising edge of the first eight clock cycles of the serial
clock with data on all subsequent clock cycles being ignored. To
carry out a second successive write operation, the RD/
WR
signal
must be brought high and low again.
Simplifying the Serial Interface
To minimize the number of interconnect lines to the AD7817,
connect the
CS
line to DGND. This is possible if the AD7817 is
not sharing the serial bus with another device. It is also possible to
tie the D
IN
and D
OUT
lines together. This arrangement is compatible
with the 8051 microcontroller. The 68HC11, 68HC05, and
PIC16Cxx can be configured to operate with a single serial data
line. In this way, the number of lines required to operate the serial
interface can be reduced to three, that is, RD/
WR
, SCLK, and
D
IN
/D
OUT
(see Figure 8).
AD7818 SERIAL INTERFACE MODE
The serial interface on the AD7818 is a 3-wire interface that has
read and write capabilities. Data is read from the output register
and the control byte is written to the AD7818 via the D
IN
/D
OUT
line. The AD7818 operates in slave mode and requires an externally
applied serial clock to the SCLK input to access data from the
data register or write to the control byte. The RD/
WR
line is
used to determine whether data is being written to or read from
the AD7818. When data is being written to the AD7818, the
RD/
WR
line is set logic low, and when data is being read from
the AD7818 the line is set logic high (see Figure 22). The serial
interface on AD7818 is designed to allow the AD7818 to interface
with systems that provide a serial clock that is synchronized to
the serial data, such as the 80C51, 87C51, 68HC11, 68HC05,
and PIC16Cxx microcontrollers.
Read Operation
Figure 22 shows the timing diagram for a serial read from the
AD7818. The RD/
WR
is set logic high to indicate that the data
transfer is a serial read from the devices. When RD/
WR
is logic
high, the D
IN
/D
OUT
pin becomes a logic output, and the first data
bit (DB9) appears on the pin. Subsequent bits are clocked out on
the falling edge of SCLK, starting with the second SCLK falling
edge after RD/
WR
goes high, and are valid on the rising edge of
SCLK. Ten bits of data are transferred during a read operation.
However, a choice is available to only clock eight bits if the full
10 bits of the conversion result are not required. The serial data
can be accessed in a number of bytes if 10 bits of data are being
read. However, RD/
WR
must remain high for the duration of the
data transfer operation. To carry out a successive read operation,
the RD/
WR
pin must be brought logic low and high again. At
the end of the read operation, the D
IN
/D
OUT
pin becomes a logic
input on the falling edge of RD/
WR
.
Write Operation
A control byte write operation to the AD7818 is also shown in
Figure 22. The RD/
WR
input goes low to indicate to the device that
a serial write is about to occur. The AD7818 control bytes are
loaded on the rising edge of the first eight clock cycles of the serial
clock with data on all subsequent clock cycles being ignored. To
carry out a successive write to the AD7818 the RD/
WR
pin must
be brought logic high and low again.
SCLK
D
IN/OUT
RD/WR
t
5
t
7
t
8
t
9
t
11
t
12
t
13
t
14a
t
6
123
12 3
910
87
CONTROL BYTE
DB9 DB8 DB7
DB0DB1
DB0DB1
DB7 DB6
DB5
01316-028
Figure 22. AD7818 Serial Interface Timing Diagram

AD7818ARMZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 1CH 10B W/ON-CHIP TEMP SENSOR IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union