ZHCSHA6F May 2009 – January 2025 ADS1013 , ADS1014 , ADS1015
PRODUCTION DATA
The ADS101x have four registers that are accessible through the I2C interface using the Address Pointer register. The Conversion register contains the result of the last conversion. The Config register is used to change the ADS101x operating modes and query the status of the device. The other two registers, Lo_thresh and Hi_thresh, set the threshold values used for the comparator function, and are not available in the ADS1013.
Table 8-1 lists the access codes for the ADS101x registers.
| Access Type | Code | Description |
|---|---|---|
| R | R | Read only |
| R/W | R/W | Read or write |
| W | W | Write only |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
All four registers are accessed by writing to the Address Pointer register; see Figure 7-9.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | P[1:0] | ||||||
| W-000000b | W-00b | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7:2 | Reserved | W | 000000b | Always write 000000b |
| 1:0 | P[1:0] | W | 00b | Register address pointer
01b : Config register 10b : Lo_thresh register 11b : Hi_thresh register |
The 16-bit Conversion register contains the result of the last conversion in binary two's-complement format. Following power-up, the Conversion register is cleared to 0000h, and remains 0000h until the first conversion completes.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| D[11:4] | |||||||
| R-00h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| D[3:0] | RESERVED | ||||||
| R-0h | R-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15:4 | D[11:0] | R | 000h | 12-bit conversion result |
| 3:0 | Reserved | R | 0h | Always reads back 0h |
The 16-bit Config register is used to control the operating mode, input selection, data rate, full-scale range, and comparator modes.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| OS | RESERVED | MODE | ||||||
| R/W-1b | R/W-000010b | R/W-1b | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| DR[2:0] | RESERVED | |||||||
| R/W-100b | R/W-00011b | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| OS | RESERVED | PGA[2:0] | MODE | |||||
| R/W-1b | R/W-000b | R/W-010b | R/W-1b | |||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| DR[2:0] | COMP_MODE | COMP_POL | COMP_LAT | COMP_QUE[1:0] | ||||
| R/W-100b | R/W-0b | R/W-0b | R/W-0b | R/W-11b | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| OS | MUX[2:0] | PGA[2:0] | MODE | |||||
| R/W-1b | R/W-000b | R/W-010b | R/W-1b | |||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| DR[2:0] | COMP_MODE | COMP_POL | COMP_LAT | COMP_QUE[1:0] | ||||
| R/W-100b | R/W-0b | R/W-0b | R/W-0b | R/W-11b | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | OS | R/W | 1b | Operational status or
single-shot conversion start This bit determines the operational status of the device. OS can only be written when in power-down state and has no effect when a conversion is ongoing. 0b : No effect 1b : Start a single conversion (when in power-down state) When reading: 0b : Device is currently performing a conversion 1b : Device is not currently performing a conversion |
| 14:12 | MUX[2:0] | R/W | 000b | Input multiplexer
configuration (ADS1015
only) These bits configure the input multiplexer. These bits serve no function on the ADS1013 and ADS1014. ADS1013 and ADS1014 always use inputs AINP = AIN0 and AINN = AIN1. 001b : AINP = AIN0 and AINN = AIN3 010b : AINP = AIN1 and AINN = AIN3 011b : AINP = AIN2 and AINN = AIN3 100b : AINP = AIN0 and AINN = GND 101b : AINP = AIN1 and AINN = GND 110b : AINP = AIN2 and AINN = GND 111b : AINP = AIN3 and AINN = GND |
| 11:9 | PGA[2:0] | R/W | 010b | Programmable gain
amplifier configuration These bits set the FSR of the programmable gain amplifier. These bits serve no function on the ADS1013. ADS1013 always uses FSR = ±2.048V. 001b : FSR = ±4.096V(1) 010b : FSR = ±2.048V (default) 011b : FSR = ±1.024V 100b : FSR = ±0.512V 101b : FSR = ±0.256V 110b : FSR = ±0.256V 111b : FSR = ±0.256V |
| 8 | MODE | R/W | 1b | Device operating
mode This bit controls the operating mode. 1b : Single-shot mode or power-down state (default) |
| 7:5 | DR[2:0] | R/W | 100b | Data rate These bits control the data rate setting. 001b : 250SPS 010b : 490SPS 011b : 920SPS 100b : 1600SPS (default) 101b : 2400SPS 110b : 3300SPS 111b : 3300SPS |
| 4 | COMP_MODE | R/W | 0b | Comparator mode
(ADS1014 and
ADS1015
only) This bit configures the comparator operating mode. This bit serves no function on the ADS1013. 1b : Window comparator |
| 3 | COMP_POL | R/W | 0b | Comparator polarity
(ADS1014 and
ADS1015
only) This bit controls the polarity of the ALERT/RDY pin. This bit serves no function on the ADS1013. 1b : Active high |
| 2 | COMP_LAT | R/W | 0b | Latching comparator
(ADS1014 and
ADS1015
only) This bit controls whether the ALERT/RDY pin latches after being asserted or clears after conversions are within the margin of the upper and lower threshold values. This bit serves no function on the ADS1013. 1b : Latching comparator. The asserted ALERT/RDY pin remains latched until conversion data are read by the controller or an appropriate SMBus alert response is sent by the controller. The device responds with an address, and is the lowest address currently asserting the ALERT/RDY bus line. |
| 1:0 | COMP_QUE[1:0] | R/W | 11b | Comparator queue and
disable (ADS1014 and
ADS1015
only) These bits perform two functions. When set to 11, the comparator is disabled and the ALERT/RDY pin is set to a high-impedance state. When set to any other value, the ALERT/RDY pin and the comparator function are enabled, and the set value determines the number of successive conversions exceeding the upper or lower threshold required before asserting the ALERT/RDY pin. These bits serve no function on the ADS1013. 01b : Assert after two conversions 10b : Assert after four conversions 11b : Disable comparator and set ALERT/RDY pin to high-impedance (default) |
These two registers are applicable to the ADS1015 and ADS1014. These registers serve no purpose in the ADS1013. The upper and lower threshold values used by the comparator are stored in two 16-bit registers in two's-complement format. The comparator is implemented as a digital comparator; therefore, the values in these registers must be updated whenever the PGA settings are changed.
The conversion-ready function of the ALERT/RDY pin is enabled by setting the Hi_thresh register MSB to 1b and the Lo_thresh register MSB to 0b. To use the comparator function of the ALERT/RDY pin, the Hi_thresh register value must always be greater than the Lo_thresh register value. The threshold register formats are shown in Lo_thresh register. When set to RDY mode, the ALERT/RDY pin outputs the OS bit when in single-shot mode, and provides a continuous-conversion ready pulse when in continuous-conversion mode.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| Lo_thresh[11:4] | |||||||
| R/W-80h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Lo_thresh[3:0] | RESERVED | ||||||
| R/W-0h | R-0h | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| Hi_thresh[11:4] | |||||||
| R/W-7Fh | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Hi_thresh[3:0] | RESERVED | ||||||
| R/W-Fh | R-Fh | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15:4 | Lo_thresh[11:0] | R/W | 800h | Low threshold value |
| 15:4 | Hi_thresh[11:0] | R/W | 7FFh | High threshold value |