English
Language : 

ADS7871 Datasheet, PDF (16/42 Pages) Texas Instruments – 14-BIT, 48-KSPS, DATA ACQUISITION SYSTEM WITH ANALOG-TO-DIGITAL CONVERTER, MUX, PGA, AND REFERENCE
ADS7871
SLAS370C − APRIL 2002 − REVISED OCTOBER 2004
www.ti.com
Operating Modes
The ADS7871 serial interface operates based on an instruction byte followed by an action commanded by the
contents of that instruction. The 8-bit instruction word is clocked into the DIN input. There are two types of instruction
bytes that may be written to the ADS7871 as determined by bit D7 of the instruction word (see Figure 17). These
two instructions represent two different operating modes. In direct mode (bit D7 = 1), a conversion is started. A
register mode (bit D7 = 0) instruction is followed by a read or write operation to the specified register.
D7 (MSB) D6
Start Conversion
(Direct Mode)
1
G2
Read/Write
(Register Mode)
0
R/W
INSTRUCTION BYTE
D5
D4
D3
D2
G1
G0
M3
M2
OR
16/8 A4
A3
A2
D1
D0
M1
M0
A1
A0
START CONVERSION INSTRUCTION BYTE (Direct Mode)(1)
BIT
SYMBOL
NAME
VALUE
FUNCTION
D7
Mode select
1
Starts a conversion cycle (direct mode)
D6−D4
G2−G0
PGA gain select
000
PGA Gain = 1 (power up default condition)
001
PGA Gain = 2
010
PGA Gain = 4
011
PGA Gain = 5
100
PGA Gain = 8
101
PGA Gain = 10
110
PGA Gain = 16
111
PGA Gain = 20
D3−D0
M3−M0
Input channel select See Figure 24 Determines input channel selection for the requested conversion,
differential or single-ended configuration.
(1)
The seven lower bits of this byte are also written to register 4, the Gain/Mux register.
READ/WRITE INSTRUCTION BYTE (Register Mode)
BIT SYMBOL
D7
D6
R/W
D5
16/8
D4−D0 AS4−AS0
NAME
VALUE
FUNCTION
Mode Select
0
Initiates a read or write operation (register mode)
Read/Write Select
0
Write operation
1
Read operation
Word Length
0
8-Bit word
1
16-Bit word (2 8-bit bytes)
Register Address See Figure 18 Determines the address of the register that is to be read from or written to
Figure 17. Instruction Byte Addressing
Direct Mode
In direct mode a conversion is initiated by writing a single 8-bit instruction byte to the ADS7871 (bit D7 is set
to 1). Writing the direct mode command sets the configuration of the multiplexer, selects the gain of the PGA,
and starts a conversion cycle. After the last bit of the instruction byte is received, the ADS7871 performs a
conversion on the selected input channel with the PGA gain set as indicated in the instruction byte.
The conversion cycle begins on the second falling edge of DCLK after the eighth active edge of SCLK of the
instruction byte. When the conversion is complete, the conversion result is stored in the A/D Output registers
and is available to be clocked out of the serial interface by the controlling device using the READ operation in
the register mode.
The structure of the instruction byte for direct mode is shown in Figure 17.
D D7: This bit is set to 1 for direct mode operation
D D6 through D4 (G2 − G0): These bits control the gain of the programmable gain amplifier. PGA gains of 1,
2, 4, 5, 8, 10,16, and 20 are available. The coding is shown in Figure 17.
D D3 through D0 (M3 − M0): These bits configure the switches that determine the input channel selection.
The input channels may be placed in either differential or single-ended configurations. In the case of
differential configuration, the polarity of the input signal is reversible. The coding is shown in Figure 27.
16