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/