SBASB74 October 2024 ADS127L21B
PRODUCTION DATA
The main program memory CRC is calculated over register addresses 00h to 11h using the 8-bit CRC polynomial shown in the SPI CRC section. This range excludes addresses 02h, 03h, and 04h (STATUS1, STATUS2, and CONTROL registers). Write the CRC value to the MAIN_CRC register whenever the program memory is changed. The ADC compares the value to an internal calculation. If the values do not match, the M_CRC_ERR bit in the STATUS2 register is set. This error is ORed with the other CRC memory errors and is shown in the global CRC_ERR of the STATUS1 register. If the M_CRC_ERR is set, check the memory contents and update the CRC value. Allow a delay for the ADC to compute the internal CRC then write 1b to the bit to clear. The CRC error check is enabled by the REG_CRC bit of the CONFIG3 register.
Because the REV_ID potentially changes during device production without notice, read the contents of the REV_ID register when calculating the CRC value.