SBASAV5 December 2023 ADS1114L , ADS1115L
PRODUCTION DATA
The ADS111xL has 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 Configuration register is used to change the ADS111xL operating modes and query the device status. The other two registers, Lo_thresh and Hi_thresh, set the threshold values used for the comparator function.
All four registers are accessed by writing to the Address Pointer register.
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 : Configuration 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[15:8] | |||||||
R-00h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
D[7:0] | |||||||
R-00h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:0 | D[15:0] | R | 0000h | 16-bit conversion result |
The 16-bit Configuration register controls the operating mode, input selection, data rate, full-scale range, and comparator modes.
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 (ADS1115L only) These bits configure the input multiplexer. These bits serve no function on the ADS1114L. The ADS1114L always uses 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. 001b : FSR = ±4.096 V(1) 010b : FSR = ±2.048 V 011b : FSR = ±1.024 V 100b : FSR = ±0.512 V 101b : FSR = ±0.256 V 110b : FSR = ±0.256 V 111b : FSR = ±0.256 V |
8 | MODE | R/W | 1b | Device operating mode This bit controls the operating mode. 1b : Single-shot mode or power-down state |
7:5 | DR[2:0] | R/W | 100b | Data
rate These bits control the data rate setting. 001b : 16 SPS 010b : 32 SPS 011b : 64 SPS 100b : 128 SPS 101b : 250 SPS 110b : 475 SPS 111b : 860 SPS |
4 | COMP_MODE | R/W | 0b |
Comparator mode This bit configures the comparator operating mode. 1b : Window comparator |
3 | COMP_POL | R/W | 0b |
Comparator polarity This bit controls the polarity of the ALERT/RDY pin. 1b : Active high |
2 | COMP_LAT | R/W | 0b |
Latching comparator 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. 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 These bits perform two functions. When set to 11b, 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. 01b : Assert after two conversions 10b : Assert after four conversions 11b : Disable the comparator and set the ALERT/RDY pin to high impedance |
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 the Lo_thresh Register and Hi_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[15:8] | |||||||
R/W-80h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Lo_thresh[7:0] | |||||||
R/W-00h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Hi_thresh[15:8] | |||||||
R/W-7Fh | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Hi_thresh[7:0] | |||||||
R/W-FFh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:0 | Lo_thresh[15:0] | R/W | 8000h | Low threshold value |
15:0 | Hi_thresh[15:0] | R/W | 7FFFh | High threshold value |