Hi,
the FlexCAN module counts CRC by itself. FlexCAN is fully supporting ISO 11898-1 standard.
Jiri
Can I check the code of the FlexCAN module itself to calculate the CRC? (For example, a Header file, a predefined CRC value.)
Hi,
the CRC is done by hardware itself. You can check the CANx->CRCR (chapter 53.4.2.14 in Reference Manual) register or capture CRC on oscilloscope.
Jiri
OK i see.
but i want to make a fault on CRC with CAN.
How to make a fault CRC within CAN?
Please help me with my question.
Thanks..
Hi,
I'm afraid that the only possibility how to inject CAN CRC error is modify physical layer - for example very short line drop affecting couple bits in payload.
Jiri