Hi
Anybody know there is any function/module for CRC cacluation in CC1310?
Thanks,
Weiyin
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.
Hi
Anybody know there is any function/module for CRC cacluation in CC1310?
Thanks,
Weiyin
Hi
We want to check the integrity of my application data, so we want to used CRC to do that. For example, when we write the data, we calculate a CRC value for my data; when we read, calculate a CRC value again and compare previous one.
I think the CRC16 you mentioned is for RF part and it seems that it can not used by my application for data integrity.
So is there any other methods to do CRC or check integrity for my application data.
Are there any comments for MACRO HapiCrc32 that is defined in ROM.h in CC1310 SDK.
Hello Chris.
Please add the following to the overrides list to initialize CRC polynomial as mentioned in your post.
0x40012005, // Set 16 bit CRC(address)
0x59350000, // Set 16 bit CRC(value), 16 bits MSB is the CRC ploynomial
0xFFFF0163, // CRC initialization, 16 bits MSB used for CRC initilization
Regards,
Thank you!
I had to modify it a bit, and I think my comments are correct, but here is what ended up working for me:
HW32_ARRAY_OVERRIDE(0x2004, 1), // CRC override to support 0x5935 polynomial 0x59350000, // 0x5935 polynomial 0xC0040051, // CRC Init Register Configure 0x00000000, // New CRC init value (should have defaulted to 0x0, but it didn't...?) 0xC0040061, // crcXor Register 0x00000000, // override to set the “crcXor” setting (4-byte value)