ZHCSL05C October 2019 – October 2023 TPS65313-Q1
PRODUCTION DATA
Table 11-20 shows the output frame format of the SCRC-checksum value (transmitted by the device on the SDO pin).
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|
SCRC[7] | SCRC[6] | SCRC[5] | SCRC[4] | SCRC[3] | SCRC[2] | SCRC[1] | SCRC[0] |
A slave CRC8 check is performed by the MCU SPI master device. The check starts when the SPI NCS pin is driven low and the status is reported after the SPI NCS pin is driven high.
Both the master and slave devices use a standard CRC-8 polynomial to calculate the checksum value: X8 + X2 + X + 1.The CRC algorithm details are as follows:
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CMD[7] | CMD[6] | CMD[5] | CMD[4] | CMD[3] | CMD[2] | CMD[1] | CMD[0] | DATA[7] | DATA[6] | DATA[5] | DATA[4] | DATA[3] | DATA[2] | DATA[1] | DATA[0] |