The ADS1216 is a precision, wide dynamic range, delta-sigma, Analogto-Digital (A/D) converter with 24-bit resolution operating from 2.7V to
5.25V supplies. The delta-sigma, A/D converter provides up to 24 bits of
no missing code performance and effective resolution of 22 bits.
The eight input channels are multiplexed. Internal buffering can be
selected to provide a very high input impedance for direct connection to
transducers or low-level voltage signals. Burn out current sources are
provided that allow for the detection of an open or shorted sensor. An 8bit Digital-to-Analog (D/A) converter provides an offset correction with
a range of 50% of the FSR (Full-Scale Range).
The PGA (Programmable Gain Amplifier) provides selectable gains
of 1 to 128 with an effective resolution of 19 bits at a gain of 128.
The A/D conversion is accomplished with a second-order deltasigma modulator and programmable sinc filter. The reference input
is differential and can be used for ratiometric cancellation. The onboard current DACs (Digital-to-Analog Converters) operate independently with the maximum current set by an external resistor.
The serial interface is SPI compatible. Eight bits of digital I/O are
also provided that can be used for input or output. The ADS1216 is
designed for high-resolution measurement applications in smart
transmitters, industrial process control, weight scales, chromatography, and portable instrumentation.
V
AGND AV
AV
DD
R
REFOUTVRCAPVREF+VREF–
8-Bit
IDAC
8-Bit
IDAC
Offset
DAC
DAC
1.25V or
2.5V
Reference
DD
2µA
X
X
IN
Clock Generator
OUT
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
AVDD to AGND ...................................................................... –0.3V to +6V
DV
to DGND...................................................................... –0.3V to +6V
DD
Input Current ............................................................... 100mA, Momentary
Input Current ................................................................. 10mA, Continuous
A
................................................................... GND –0.5V to AVDD + 0.5V
IN
AV
to DVDD........................................................................... –6V to +6V
DD
AGND to DGND ................................................................. –0.3V to +0.3V
Digital Input Voltage to GND.................................... –0.3V to DV
Digital Output Voltage to GND ................................. –0.3V to DV
Maximum Junction Temperature ................................................... +150°C
Operating Temperature Range ......................................... –40°C to +85°C
Storage Temperature Range .......................................... –60°C to +100°C
Lead Temperature (soldering, 10s) .............................................. +300°C
NOTE: (1) Stresses above those listed under “Absolute Maximum Ratings” may
cause permanent damage to the device. Exposure to absolute maximum
(1)
DD
DD
+ 0.3V
+ 0.3V
ELECTROSTATIC
DISCHARGE SENSITIVITY
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with
appropriate precautions. Failure to observe proper handling
and installation procedures can cause damage.
ESD damage can range from subtle performance degradation
to complete device failure. Precision integrated circuits may
be more susceptible to damage because very small parametric
changes could cause the device not to meet its published
specifications.
conditions for extended periods may affect device reliability.
PACKAGE/ORDERING INFORMATION
PACKAGESPECIFIED
PRODUCTPACKAGENUMBERRANGEMARKINGNUMBER
DRAWINGTEMPERATUREPACKAGEORDERINGTRANSPORT
ADS1216YTQFP-48PFB–40 to +85ADS1216YADS1216Y/250Tape and Reel
"""""ADS1216Y/2KTape and Reel
NOTE: (1) Models with a slash (/) are available only in Tape and Reel in the quantities indicated (e.g., / 2K indicates 2000 devices per reel). Ordering 2000 pieces
of “ADS1216Y/2K” will get a single 2000-piece Tape and Reel.
Full-Scale Input Voltage Range(In+) – (In–), See Block Diagram±V
Differential Input ImpedanceBuffer OFF5/PGAMΩ
Input CurrentBuffer ON0.5nA
Bandwidth
Fast Settling Filter–3dB0.469 • f
2
Sinc
Filter–3dB0.318 • f
3
Sinc
Filter–3dB0.262 • f
Programmable Gain AmplifierUser Selectable Gain Ranges1128
Input Capacitance9pF
Input Leakage CurrentModulator OFF, T = 25°C5 pA
Burnout Current Sources2µA
OFFSET DAC
Offset DAC Range±V
Offset DAC Monotonicity8Bits
Offset DAC Gain Error±10%
Offset DAC Gain Error Drift1ppm/°C
SYSTEM PERFORMANCE
Resolution24Bits
No Missing Codessinc
Integral Non-LinearityEnd Point Fit±0.0015% of FS
Offset Error
Offset Drift
Gain Error
Full-Scale Input Voltage Range(In+) – (In–) See Block Diagram±V
Input ImpedanceBuffer OFF5/PGAMΩ
Input CurrentBuffer ON0.5nA
Bandwidth
Fast Settling Filter–3dB0.469 • f
2
Sinc
Filter–3dB0.318 • f
3
Sinc
Filter–3dB0.262 • f
Programmable Gain AmplifierUser Selectable Gain Ranges1128
Input Capacitance9pF
Input Leakage CurrentModulator OFF, T = 25°C5 pA
Burnout Current Sources2µA
OFFSET DAC
Offset DAC Range±V
Offset DAC Monotonicity8Bits
Offset DAC Gain Error±10%
Offset DAC Gain Error Drift2ppm/°C
SYSTEM PERFORMANCE
Resolution24Bits
No Missing Codessinc
Integral Non-LinearityEnd Point Fit±0.0015% of FS
Offset Error
Offset Drift
Gain Error
The input multiplexer provides for any combination of
differential inputs to be selected on any of the input channels, as shown in Figure 1. If channel 1 is selected as the
positive differential input channel, any other channel can be
selected as the negative differential input channel. With this
method, it is possible to have up to eight fully differential
input channels.
In addition, current sources are supplied that will source or
sink current to detect open or short circuits on the pins.
A
0
IN
1
A
A
INCOM
IN
A
IN
AIN3
A
IN
A
IN
A
IN
A
IN
2
4
5
6
7
AV
DD
Burnout Current Source On
Burnout Current Source On
AGND
IDAC1
BURNOUT CURRENT SOURCES
When the Burnout bit is set in the ACR configuration register,
two current sources are enabled. The current source on the
positive input channel sources approximately 2µA of current.
The current source on the negative input channel sinks approximately 2µA. This allows for the detection of an open
circuit (full-scale reading) or short circuit (0V differential
reading) on the selected input differential pair.
INPUT BUFFER
The input impedance of the ADS1216 without the buffer
is 5MΩ/PGA. With the buffer enabled, the input voltage range
is reduced and the analog power-supply current is higher. The
buffer is controlled by ANDing the state of the buffer pin with
the state of the BUFFER bit in the ACR register.
IDAC1 AND IDAC2
The ADS1216 has two 8-bit current output DACs that can be
controlled independently. The output current is set with
R
, the range select bits in the ACR register, and the 8-bit
DAC
digital value in the IDAC register. The output current
= V
/(8 • R
REF
= 2.5V and R
RANGE–1
)(2
DAC
= 150kΩ, the full-scale output can be
DAC
)(DAC CODE). With V
REFOUT
selected to be 0.5, 1, or 2mA. The compliance voltage range
is 0 to within 1V of AVDD. When the internal voltage
reference of the ADS1216 is used, it is the reference for the
IDAC. An external reference may be used for the IDACs by
disabling the internal reference and tying the external reference input to the V
REFOUT
pin.
PGA
The Programmable Gain Amplifier (PGA) can be set to gains
of 1, 2, 4, 8, 16, 32, 64, or 128. Using the PGA can actually
improve the effective resolution of the A/D converter. For
instance, with a PGA of 1 on a 5V full-scale range, the A/D
converter can resolve to 1µV. With a PGA of 128 on a 40mV
full-scale range, the A/D converter can resolve to 75nV. With
a PGA of 1 on a 5V full-scale range, it would require a 26-bit
A/D converter to resolve 76nV.
FIGURE 1. Input Multiplexer Configuration.
TEMPERATURE SENSOR
An on-chip diode provides temperature sensing capability.
When the configuration register for the input MUX is set to
all 1s, the diode is connected to the input of the A/D
converter. All other channels are open. The anode of the
diode is connected to the positive input of the A/D converter,
and the cathode of the diode is connected to negative input
of the A/D converter. The output of IDAC1 is connected to
the anode to bias the diode and the cathode of the diode is
also connected to ground to complete the circuit.
In this mode, the output of IDAC1 is also connected to the
output pin, so some current may flow into an external load
from IDAC1, rather than the diode.
12
PGA OFFSET DAC
The input to the PGA can be shifted by half the full-scale input
range of the PGA by using the ODAC register. The ODAC
(Offset DAC) register is an 8-bit value; the MSB is the sign
and the seven LSBs provide the magnitude of the offset. Using
the ODAC does not reduce the performance of the A/D.
MODULATOR
The modulator is a single-loop second-order system. The
modulator runs at a clock speed (f
the external clock (f
). The frequency division is deter-
OSC
) that is derived from
MOD
mined by the SPEED bit in the setup register.
SPEED BITf
0f
1f
OSC
OSC
MOD
/128
/ 256
ADS1216
SBAS171B
CALIBRATION
The offset and gain errors in the ADS1216, or the complete
system, can be reduced with calibration. Internal calibration of
the ADS1216 is called self calibration. This is handled with
three commands. One command does both offset and gain
calibration. There is also a gain calibration command and an
offset calibration command. Each calibration process takes
seven t
periods to complete. Therefore, it takes 14 t
DATA
DATA
periods to complete both an offset and gain calibration.
For system calibration, the appropriate signal must be
applied to the inputs. The system offset command requires a
“zero” differential input signal. It then computes an offset that
will nullify offset in the system. The system gain command
requires a positive “full-scale” differential input signal. It then
computes a value to nullify gain errors in the system. Each of
these calibrations will take seven t
periods to complete.
DATA
Calibration should be performed after power on, a change in
temperature, or a change of the PGA. The RANGE bit (ACR
bit 2) must be zero during calibration. For operation with a
reference voltage greater than (AV
– 1.5) Volts, the buffer
DD
must also be turned off during calibration. Calibration will
remove the effects of the ODAC, therefore, changes to the
ODAC register must be done after calibration, otherwise the
calibration will remove the effects of the offset.
At the completion of calibration the DRDY signal goes low
which indicates the calibration is finished and valid data is
available.
DIGITAL FILTER
The Digital Filter can use either the fast settling, sinc
2
, or sinc
filter, as shown in Figure 2. In addition, the Auto mode
changes the sinc filter after the input channel or PGA is
changed. When switching to a new channel, it will use the fast
settling filter, for the next two conversions the first of which
should be discarded. It will then use the sinc2 followed by the
sinc3 filter to improve noise performance. This combines the
low-noise advantage of the sinc3 filter with the quick response
of the fast settling time filter. The frequency response of each
filter is shown in Figure 3.
SINC3 FILTER RESPONSE
0
–20
–40
–60
Gain (dB)
–80
–100
–120
0301206090150 180 210 240 270 300
0
–20
–40
3
–60
Gain (dB)
–80
–100
(–3dB = 0.262 • f
Frequency (Hz)
SINC2 FILTER RESPONSE
(–3dB = 0.318 • f
DATA
DATA
= 15.76Hz)
= 19.11Hz)
Adjustable Digital Filter
3
Sinc
Modulator
Output
Sinc
2
Fast Settling
FILTER SETTLING TIME
FILTER(Conversion Cycles)
3
Sinc
2
Sinc
Fast1
NOTE: (1) With Synchronized Channel Changes.
AUTO MODE FILTER SELECTION
CONVERSION CYCLE
1234+
DiscardFastSinc
FIGURE 2. Filter Step Responses.
SETTLING TIME
(1)
3
(1)
2
(1)
2
Data Out
3
Sinc
–120
0301206090150 180 210 240 270 300
Frequency (Hz)
FAST SETTLING FILTER RESPONSE
–20
–40
–60
Gain (dB)
–80
–100
–120
NOTE: f
0
DATA
0
= 60Hz.
(–3dB = 0.469 • f
301206090150 180 210 240 270 300
Frequency (Hz)
= 28.125Hz)
DATA
FIGURE 3. Filter Frequency Responses.
ADS1216
SBAS171B
13
VOLTAGE REFERENCE
The voltage reference used for the ADS1216 can either be
internal or external. The power-up configuration for the
voltage reference is 2.5V internal. The selection for the
voltage reference is made through the status configuration
register.
The internal voltage reference is selectable as either 1.25V
or 2.5V (AV
= 5V only). The V
DD
pin should have a
REFOUT
0.1µF capacitor to AGND.
The external voltage reference is differential and is repre-
sented by the voltage difference between the pins: +V
and –V
–V
REF
. The absolute voltage on either pin (+V
REF
) can range from AGND to AVDD, however, the
REF
REF
and
differential voltage must not exceed 2.5V. The differential
voltage reference provides easy means of performing
ratiometric measurement.
V
PIN
RCAP
This pin provides a bypass cap for noise filtering on internal
V
circuitry only. The recommended capacitor is a 0.001µF
REF
ceramic cap. If an external V
is used, this pin can be left
REF
unconnected.
CLOCK GENERATOR
The clock source for the ADS1216 can be provided from a
crystal, ceramic resonator, oscillator, or external clock. When
the clock source is a crystal or ceramic resonator, external
capacitors must be provided to ensure start-up and a stable
clock frequency. This is shown in Figure 4 and Table I.
DIGITAL I/O INTERFACE
The ADS1216 has eight pins dedicated for digital I/O. The
default power-up condition for the digital I/O pins are as
inputs. All of the digital I/O pins are individually configurable
X
Crystal
or
Ceramic Resonator
C
C
IN
1
X
OUT
2
FIGURE 4. Crystal or Ceramic Resonator Connection.
as inputs or outputs. They are configured through the DIR
control register. The DIR register defines whether the pin is an
input or output, and the DIO register defines the state of the
digital output. When the digital I/O are configured as inputs,
DIO is used to read the state of the pin.
SERIAL INTERFACE
The serial interface is standard four-wire SPI compatible (DIN,
D
, SCLK, and CS). The ADS1216 also offers the flexibil-
OUT
ity to select the polarity of the serial clock through the POL
pin. The serial interface can
be clocked up to f
OSC
/4.
Serial communication can occur independent of DRDY,
DRDY only indicates the validity of data in the data output
register.
DSYNC OPERATION
DSYNC is used to provide for precise synchronization of the
A/D conversion with an external event. Synchronization can
be achieved either through the DSYNC pin or the DSYNC
command. When the DSYNC pin is used, the filter counter
is reset on the falling edge of DSYNC. The filter values are
useless, they should be treated as if the input channel was
changed. The modulator is held in reset until DSYNC is
taken HIGH. Synchronization occurs on the next rising edge
of the system clock after DSYNC is taken HIGH.
When the DSYNC command is sent, the filter counter is
reset on the edge of the last SCLK on the DSYNC command.
The modulator is held in RESET until the next edge of
SCLK is detected. Synchronization occurs on the next rising
edge of the system clock after the first SCLK after the
DSYNC command.
POWER-UP—SUPPLY VOLTAGE RAMP RATE
The power-on reset circuitry was designed to accommodate
digital supply ramp rates as slow as 1V/10ms. To ensure
proper operation, the power supply should ramp monotonically.
RESET
There are three methods of reset. The RESET pin, SCLK
pattern, and the RESET command. They all perform the
same function. The Power ON state also issues the RESET
command.
Two types of memory are used on the ADS1216: registers
and RAM. 16 registers directly control the various functions
(PGA, DAC value, Decimation Ratio, etc.) and can be
directly read or written to. Collectively, the registers contain
all the information needed to configure the part, such as data
format, mux settings, calibration settings, decimation ratio,
etc. Additional registers, such as output data, are accessed
through dedicated instructions.
ADS1216
SBAS171B
ADS1216 REGISTER BANK TOPOLOGY
The operation of the device is set up through individual
registers. The set of the 16 registers required to configure the
device is referred to as a Register Bank, as shown in Figure 5.
Reads and Writes to Registers and RAM occur on a byte
basis. However, copies between registers and RAM occurs
on a bank basis. The RAM is independent of the Registers,
i.e.: the RAM can be used as general-purpose RAM.
The ADS1216 supports any combination of eight analog
inputs. With this flexibility, the device could easily support
eight unique configurations—one per input channel. In order
to facilitate this type of usage, eight separate register banks
are available. Therefore, each configuration could be written
once and recalled as needed without having to serially
retransmit all the configuration data. Checksum commands
are also included, which can be used to verify the integrity
of RAM.
The RAM provides eight “banks”, with a bank consisting of
16 bytes. The total size of the RAM is 128 bytes. Copies
between the registers and RAM are performed on a bank
basis. Also, the RAM can be directly read or written through
the serial interface on power-up. The banks allow separate
storage of settings for each input.
The RAM address space is linear, therefore accessing RAM
is done using an auto-incrementing pointer. Access to RAM
in the entire memory map can be done consecutively without
having to address each bank individually. For example, if
you were currently accessing bank 0 at offset 0xF (the last
location of bank 0), the next access would be bank 1 and
offset 0x0. Any access after bank 7 and offset 0xF will wrap
around to bank 0 and Offset 0x0.
Although the Register Bank memory is linear, the concept of
addressing the device can also be thought of in terms of bank
and offset addressing. Looking at linear and bank addressing
syntax, we have the following comparison: in the linear
memory map, the address 0x14 is equivalent to bank 1 and
offset 0x4. Simply stated, the most significant four bits
represent the bank, and the least significant four bits represent the offset. The offset is equivalent to the register
address for that bank of memory.
SETUP (Address 00H) Setup Register
Reset Value = iii01110
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
IDIDIDSPEEDREF ENREF HIBUF EN
BIT ORDER
bit 7-5 Factory Programmed Bits
bit 4SPEED: Modulator Clock Speed
0 : f
1 : f
MOD
MOD
= f
= f
/128 (default)
OSC
/256
OSC
bit 3REF EN: Internal Voltage Reference Enable
0 = Internal Voltage Reference Disabled
1 = Internal Voltage Reference Enabled (default)
bit 2REF HI: Internal Reference Voltage Select
0 = Internal Reference Voltage = 1.25V
1 = Internal Reference Voltage = 2.5V (default)
bit 1BUF EN: Buffer Enable
0 = Buffer Disabled
1 = Buffer Enabled (default)
bit 0BIT ORDER: Set Order Bits are Transmitted
0 = Most Significant Bit Transmitted First (default)
1 = Least Significant Bit Transmitted First
Data is always shifted into the part most significant
bit first. Data is always shifted out of the part most
significant byte first. This configuration bit only
controls the bit order within the byte of data that is
shifted out.
MUX (Address 01H) Multiplexer Control Register
Reset Value = 01
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
PSEL3PSEL2PSEL1PSEL0NSEL3NSEL2NSEL1NSEL0
H
bit 7-4 PSEL3: PSEL2: PSEL1: PSEL0: Positive Channel
The DAC code bits set the output of DAC2 from 0 to fullscale. The value of the full-scale current is set by this Byte,
V
, R
REF
, and the DAC2 range bits in the ACR register.
DAC
16
ADS1216
SBAS171B
ODAC (Address 05H) Offset DAC Setting
Reset Value = 00
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
SIGNOSET6OSET5OSET4OSET3OSET2OSET1OSET0
H
bit 7Offset Sign
0 = Positive
1 = Negative
bit 6-0 Offset =
2127•
V
REF
PGA
•
Code
NOTE: The offset must be used after calibration or the
calibration will notify the effects.
DIO (Address 06H) Digital I/OReset Value = 00
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DIO7DIO6DIO5DIO4DIO3DIO2DIO1DIO0
H
A value written to this register will appear on the digital
I/O pins if the pin is configured as an output in the DIR
register. Reading this register will return the value of the
digital I/O pins.
U/BANALOG INPUTDIGITAL OUTPUT
0Zero0x000000
1Zero0x000000
+FS0x7FFFFF
–FS0x800000
+FS0xFFFFFF
–FS0x000000
bit 5-4 SMODE1: SMODE0: Settling Mode
00 = Auto (default)
01 = Fast Settling filter
10 = Sinc2 filter
11 = Sinc3 filter
bit 2-0 DEC10: DEC09: DEC08: Most Significant Bits of
DIR (Address 07H) Direction control for digital I/O
Reset Value = FF
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DIR7DIR6DIR5DIR4DIR3DIR2DIR1DIR0
H
Each bit controls whether the Digital I/O pin is an output
(= 0) or input (= 1). The default power-up state is as inputs.
DEC0 (Address 08H) Decimation Register
(Least Significant 8 bits)
Reset Value = 80
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DEC07DEC06DEC05DEC04DEC03DEC02DEC01DEC00
H
The decimation value is defined with 11 bits for a range of
20 to 2047. This register is the least significant 8 bits. The
3 most significant bits are contained in the M/DEC1 register.
The default data rate is 10Hz with a 2.4576MHz crystal.
M/DEC1 (Address 09H) Mode and Decimation Register
Reset Value = 07
The commands listed below control the operation of the
ADS1216. Some of the commands are stand-alone commands (e.g., RESET) while others require additional bytes
(e.g., WREG requires command, count, and the data bytes).
Op codes that output data require a minimum of four f
OSC
cycles before the data is ready (e.g., RDATA).
COMMANDSDESCRIPTIONCOMMAND BYTE2ND COMMAND BYTE
RDATARead Data0000 0001 (01
RDATACRead Data Continuously0000 0011 (03
STOPCStop Read Data Continuously0000 1111 (0F
RREGRead from REG Bank “rrrr”0001 rrrr (1x
RRAMRead from RAM Bank “aaa”0010 0aaa (2x
CREGCopy REGs to RAM Bank “aaa”0100 0aaa (4x
CREGACopy REGS to all RAM Banks0100 1000 (48
WREGWrite to REG “rrrr”0101 rrrr(5x
WRAMWrite to RAM Bank “aaa”0110 0aaa (6x
CRAMCopy RAM Bank “aaa” to REG1100 0aaa (Cx
CSRAMXCalc RAM Bank “aaa” Checksum1101 0aaa (Dx
CSARAMXCalc all RAM Bank Checksum1101 1000 (D8
CSREGCalc REG Checksum1101 1111 (DF
CSRAMCalc RAM Bank “aaa” Checksum1110 0aaa (Ex
CSARAMCalc all RAM Banks Checksum1110 1000 (E8
SELFCALSelf Cal Offset and Gain1111 0000 (F0
SELFOCALSelf Cal Offset1111 0001 (F1
SELFGCALSelf Cal Gain1111 0010 (F2
SYSOCALSys Cal Offset1111 0011 (F3
SYSGCALSys Cal Gain1111 0100 (F4
DSYNCSync DRDY1111 1100 (FC
SLEEPPut in SLEEP Mode1111 1101 (FD
RESETReset to Power-Up Values1111 1110 (FE
NOTE: (1) The data received by the A/D is always MSB First, the data out format is set by the BIT ORDER bit in ACR reg.
TABLE III. Command Summary.
Operands:
n = count (0 to 127)
r = register (0 to 15)
x = don’t care
a = RAM bank address (0 to 7)
)—
H
)—
H
)—
H
)xxxx_nnnn (# of reg-1)
H
)xnnn_nnnn (# of bytes-1)
H
)—
H
)—
H
)xxxx_nnnn (# of reg-1)
H
)xnnn_nnnn (# of bytes-1)
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
)—
H
RDATARead Data
Description: Read a single data value from the Data Output
Register (DOR) which is the most recent conversion result.
This is a 24-bit value.
Operands:None
Bytes:1
Encoding:0000 0001
Data Transfer Sequence:
0000 0001•••
D
IN
xxxx xxxx•••
D
OUT
NOTE: (1) For wait time, refer to timing specification.
(1)
xxxx xxxxxxxx xxxxxxxx xxxx
(1)
MSBMid-ByteLSB
RDATACRead Data Continuous
Description: Read Data Continuous mode enables the con-
tinuous output of new data on each DRDY. This command
eliminates the need to send the Read Data Command on each
DRDY. This mode may be terminated by either the STOP
Read Continuous command or the RESET command.
Operands:None
Bytes:1
Encoding:0000 0011
Data Transfer Sequence:
Command terminated when “uuuu uuuu” equals STOPC
or RESET.
(1)
0000 0011• • •
D
IN
xxxx xxxx• • •
D
OUT
DRDY
NOTE: (1) For wait time, refer to timing specification.
•••
D
IN
•••
D
OUT
xxxxxxxx
MSBMid-Byte
uuuu uuuuuuuu uuuuuuuu uuuu
(1)
MSBMid-ByteLSB
xxxx
LSB
•••
18
ADS1216
SBAS171B
STOPCStop Continuous
0101 0110xxxx 0001
Data for DIOData for DIR
xxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxx
D
IN
D
OUT
CREGCopy Registers to RAM Bank
Description: Ends the continuous data output mode.
Operands:None
Bytes:1
Encoding:0000 1111
Data Transfer Sequence:
0000 1111
D
IN
xxxx xxxx
D
OUT
RREGRead from Registers
Description: Output the data from up to 16 registers starting
with the register address specified as part of the instruction.
The number of registers read will be one plus the second byte.
If the count exceeds the remaining registers, the addresses will
wrap back to the beginning.
Operands:r, n
Bytes:2
Encoding:0001 rrrr xxxx nnnn
Data Transfer Sequence:
Read Two Registers Starting from Register 01H (MUX)
Description: Copy the 16 control registers to the RAM bank
specified in the op code. Refer to timing specifications for
command execution time.
Operands:a
Bytes:1
Encoding:0100 0aaa
Data Transfer Sequence:
Copy Register Values to RAM Bank 3
0100 0011
D
IN
xxxx xxxx
D
OUT
CREGA Copy Registers to All RAM Banks
Description: Duplicate the 16 control registers to all the
RAM banks. Refer to timing specifications for command
execution time.
Operands:None
Bytes:1
Encoding:0100 1000
Data Transfer Sequence:
0001 00010000 0001xxxx xxxxxxxx xxxx
D
IN
D
NOTE: (1) For wait time, refer to timing specification.
xxxx xxxxxxxx xxxxMUXACR
OUT
• • •
• • •
(1)
(1)
RRAMRead from RAM
Description: Up to 128 bytes can be read from RAM starting
at the bank specified in the op code. All reads start at the
address for the beginning of the RAM bank. The number of
bytes to read will be one plus the value of the second byte.
Operands:a, n
Bytes:2
Encoding:0010 0aaa xnnn nnnn
Data Transfer Sequence:
Read Two RAM Locations Starting from 20
0010 0010x000 0001xxxx xxxxxxxx xxxx
D
IN
D
xxxx xxxxxxxx xxxx
OUT
• • •
• • •
(1)
(1)
RAM Data
20
H
H
RAM Data
21
H
0100 1000
D
IN
xxxx xxxx
D
OUT
WREG Write to Register
Description: Write to the registers starting with the register
specified as part of the instruction. The number of registers
that will be written is one plus the value of the second byte.
Operands:r, n
Bytes:2
Encoding:0101 rrrr xxxx nnnn
Data Transfer Sequence:
Write Two Registers Starting from 06H (DIO)
NOTE: (1) For wait time, refer to timing specification.
ADS1216
SBAS171B
19
WRAMWrite to RAM
Description: Write up to 128 RAM locations starting at the
beginning of the RAM bank specified as part of the instruction. The number of bytes written is RAM is one plus the value
of the second byte.
Operands:a, n
Bytes:2
Encoding:0110 0aaa xnnn nnnn
Data Transfer Sequence:
Write to Two RAM Locations starting from 10
H
CSARAMXCalculate the Checksum
for all RAM Banks
Description: Calculate the checksum of all RAM Banks. The
checksum is calculated as a sum of all the bytes with the carry
ignored. The ID, DRDY and DIO bits are masked so they are
not included in the checksum.
Operands:None
Bytes:1
Encoding:1101 1000
Data Transfer Sequence:
0110 0001x000 0001
D
IN
D
xxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxx
OUT
Data for
10
H
Data for
11
H
CRAMCopy RAM Bank to Registers
Description: Copy the selected RAM Bank to the Configura-
tion Registers. This will overwrite all of the registers with the
data from the RAM bank.
Operands:a
Bytes:1
Encoding:1100 0aaa
Data Transfer Sequence:
Copy RAM Bank 0 to the Registers
1100 0000
D
IN
xxxx xxxx
D
OUT
CSRAMXCalculate RAM Bank Checksum
Description: Calculate the checksum of the selected RAM
Bank. The checksum is calculated as a sum of all the bytes
with the carry ignored. The ID, DRDY and DIO bits are
masked so they are not included in the checksum.
Operands:a
Bytes:1
Encoding:1101 0aaa
Data Transfer Sequence:
Calculate Checksum for RAM Bank 3
1101 0011
D
IN
xxxx xxxx
D
OUT
1101 1000
D
IN
xxxx xxxx
D
OUT
CSREGCalculate the Checksum of
Registers
Description: Calculate the checksum of all the registers. The
checksum is calculated as a sum of all the bytes with the carry
ignored. The ID, DRDY and DIO bits are masked so they are
not included in the checksum.
Operands:None
Bytes:1
Encoding:1101 1111
Data Transfer Sequence:
1101 1111
D
IN
xxxx xxxx
D
OUT
CSRAMCalculate RAM Bank Checksum
Description: Calculate the checksum of the selected RAM
Bank. The checksum is calculated as a sum of all the bytes
with the carry ignored. All bits are included in the checksum
calculation, there is no masking of bits.
Operands:a
Bytes:1
Encoding:1110 0aaa
Data Transfer Sequence:
Calculate Checksum for RAM Bank 2
1110 0010
D
IN
xxxx xxxx
D
OUT
20
ADS1216
SBAS171B
CSARAMCalculate Checksumfor all
RAM Banks
Description: Calculate the checksum of all RAM Banks. The
checksum is calculated as a sum of all the bytes with the carry
ignored. All bits are included in the checksum calculation,
there is no masking of bits.
Operands:None
Bytes:1
Encoding:1110 1000
Data Transfer Sequence:
1110 1000
D
IN
xxxx xxxx
D
OUT
SELFGCAL Gain Self Calibration
Description: Starts the process of self-calibration for gain.
The Full-Scale Register (FSR) is updated with new values
after this operation.
Operands:None
Bytes:1
Encoding:1111 0010
Data Transfer Sequence:
1111 0010
D
IN
xxxx xxxx
D
OUT
SYSOCALSystem Offset Calibration
SELFCALOffset and Gain Self Calibration
Description: Starts the process of self calibration. The Offset
Control Register (OCR) and the Full-Scale Register (FSR) are
updated with new values after this operation.
Operands:None
Bytes:1
Encoding:1111 0000
Data Transfer Sequence:
1111 0000
D
IN
xxxx xxxx
D
OUT
SELFOCAL Offset Self Calibration
Description: Starts the process of self-calibration for offset.
The Offset Control Register (OCR) is updated after this
operation.
Operands:None
Bytes:1
Encoding:1111 0001
Data Transfer Sequence:
1111 0001
D
IN
Description: Starts the system offset calibration process. For
a system offset calibration the input should be set to 0V
differential, and the ADS1216 computes the OCR register
value that will compensate for offset errors. The Offset
Control Register (OCR) is updated after this operation.
Operands:None
Bytes:1
Encoding:1111 0011
Data Transfer Sequence:
1111 0011
D
IN
xxxx xxxx
D
OUT
SYSGCALSystem Gain Calibration
Description: Starts the system gain calibration process. For a
system gain calibration, the differential input should be set to
the reference voltage and the ADS1216 computes the FSR
register value that will compensate for gain errors. The FSR is
updated after this operation.
Operands:None
Bytes:1
Encoding:1111 0100
Data Transfer Sequence:
ADS1216
SBAS171B
1111 0100
D
xxxx xxxx
D
OUT
IN
xxxx xxxx
D
OUT
21
DSYNCSync DRDY
RESETReset to Powerup Values
Description: Synchronizes the ADS1216 to the serial clock
edge.
Operands:None
Bytes:1
Encoding:1111 1100
Data Transfer Sequence:
1111 1100
D
IN
xxxx xxxx
D
OUT
SLEEPSleep Mode
Description: Puts the ADS1216 into a low power sleep mode.
To exit sleep mode strobe SCLK.
Operands:None
Bytes:1
Encoding:1111 1101
Data Transfer Sequence:
1111 1101
D
IN
Description: Restore the registers to their power-up values.
This command will also stop the Read Continuous mode. It
does not affect the contents of RAM.
Operands:None
Bytes:1
Encoding:1111 1110
Data Transfer Sequence:
The Serial Peripheral Interface (SPI), allows a controller to
communicate synchronously with the ADS1216. The
ADS1216 operates in slave only mode.
SPI Transfer Formats
During an SPI transfer, data is simultaneously transmitted
and received. The SCLK signal synchronizes shifting and
sampling of the information on the two serial data lines: D
and D
. The CS signal allows individual selection of an
OUT
IN
ADS1216 device; an ADS1216 with CS HIGH is not active
on the bus.
Clock Phase and Polarity Controls (POL)
The clock polarity is specified by the POL pin, which selects
an active HIGH or active LOW clock, and has no effect on
the transfer format.
Serial Clock (SCLK)
SCLK, a Schmitt Trigger input to the ADS1216, is generated by the master device and synchronizes data transfer on
the DIN and D
lines. When transferring data to or from
OUT
the ADS1216, burst mode may be used i.e., multiple bits of
data may be transferred back-to-back with no delay in
SCLKs or toggling of CS.
Chip Select (CS)
The chip select (CS) input of the ADS1216 must be externally asserted before a master device can exchange data with
the ADS1216. CS must be LOW before data transactions
and must stay LOW for the duration of the transaction.
DIGITAL INTERFACE
The ADS1216’s programmable functions are controlled
using a set of on-chip registers, as outlined previously. Data
is written to these registers via the part’s serial interface and
read access to the on-chip registers is also provided by this
interface.
The ADS1216’s serial interface consists of four signals: CS,
SCLK, DIN, and D
data into the on-chip registers while the D
. The DIN line is used for transferring
OUT
line is used for
OUT
accessing data from the on-chip registers. SCLK is the serial
clock input for the device and all data transfers (either on
DIN or D
) take place with respect to this SCLK signal.
OUT
The DRDY line is used as a status signal to indicate when
data is ready to be read from the ADS1216’s data register.
DRDY goes LOW when a new data word is available in the
DOR register. It is reset HIGH when a read operation from
the data register is complete. It also goes HIGH prior to the
updating of the output register to indicate when not to read
from the device to ensure that a data read is not attempted
while the register is being updated.
CS is used to select the device. It can be used to decode the
ADS1216 in systems where a number of parts are connected
to the serial bus.
The timing specification shows the timing diagram for
interfacing to the ADS1216 with CS used to decode the part.
The ADS1216 serial interface can operate in three-wire
mode by tying the CS input LOW. In this case, the SCLK,
DIN, and D
lines are used to communicate with the
OUT
ADS1216 and the status of DRDY can be obtained by
interrogating bit 7 of the M/DEC1 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.
DEFINITION OF TERMS
Analog Input Voltage—the voltage at any one analog input
relative to AGND.
Analog Input Differential Voltage—g
equation: (IN+ – IN–).
Thus, a positive digital output is pro-
iven by the following
duced whenever the analog input differential voltage is positive, while a negative digital output is produced whenever the
differential is negative.
For example, when the converter is configured with a 2.5V
reference and placed in a gain setting of 1, the positive
full-scale output is produced when the analog input differential is 2.5V. The negative full-scale output is produced when
the differential is –2.5V. In each case, the actual input
voltages must remain within the AGND to AVDD range.
Conversion Cycle—the term “conversion cycle” usually
refers to a discrete A/D conversion operation, such as that
performed by a successive approximation converter. As
used here, a conversion cycle refers to the t
time period.
DATA
However, each digital output is actually based on the modulator results from several t
FILTER SETTINGMODULATOR RESULTS
fast settling1 t
2
sinc
3
sinc
time periods.
DATA
2 t
3 t
time period
DATA
time period
DATA
time period
DATA
Data Rate—The rate at which conversions are completed.
See definition for f
DATA
.
Decimation Ratio—defines the ratio between the output of
the modulator and the output Data Rate. Valid values for the
Decimation Ratio are from 20 to 2047. Larger Decimation
Ratios will have lower noise and vice-versa.
ADS1216
SBAS171B
23
Effective Resolution—the effective resolution of the
ADS1216 in a particular configuration can be expressed in
two different units: bits rms (referenced to output) and Vrms
(referenced to input). Computed directly from the converter’s
output data, each is a statistical calculation. The conversion
from one to the other is shown below.
“Effective number of bits” (ENOB) or “effective resolution”
is commonly used to define the usable resolution of the
A/D converter. It is calculated from empirical data taken
directly from the device. It is typically determined by applying a fixed known signal source to the analog input and
computing the standard deviation of the data sample set. The
rms noise defines the ±σ interval about the sample mean
(which implies that 95% of the data values fall within this
range) and the peak-to-peak noise defines the ±3σ interval
about the sample mean (which implies that 99.6% of the data
values fall within this range).
The data from the A/D converter is output as codes, which
then can be easily converted to other units, such as ppm or
volts. The equations and table below show the relationship
between bits or codes, ppm, and volts.
.20602
ppm
V
PGA
10
REF
60220.•
ER
2
•.•V
PGA
602
REF
20
–log()
=
ER
ENOB
BITS rmsBIPOLAR VrmsUNIPOLAR Vrms
10
24298nV149nV
221.19µV597nV
204.77µV2.39µV
1819.1µV9.55µV
1676.4µV38.2µV
14505µV152.7µV
121.22mV610µV
Filter Selection—the ADS1216 uses a (sinx/x) filter or sinc
filter. Actually there are three different sinc filters that can
be selected. A fast settling filter will settle in one t
DATA
cycle. The sinc2 filter will settle in two cycles and have
lower noise. The sinc3 will achieve lowest noise and higher
number of effective bits, but requires three cycles to settle.
The ADS1216 will operate with any one of these filters, or
it can operate in an auto mode, where it will select the fast
settling filter after a new channel is selected and will then
switch to sinc2 followed by sinc3. This allows fast settling
response and still achieves low noise after the necessary
number of t
DATA
cycles.
—the frequency of the crystal oscillator or CMOS
f
OSC
compatible input signal at the XIN input of the ADS1216.
f
—the frequency or speed at which the modulator of the
MOD
ADS1216 is running. This depends on the SPEED bit as
given by the following equation:
SPEED = 0SPEED = 1
mfactor128256
f
f
MOD
f
SAMP
OSC
=
mfactor
—the frequency, or switching speed, of the input
sampling capacitor. The value is given by one of the following equations:
PGA SETTINGSAMPLING FREQUENCY
f
1, 2, 4, 8
16
32
64, 128
f
—the frequency of the digital output data produced by
DATA
the ADS1216, f
DATA
=
Decimation Ratio
f
is also referred to as the Data Rate.
DATA
f
MODOSC
f
f
f
f
=
mfactor Decimation Ratio
SAMP
SAMP
SAMP
SAMP
=
mfactor
f
OSC
=
mfactor
f
OSC
=
mfactor
f
OSC
=
mfactor
•
OSC
•2
•4
•8
f
Full-Scale Range (FSR)—as with most A/D converters, the
full-scale range of the ADS1216 is defined as the “input”,
which produces the positive full-scale digital output minus
the “input”, which produces the negative full-scale digital
output. The full-scale range changes with gain setting as
shown in Table V.
For example, when the converter is configured with a 2.5V
reference and is placed in a gain setting of 2, the full-scale
range is: [1.25V (positive full-scale) minus –1.25V (negative full-scale)] = 2.5V.
Least Significant Bit (LSB) Weight—this is the theoretical
amount of voltage that the differential voltage at the analog
input would have to change in order to observe a change in
the output data of one least significant bit. It is computed as
follows:
24
Full ScaleRange
LSB Weight
−
=
N
2
where N is the number of bits in the digital output.
SERIAL PERIPHERAL INTERFACE .....................................................................................................................23
DIGITAL INTERFACE ............................................................................................................................................23
DEFINITION OF TERMS .................................................................................................................................. 23-24
26
ADS1216
SBAS171B
MECHANICAL DATA
MTQF019A – JANUARY 1995 – REVISED JANUARY 1998
PFB (S-PQFP-G48) PLASTIC QUAD FLATP ACK
37
48
1,05
0,95
0,50
36
0,27
0,17
25
24
13
1
5,50 TYP
7,20
SQ
6,80
9,20
SQ
8,80
12
M
0,08
0,05 MIN
Seating Plane
0,13 NOM
Gage Plane
0,25
0°–7°
0,75
0,45
1,20 MAX
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MS-026
0,08
4073176/B 10/96
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TI’s terms
and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI
deems necessary to support this warranty . Except where mandated by government requirements, testing of all
parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for
their products and applications using TI components. To minimize the risks associated with customer products
and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,
copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process
in which TI products or services are used. Information published by TI regarding third-party products or services
does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party under the patents or other intellectual property
of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction
of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for
such altered documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that
product or service voids all express and any implied warranties for the associated TI product or service and
is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Following are URLs where you can obtain information on other Texas Instruments products and application
solutions:
ProductsApplications
Amplifiersamplifier.ti.comAudiowww.ti.com/audio
Data Convertersdataconverter.ti.comAutomotivewww.ti.com/automotive
DSPdsp.ti.comBroadbandwww.ti.com/broadband
Interfaceinterface.ti.comDigital Controlwww.ti.com/digitalcontrol
Logiclogic.ti.comMilitarywww.ti.com/military
Power Mgmtpower.ti.comOptical Networkingwww.ti.com/opticalnetwork
Microcontrollersmicrocontroller.ti.comSecuritywww.ti.com/security
Telephonywww.ti.com/telephony
Video & Imagingwww.ti.com/video
Wirelesswww.ti.com/wireless
Mailing Address:Texas Instruments
Post Office Box 655303 Dallas, Texas 75265
Copyright 2004, Texas Instruments Incorporated
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.