Hey I was hoping the E2E community could help me out. I am having issues with the HW CRC in a TM4C1294 uC. We use the Tivaware calls to access the peripheral.
Here is some example code the result I get is: 0xBE33EAB6.
From an online CRC calculater I get these result when I input the same as in the example (0001020304).
we need this CRC check to cummunicate with a desktop application that we also develop.
In the desktop application we are able to get the CRC codes as shown in the table below. So what are we doing wrong in the TM4C1294?
uint32_t result; uint8_t buf[5]; buf[0] = 0; buf[1] = 1; buf[2] = 2; buf[3] = 3; buf[4] = 4; CRCConfigSet(CCM0_BASE,CRC_CFG_SIZE_8BIT | CRC_CFG_TYPE_P4C11DB7 |CRC_CFG_INIT_SEED); CRCSeedSet(channel->Base, 0); result = CRCDataProcess(CCM0_BASE, buf, sizeof(buf),false);