JAJSMQ4 june 2023 TPS389006
PRODUCTION DATA
TPS389006 supports Packet Error Checking (PEC). It uses a CRC-8 represented by the polynomial C(x)=x^8 + x^2 + x + 1, with CRC initial value set to 0x00. The PEC calculation includes all bytes in the transmission, including address, command and data. The PEC calculation does not include ACK or NACK bits or START,STOP or REPEATED START conditions. The device which acts as a peripheral and supports PEC must be prepared to perform the transfer with or without a PEC, verify the correctness of the PEC if present and only process the message if PEC is correct.
If PEC is enabled by EN_PEC, and the PEC byte is present in the write transaction, the device will NACK and assert NIRQ if PEC byte is incorrect.
If PEC is enabled by EN_PEC, and the PEC byte is not present in the write transaction
-If REQ_PEC =0, missing PEC is treated as good PEC and register write succeeds. NIRQ is not asserted.
-If REQ_PEC =1, missing PEC is treated as incorrect PEC and register write fails. NIRQ is asserted.