i used s32k144 Design studio.
Is the CAN communication applied using the CRC module?
If it is incorrect. How to make CAN network by CRC?
Thank you for providing the example code.
the FlexCAN module counts CRC by itself. FlexCAN is fully supporting ISO 11898-1 standard.
Can I check the code of the FlexCAN module itself to calculate the CRC? (For example, a Header file, a predefined CRC value.)
the CRC is done by hardware itself. You can check the CANx->CRCR (chapter 184.108.40.206 in Reference Manual) register or capture CRC on oscilloscope.
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.
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.
Retrieving data ...