Hi,
Bits 0-2 of error and status register of the on board CAN controller - DCAN-ES is LEC (Last Error Code)
The LEC field indicates the type of the last error on the CAN bus. This field will be cleared to 0 when a message has been transferred (reception or transmission) without error.
If LEC field value =6 means CRC Error: In a received message, the CRC check sum was incorrect. (CRC received for an
incoming message does not match the calculated CRC for the received data).
Does this mean that CAN controller Hardware implicitly calculates the 16 bit CRC of the received message and compares with the CRC value in the received frame? and so Application doesn't need to implement CRC check functionality in software?