- 1.Clear the UxRXCHK register.
- 2.Set the C0EN bit.
- 3.Receive all bytes in the transaction including the checksum byte.
- 4.Set MSb of UxRXCHK if 7-bit mode is selected.
- 5.Add ‘
1’ to
UxRXCHK.
- 6.If the result is
‘
0’, the checksum passes, otherwise it fails.
The CERIF Checksum Interrupt flag is not active in any mode other than
LIN.