Hi, can anyone send me sample code for crc calculation? I have some problem in generating correct crc...
Solved! Go to Solution.
Hi Alessandro,
Attached you can find the CRC calculation software implemented in our KL25Z MCU.
BR, Tomas
View solution in original post
Hi @TomasVaverka
Why is 0x42 used as the seed value in the code? Shouldn´t it be 0FF?
Hi Tomas, Thanks!
I've just tried it but it doesn't function (I used the sample messages on the datasheet to test crc result).
I think they use a different polynomial (0x2F), also seed is different.
Hi Tomas, I'm sorry it was correct!