Hi there,
Hoping to get the attention of the FastCRC library creator, Frank B.
I've got a project I'm trying to transition from Teensy 3.2 to Teensy 4.0. It uses FastCRC to create a 16-bit CRC, but it requires a CRC init that is neither 0x0000 or 0xFFFF. I've been using the generic function as a result, and this has been terrific. I realise hardware CRC support isn't yet enabled for the Teensy 4.0 on the FastCRC library, so I've been trying the kermit or mcrf4xx functions with a modified init value in FastCRCsw.cpp, but this does not yield the same (correct) result that the generic function did on the T3.2. Do the tables only support 0x0000 or 0xFFFF ?
This is what worked on the T3.2:
CRC16.generic(0x1021, 0xabcd, CRC_FLAG_REFLECT, datainput, 14);
Any thoughts?
Hoping to get the attention of the FastCRC library creator, Frank B.
I've got a project I'm trying to transition from Teensy 3.2 to Teensy 4.0. It uses FastCRC to create a 16-bit CRC, but it requires a CRC init that is neither 0x0000 or 0xFFFF. I've been using the generic function as a result, and this has been terrific. I realise hardware CRC support isn't yet enabled for the Teensy 4.0 on the FastCRC library, so I've been trying the kermit or mcrf4xx functions with a modified init value in FastCRCsw.cpp, but this does not yield the same (correct) result that the generic function did on the T3.2. Do the tables only support 0x0000 or 0xFFFF ?
This is what worked on the T3.2:
CRC16.generic(0x1021, 0xabcd, CRC_FLAG_REFLECT, datainput, 14);
Any thoughts?