Data Sheet AD7788/AD7789
Rev. C | Page 13 of 20
MODE REGISTER
(RS1, RS0 = 0, 1; Power-On/Reset = 0x02)
The mode register is an 8-bit register from which data can be read from or written to. This register is used to configure the ADC for
range, to set unipolar or bipolar mode, or to place the device into power-down mode. Table 11 outlines the bit designations for the mode
register. MR0 through MR7 indicate the bit locations, MR denoting the bits are in the mode register. MR7 denotes the first bit of the data
stream. The number in parentheses indicates the power-on/reset default status of that bit. Any write to the setup register resets the
modulator and filter, and sets the
RDY
bit.
MSB LSB
MR7 MR6 MR5 MR4 MR3 MR2 MR1 MR0
MD1(0) MD0(0) 0(0) 0(0) 0(0)
U/
B(0)
1(1) 0(0)
Table 11. Mode Register Bit Designations
Bit Location Bit Name Description
MR7 to MR6 MD1 to MD0
Mode Select Bits. These bits select between continuous conversion mode, single conversion mode, and
standby mode. In continuous conversion mode, the ADC continuously performs conversions and places
the result in the data register. DOUT/
RDY goes low when a conversion is complete. The user can read these
conversions by placing the device in continuous read mode whereby the conversions are automatically
placed on the DOUT/
RDY line when SCLK pulses are applied. Alternatively, the user can instruct the ADC to
output the conversion by writing to the communications register. After power-on, the first conversion is
available after a period 2/ f
ADC
while subsequent conversions are available at a frequency of f
ADC
. In single
conversion mode, the ADC is placed in power-down mode when conversions are not being performed.
When single conversion mode is selected, the ADC powers up (which takes 1 ms) and performs a single
conversion, requiring a duration of 2/f
ADC
. The conversion result is placed in the data register, DOUT/ RDY
goes low, and the ADC returns to power-down mode. The conversion remains in the data register and
DOUT/
RDY remains active (low) until the data is read or another conversion is performed (see Table 12).
MR5 to MR3
0
These bits must be programmed with a Logic 0 for correct operation.
MR2
U/
B Unipolar/Bipolar Bit. Set by user to enable unipolar coding; that is, zero differential input results in
000…000 output, and a full-scale differential input results in 111…111 output. Cleared by the user to
enable bipolar coding. Negative full-scale differential input results in an output code of 000…000, zero
differential input results in an output code of 100…000, and a positive full-scale differential input results in
an output code of 111…111.
MR1 1 This bit must be programmed with a Logic 1 for correct operation.
MR0 0 This bit must be programmed with a Logic 0 for correct operation.
Table 12. Operating Modes
MD1 MD0 Mode
0 0 Continuous conversion mode (default)
0 1 Reserved
1 0 Single conversion mode
1
1
Power-down mode
DATA REGISTER
(RS1, RS0 = 1, 1; Power-On/Reset = 0x0000 for the AD7788 and 0x000000 for the AD7789)
The conversion result from the ADC is stored in this data register. This is a read only register. On completion of a read operation from
this register, the
RDY
bit/pin is set.
AD7788/AD7789 Data Sheet
Rev. C | Page 14 of 20
ADC CIRCUIT INFORMATION
The AD7788/AD7789 are low power ADCs that incorporate a
Σ-Δ modulator and on-chip digital filtering intended for the
measurement of wide dynamic range, low frequency signals,
such as those in pressure transducers, weigh scales, and temper-
ature measurement applications. The device has one unbuffered
differential input. The device requires an external reference
voltage between 0.1 V and V
DD
. Figure 10 shows the basic
connections required to operate the device.
03539-006
IN+
10µF0.1µF
IN–
OUT–
POWER
SUPPLY
OUT+
REFIN(+)
CS
DOUT/RDY
SCLK
V
DD
GND
AIN(+)
AIN(–)
REFIN(–)
AD7788/
AD7789
MICROCONTROLLER
Figure 10. Basic Connection Diagram
The output rate of the AD7788/AD7789 (f
ADC
) is 16.6 Hz with
the settling time equal to 2 × t
ADC
(120.4 ms). Normal-mode
rejection is the major function of the digital filter. Simultaneous
50 Hz and 60 Hz rejection is optimized as notches are placed at
both 50 Hz and 60 Hz with this update rate (see Figure 6).
NOISE PERFORMANCE
Typically, the devices have an rms noise of 1.5 μV rms that
corresponds to a peak-to-peak resolution of 16 bits for the
AD7788 and 19 bits (equivalent to an effective resolution of
21.5 bits) for the AD7789. These numbers are for the bipolar
input range with a reference of 2.5 V. The noise was measured
with a differential input voltage of 0 V. The peak-to-peak
resolution figures represent the resolution for which there is no
code flicker within a six-sigma limit. The output noise comes
from two sources. The first is the electrical noise in the semi-
conductor devices (device noise) used in the implementation of
the modulator. The second is quantization noise, added when
the analog input is converted into the digital domain.
DIGITAL INTERFACE
As previously outlined, the AD7788/AD7789 programmable
functions are controlled using a set of on-chip registers. Data is
written to these registers via the serial interface and read access
to the on-chip registers is also provided by this interface. All
communications with the devices must start with a write to the
communications register. After power-on or reset, the devices
expect a write to the communications register. The data written
to this register determines whether the next operation is a read
operation or a write operation, and also determines to which
register this read or write operation occurs. Therefore, write
access to any of the other registers on the devices begins with a
write operation to the communications register followed by a
write to the selected register. A read operation from any other
register (except when continuous read mode is selected) starts
with a write to the communications register followed by a read
operation from the selected register.
The AD7788/AD7789 serial interface consists of four signals:
CS
, DIN, SCLK, and DOUT/
RDY
. The DIN line is used to
transfer data into the on-chip registers and DOUT/
RDY
is used
for accessing data from the on-chip registers. SCLK is the serial
clock input for the device, and all data transfers (either on DIN
or DOUT/
RDY
) occur with respect to the SCLK signal. The
DOUT/
RDY
pin operates as a data ready signal also, the line
goes low when a new data-word is available in the output register.
It is reset high when a read operation from the data register is
complete. It also goes high prior to the data register update to
indicate when not to read from the device; this ensures that a
data read is not attempted while the register is being updated.
CS
is used to select a device. It can be used to decode the
AD7788/AD7789 in systems where several compo-nents are
connected to the serial bus.
Figure 3 and Figure 4 show timing diagrams for interfacing to
the AD7788/AD7789 with
CS
being used to decode the devices.
Figure 3 shows the timing for a read operation from the output
shift register, while Figure 4 shows the timing for a write opera-
tion to the input shift register. In all modes except continuous
read mode, it is possible to read the same word from the data
register several times even though the DOUT/
RDY
line returns
high after the first read operation. However, care must be taken
to ensure that the read operations have been completed before
the next output update occurs. In continuous read mode, the
data register can be read only once.
The serial interface can operate in 3-wire mode by tying
CS
low.
In this case, the SCLK, DIN, and DOUT/
RDY
lines are used to
communicate with the AD7788/AD7789. The end of conversion
can be monitored using the
RDY
bit in the status register. This
scheme is suitable for interfacing to microcontrollers. If
CS
is
required as a decoding signal, it can be generated from a port
pin. For microcontroller interfaces, it is recommended that
SCLK idles high between data transfers.
The AD7788/AD7789 can operate with
CS
being used as a
frame synchronization signal. This scheme is useful for DSP
interfaces. In this case, the first bit (MSB) is effectively clocked
out by
CS
, because
CS
normally occurs after the falling edge of
SCLK in DSPs. The SCLK can continue to run between data
transfers, provided the timing numbers are obeyed.
Data Sheet AD7788/AD7789
Rev. C | Page 15 of 20
The serial interface can be reset by writing a series of 1s on the
DIN input. If a Logic 1 is written to the AD7788/AD7789 for at
least 32 serial clock cycles, the serial interface is reset. This
ensures that the interface can be reset to a known state if the
interface gets lost due to a software error or a glitch in the system.
Reset returns the interface to the state in which it is expecting a
write to the communications register. This operation resets the
contents of all registers to their power-on values.
The AD7788/AD7789 can be configured to continuously
convert or to perform a single conversion. See Figure 11 to
Figure 13.
Single Conversion Mode
In single-conversion mode, the AD7788/AD7789 are placed in
power-down mode between conversions. When a single conver-
sion is initiated by setting MD1 to 1 and MD0 to 0 in the mode
register, the AD7788/AD7789 power up, perform a single con-
version, and then return to power-down mode. The devices
require 1 ms to power up and settle. The AD7788/AD7789 then
perform a conversion, requiring a time period of 2 × t
ADC
.
DOUT/
RDY
goes low to indicate the completion of a
conversion.
When the data-word has been read from the data register,
DOUT/
RDY
goes high. If
CS
is low, DOUT/
RDY
remains high
until another conversion is initiated and completed. The data
register can be read several times, if required, even when
DOUT/
RDY
has gone high.
Continuous Conversion Mode
This is the default power-up mode. The AD7788/AD7789
continuously convert, the
RDY
pin in the status register going
low each time a conversion is complete. If
CS
is low, the
DOUT/
RDY
line also goes low when a conversion is complete.
To read a conversion, the user can write to the communications
register, indicating that the next operation is a read of the data
register. The digital conversion is placed on the DOUT/
RDY
pin as soon as SCLK pulses are applied to the ADC. DOUT/
RDY
returns high when the conversion is read. The user can
read this register additional times, if required. However, the
user must ensure that the data register is not being accessed
at the completion of the next conversion or else the new
conversion word is lost.
03539-010
DIN
0x10
0x82
DATA
SCLK
DOUT/RDY
CS
0x38
Figure 11. Single Conversion
03539-012
DIN
SCLK
DOUT/RDY
CS
0x38 0x38
DATA DATA
Figure 12. Continuous-Conversion Mode

AD7789BRM-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 24-Bit SGL-Ch Ultra Low Power
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union