Hello
i don't speak english well.
Thanks for taking my question.
i want to make a CRC error. because i want to check CRC function in Safety mechanism.
I can see a example in S32k14x EAR SDK(crc_checksum_s32k144)
i was curious when looking at the example.
1. what is input? (How to make result 0xB532U)
2. Result is defined : 0xB532U why RESULT_CRC16_CCITT is 0x532? i think that Result is calculated CRC result value.
3. How to make CRC error?
Thanks for taking my question.
Hi,
the input is array of 32bit integers stored in input_data.c source code:
The result is pre-calculated result of input data used for comparison with result form hardware CRC module based on input data. If you change value in input data array - CRC module returns different CRC number and you got CRC error in this example and Red LED will lite.
Hope it helps.
Jiri