The ADS125P08 outputs
an optional STATUS header as the first two bytes in every frame on SDO. The STATUS
header is enabled by setting the STATUS_EN bit of the DIAG_MONITOR_CFG register. The
16 bit STATUS header is a concatenation of the STATUS_MSB[7:0] and STATUS_LSB[7:0]
register bits. Fault flags, status flags, the conversion counter, and the sequence
step indicator, are all part of these bits. See the respective register bit
descriptions in the Register Map section for details.
- Communication-related fault
flags, such as the SPI_CRC_FAULTn and REG_WRITE_FAULTn flags, always indicate
faults that occurred in the previous SPI frame. These fault flags clear
automatically for the next SPI frame.
- All other device-related fault
and status flags indicate the state of the device at the instance of the start
of the current SPI frame.
- Some flags represent logic-or
combinations of flags from other status registers, such as the ADC_REF_FAULTn,
FIFO_FAULTn and INTERNAL_FAULTn flags. Those bits update when any bit of the
respective lower level status registers is set. For those bits to clear, all
bits in the lower-level status registers must be cleared.
- All fault flags, except for the
communication related fault flags mentioned above, are latching. That means,
these fault flags do not reset automatically to 1b when the fault condition is
removed and must be cleared by the host.
- The conversion and sequence step
counters indicate the count of the data which is output in the current SPI
frame: The conversion counter increments with every new conversion, and the
sequence step counter indicates which sequence step is currently executed.