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.

CCS/MSP430FR6043: Matching the Hardware CRC32 method and linker CRC32_PRIME

Part Number: MSP430FR6043

Tool/software: Code Composer Studio

Hi!

What are the required way of calculating the CRC in the same way as the linker CRC32 (CRC32_PRIME) with the hardware CRC32 module? 

crc_table(linkerCRC, algorithm=CRC32_PRIME)

E.g.set data in reversed? get result in reversed? XOR with what? seed with what etc? 

CRC32_setSeed(0x00000000, CRC32_MODE);
uint32_t *FRAM_memory=(uint32_t*)linkerCRC.recs[0].addr;
for(i=0; i<(linkerCRC.recs[0].size); i+=4){
CRC32_set32BitData(*FRAM_memory++);
}
result=(CRC32_getResult(CRC32_MODE));

The above is my test code that doesn't match the linker's result.

Thanks in advance

**Attention** This is a public forum