AD7823
–9–
REV. C
t
POWER-UP
1.5s
A
B
t
1
CONVST
D
OUT
SCLK
CURRENT CONVERSION
RESULT
Figure 15. Mode 2 Operation Timing
CONVST
D
OUT
SCLK
t
3
t
4
t
7
t
6
t
8
1234 5678
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
t
5
Figure 16. Serial Interface Timing
Mode 2 Operation (Automatic Power-Down)
When used in this mode of operation, the part automatically
powers down at the end of a conversion. This is achieved by
leaving the CONVST signal low until the end of the conversion.
The timing diagram in Figure 15 shows how to operate the part
in this mode. If the AD7823 is powered down, the rising edge of
the CONVST pulse causes the part to power up. When the part
has powered up ( 1.5 µs after the rising edge of CONVST ), the
CONVST signal is brought low, and a conversion is initiated
on this falling edge of the CONVST signal. The conversion
takes 5 µs max and after this time, the conversion result is latched
into the serial shift register and the part powers down. Therefore,
when the part is operated in Mode 2, the effective conversion
time is equal to the power-up time (1.5 µs) and the SAR conver-
sion time (5 µs), i.e., 6.5 µs.
As in the case of Mode 1 operation, the rising edge of the
CONVST pulse enables the serial port of the AD7823—see
Serial Interface section. If a serial read is initiated soon after this
rising edge (Point “A”), i.e., before the end of the conversion,
then the result of the previous conversion is shifted out on pin
D
OUT
. In order to read the result of the current conversion, the
user must wait at least 5 µs max after the falling edge of CONVST
before initiating a serial read. The serial port of the AD7823 is
still functional even though the AD7823 has been powered
down. Note: A serial read should not cross the reset rising edge
of CONVST.
Because it is possible to do a serial read from the part while it is
powered down, the AD7823 is powered up only to do the conver-
sion and is immediately powered down at the end of a conversion.
This significantly improves the power consumption of the part
at slower throughput rates—see Power vs. Throughput Rate
section.
Note: Although the AD7823 takes 1.5 µs to power up after
the rising edge of CONVST, it is not necessary to leave CONVST
high for 1.5 µs after the rising edge before bringing it low to
initiate a conversion. If the CONVST signal goes low before
1.5 µs in time has elapsed, the power-up time is timed out inter-
nally and a conversion is initiated. Hence the AD7823 is guaran-
teed to have always powered up before a conversion is initiated—
even if the CONVST pulsewidth is <1.5 µs. If the CONVST
width is >1.5 µs a conversion is initiated on the falling edge.
SERIAL INTERFACE
The serial interface of the AD7823 consists of three wires, a
serial clock input SCLK, serial port enable CONVST and a
serial data output D
OUT
, see Figure 16 below. The serial inter-
face is designed to allow easy interfacing to most microcontrollers,
e.g., PIC16C, PIC17C, QSPI and SPI, without the need for any
gluing logic. When interfacing to the 8051, the SCLK must be
inverted. The “Microprocessor Interface” section explains how
to interface to some popular microcontrollers.
Figure 16 shows the timing diagram for a serial read from the
AD7823. The serial interface works with both a continuous and
a noncontinuous serial clock. The rising edge of the CONVST
signal RESETS a counter, which counts the number of serial
clocks to ensure the correct number of bits are shifted out of the
serial shift registers. The SCLK is ignored once the correct
number of bits have been shifted out. In order for another serial
transfer to take place, the counter must be reset by the falling
edge of the eighth SCLK. Data is clocked out from the D
OUT
line on the first rising SCLK edge after the rising edge of the
CONVST signal and on subsequent SCLK rising edges. The
D
OUT
pin goes back into a high impedance state on the falling
edge of the eighth SCLK. In multipackage applications, the
CONVST signal can be used as a chip select signal. The serial
interface will not shift data out until it receives a rising edge on
the CONVST pin.
AD7823
–10–
REV. C
MICROPROCESSOR INTERFACING
The serial interface on the AD7823 allows the parts to be directly
connected to a range of many different microprocessors. This
section explains how to interface the AD7823 with some of the
more common microcontroller serial interface protocols.
AD7823 to PIC16C6x/7x
The PIC16C6x Synchronous Serial Port (SSP) is configured
as an SPI Master with the Clock Polarity Bit = 0. This is done
by writing to the Synchronous Serial Port Control Register
(SSPCON). See PIC16/17 Microcontroller User Manual. Figure
17 shows the hardware connections needed to interface to the
PIC16/PIC17. In this example I/O port RA1 is being used to
pulse CONVST and enable the serial port of the AD7823.
SCLK
D
OUT
SCK/RC3
SDO/RC5
RA1
AD7823* PIC16C6x/7x*
CONVST
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 17. Interfacing to the PIC16/PIC17
AD7823 to MC68HC11
The Serial Peripheral Interface (SPI) on the MC68HC11 is
configured for Master Mode (MSTR = 0), Clock Polarity Bit
(CPOL) = 0, and the Clock Phase Bit (CPHA) = 1. The SPI is
configured by writing to the SPI Control Register (SPCR)—see
68HC11 User Manual. A connection diagram is shown in
Figure 18.
SCLK
D
OUT
SCLK/PD4
MISO/PD2
PA0
AD7823* MC68HC11*
CONVST
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 18. Interfacing to the MC68HC11
AD7823 to 8051
The AD7823 requires a clock synchronized to the serial data;
therefore, the 8051 serial interface must be operated in Mode 0.
In this mode serial data enters and exits through RXD, and a serial
clock is output on TXD (half duplex). Figure 19 shows how the
8051 is connected to the AD7823. Here, because the AD7823
shifts data out on the rising edge of the serial clock, the serial
clock must be inverted.
SCLK
D
OUT
TXD
RXD
P1.1
AD7823* 8051*
CONVST
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 19. Interfacing to the 8051 Serial Port
It is possible to implement a serial interface using the data ports
on the 8051 (or any microcontroller). This would allow direct
interfacing between the AD7823 and 8051 to be implemented
without the need for any “gluing” logic. The technique involves
“bit banging” an I/O port (e.g., P1.0) to generate a serial clock
and using another I/O port (e.g., P1.1) to read in data, see
Figure 20.
SCLK
D
OUT
P1.0
P1.1
P1.2
AD7823* 8051*
CONVST
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 20. Interfacing to the 8051 Using I/O Ports
AD7823
–11–
REV. C
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
8-Lead Plastic DIP
(N-8)
8
14
5
0.430 (10.92)
0.348 (8.84)
0.280 (7.11)
0.240 (6.10)
PIN 1
SEATING
PLANE
0.022 (0.558)
0.014 (0.356)
0.060 (1.52)
0.015 (0.38)
0.210 (5.33)
MAX
0.130
(3.30)
MIN
0.070 (1.77)
0.045 (1.15)
0.100
(2.54)
BSC
0.160 (4.06)
0.115 (2.93)
0.325 (8.25)
0.300 (7.62)
0.015 (0.381)
0.008 (0.204)
0.195 (4.95)
0.115 (2.93)
8-Lead Small Outline Package
(SO-8)
0.1968 (5.00)
0.1890 (4.80)
8
5
41
0.2440 (6.20)
0.2284 (5.80)
PIN 1
0.1574 (4.00)
0.1497 (3.80)
0.0688 (1.75)
0.0532 (1.35)
SEATING
PLANE
0.0098 (0.25)
0.0040 (0.10)
0.0192 (0.49)
0.0138 (0.35)
0.0500
(1.27)
BSC
0.0098 (0.25)
0.0075 (0.19)
0.0500 (1.27)
0.0160 (0.41)
8
0
0.0196 (0.50)
0.0099 (0.25)
x 45
8-Lead microSOIC Package
(RM-8)
85
4
1
0.122 (3.10)
0.114 (2.90)
0.199 (5.05)
0.187 (4.75)
PIN 1
0.0256 (0.65) BSC
0.122 (3.10)
0.114 (2.90)
SEATING
PLANE
0.006 (0.15)
0.002 (0.05)
0.018 (0.46)
0.008 (0.20)
0.043 (1.09)
0.037 (0.94)
0.120 (3.05)
0.112 (2.84)
0.011 (0.28)
0.003 (0.08)
0.028 (0.71)
0.016 (0.41)
33
27
0.120 (3.05)
0.112 (2.84)
C01322a–0–10/00 (rev. C)
PRINTED IN U.S.A.

AD7823YRMZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 2.7V-5.5V 4.5ms 8B
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union