CRC SIgnature of MPC5777C is incorrect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CRC SIgnature of MPC5777C is incorrect

925 Views
jongminna
Contributor III

Dear All,

 

I've tested CRC-32, CRC-16, CRC-8 in the MPC5777C (3N45H)

Test String is same as CRC example source code.

 

        uint8_t TextString1[] = "0123456789";

 

This is CRC Register Result

165862_165862.pngpastedImage_3.png

 

Vs. On-line CRC Calculation Result :

165863_165863.pngpastedImage_4.png

 

Two result are different each other.

But I applied Inversion for CRC. Then Two result are same.

165864_165864.pngpastedImage_5.png

165865_165865.pngpastedImage_6.png

 

 

CRC16, CRC 8 Result also different between MPC5777C's and online CRC Calculation.

Please let me know If my configuration is incorrect.

 

Best Regards!

Labels (1)
0 Kudos
1 Reply

543 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the code from this example

https://community.nxp.com/docs/DOC-332223 

... will work also on MPC5777C because the CRC module is identical.

If you want to get the same result in your first test case then you have to set the CFG1 to 0x00000015 - you need to set SWAP_BITWISE bit. 

Regards,

Lukas

0 Kudos