SBASAM0B March 2024 – November 2024 ADS127L18
PRODMIX
The ERROR pin is an open-drain digital output with an internal 100kΩ pull-up resistor that drives low to indicate an error. Figure 7-29 shows the ERROR pin block diagram. Use a stronger value pullup resistor if leakage current from the controller input causes an output-high voltage error. The ERROR pins from several devices can be tied together. Read the STATUS registers to determine the device that asserted the error.
An error is the logical OR of the seven SPI STATUS register bits. Table 7-13 shows the STATUS register bits that cause an error.
STATUS REGISTER BITS | BIT LOCATION | FUNCTION |
---|---|---|
ALV_FLAG | STATUS[6] | Analog low-voltage flag |
POR_FLAG | STATUS[5] | Power-on reset flag |
SPI_ERR | STATUS[4] | SPI input CRC error |
REG_ERR | STATUS[3] | Register map CRC error |
ADC_ERR | STATUS[2] | Internal ADC error |
ADDR_ERR | STATUS[1] | SPI register address error |
SCLK_ERR | STATUS[0] | SCLK count error |
ERROR is driven low at power-up due to automatic assertion of the ALV_FLAG and POR_FLAG flags. Although not required for device operation, write 1b to the SPI STATUS register to clear the power flags to allow indication of other errors. Other error bits are cleared by writing 1b after the error condition causing the error is removed. The ERR_FLAG of the data port STATUS byte is the inversion of the ERROR pin. In hardware control mode, there is no access to the STATUS register, therefore an error is caused only by the ADC_ERR bit.