SBOSA15B September 2022 – January 2025 TMP1827
PRODUCTION DATA
The TMP1827 implements a cyclic redundancy check (CRC) mechanism for data integrity check and communication robustness. Table 8-4 lists the properties of a 8-bit CRC.
| CRC-8 RULE | ATTRIBUTES |
|---|---|
| CRC width | 8 bits |
| CRC polynomial | x8 + x5 + x4 + 1 (0x31) |
| Initial seed value | 00h |
| Input data reflected | Yes |
| Output data reflected | Yes |
| XOR value | 00h |
When a new transaction is done, the shift register is initialized with the seed value of 00h and the data is shifted in LSB first. The CRC result is always part of the 64-bit unique address and is computed on the preceding 56-bits. Additionally, when the host writes to the scratchpad-1 for the registers and scratchpad-2 for the memory, the device sends the CRC computed on the data bytes to provide a data integrity check for the host on the transaction. When the host reads the scratchpad-1 for reading the temperature register, the device shall append the CRC after the 8 bytes of scratchpad are sent.
The host must recalculate the CRC and compares the recalculation against the received CRC from the device. This is done by shifting the read data from the device along with CRC bits. If there is no bus error, then the shift register at the end of the bit shift results in 00h. When writing the data to the device, the host must check the CRC received by processing the write data to verify that there are no transmission errors and take appropriate corrective action before performing the next function.