Hi, can anyone send me sample code for crc calculation? I have some problem in generating correct crc...
已解决! 转到解答。
Hi Alessandro,
Attached you can find the CRC calculation software implemented in our KL25Z MCU.
BR, Tomas
在原帖中查看解决方案
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!