AnsweredAssumed Answered

CRC32 bit checksum algorithm for MPC5643L

Question asked by Amar Mahajan on Oct 18, 2019
Latest reply on Oct 24, 2019 by Lukas Zadrapa

Dear Support,

 

I have MPC5643L micro and using CRC32 bit with CRC32_ETHERNET. I am generating 32 bit CRC using following configuration.

{/* swap_bitwise    swap_bytewise   swap          inv                   poly                                                       seed_val */
{ CbFALSE,            CbFALSE,          CbFALSE, CbFALSE,    CeGENR_e_CRC32_ETHERNET,       0xFFFFFFFF

Above works fine and successfully running.

 

This calculated CRC we store in one external EERPOM and I need to use that stored data using some other device and calculate same 32 bit CRC. I tried few 32 bit CRC algorithm from net but not matching with what MPC5643L calculates.

 

Please let me know if you need more info on how I implemented/ configure CRC on MPC5643L.

Please could help me in locating ready C source code which calculates same 32 bit CRC as MPC5643L.

 

Thanks

Amar

Outcomes