JAJSME8C July 2021 – June 2022 TMP126
PRODUCTION DATA
The TMP126 has integrated optional CRC that can be used to determine the integrity of the SPI communication to the TMP126. The CRC is enabled by setting the CRC_Enable bit in the command word to 1 with an appropriate data block length. During a read, the TMP126 will append a 16 bit CRC checksum to the data block for the host to compare with its own checksum. In this manner the host can validate the data sent by TMP126 and read from the device again if necessary. During write operations, the host will send the CRC word that the TMP126 will compare against its own checksum. If the TMP126 determines that the data sent during the write transaction was corrupted, the TMP126 will discard the write and set the CRC_Flag in the Alert_Status register to alert the host that the register settings must be sent again.
This allows the system to ensure the data integrity of the SPI communication in both write and read operations.
Writing to the configuration register with a CRC enabled transaction is currently not supported.