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
Vs. On-line CRC Calculation Result :
Two result are different each other.
But I applied Inversion for CRC. Then Two result are same.
CRC16, CRC 8 Result also different between MPC5777C's and online CRC Calculation.
Please let me know If my configuration is incorrect.
Best Regards!
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