SBASB74 October 2024 ADS127L21B
PRODUCTION DATA
The IIR filter coefficient CRC validates the IIR coefficient memory. The IIR CRC value is calculated over the 25, 32-bit IIR coefficients, using the 8-bit CRC polynomial; see the SPI CRC section. After the IIR coefficients are loaded to the ADC, write the 8-bit CRC value to the IIR_CRC register. The ADC compares the CRC value to an internal calculation. If the values do not match, the I_CRC_ERR bit of the STATUS2 register is set, which is logically ORed with the other CRC error flags to set the global CRC_ERR bit of the STATUS1 register. If the error bit is set, check the IIR coefficient contents and update the CRC value then disable and re-enable the REG_CRC bit to clear the bit. The IIR coefficient CRC is disabled if the IIR filter is disabled by the IIR_DIS bit of the FILTER2 register.