Using the Hardware CRC for a CRC-8 calculation
Hi together,
I am communicating over different interfaces and these are from different suppliers. There it is used the CRC-8 algorithem to secure the the communication data.
I have two cases, in both we use a table to realize the crc calculation, now I try to replace the software calculation with the hardware-crc unit of the STM32-controller.
In one case it works, there is the calculation we used so far like this:
The table-value is found over xoring the actual value with the new data byte as index of the table.
internalCrcValue is initialzed with 0x00.
