AnsweredAssumed Answered

CRC for polynomial 0xedb88320

Question asked by Suhas Prabhu on Jul 22, 2019
Latest reply on Jul 23, 2019 by Mark Butcher



I am facing the issue with CRC32 calculation using hardware CRC functions. I tried with the "0xedb88320" for MK22FN512VLL12. I am not able to get the CRC value right.

Is there any sample code (with hardware configuration values set and working) that can  provide a comparison to calculate CRC32 using hardware and software ? 

I hope i can use the CRC hardware function from K22.


I have a reference table from  

link : //


unsigned long int CRC32Table[] = { /* CRC polynomial 0xedb88320 */
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535,
0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, ..................



Hope to get some help on that.