This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: Calculate CRC-32 with GCRC module #2

Part Number: TMS320F28388D

With reference to this post: Calculate CRC-32 with GCRC module

In order to get CRC-32 using the CM GRCR module, the output should be reversed and xor'ed (the GCRC module only reverse the input and it doesn't xor).

I solved it by adding the following to the output from the GCRC module:

crc = GCRC_readResult(GCRC_BASE);
crc_refout_xorout = __rbit(crc) ^ 0xFFFFFFFF;

Just posting the information to help others (and save the time i spent on it).

Any other suggestion would be appreciated.

See also: https://crccalc.com/