Stm32H750B: Can the CRC peripheral be used for other CRC calcs when using Touchgfx and if so how?
Hi,
I wish to calc a CRC using the CRC peripheral for some byte data and am using TouchGFX which as I understand it also uses the CRC peripheral.
I tried using the CRC unit but I am not calculating the correct ethernet 32 bit CRC for my data. I suspect the intialisation of the CRC unit in TouchGFX projects is incorrect for the ethernet version of CRC peripheral, maybe its the endianess of the data or the polynomial used or some other factor.
The problem of course is that TouchGFX and my other processes run on threads so a thread-safe config mode change to the CRC registers seems quite challenging. It may be best to use a thread-safe algorithm as the data streams to be processed are fairly short.
At the moment it is more of an academic exercise as the Ethernet peripheral has a separate CRC unit so the network data is protected by the Ethernet CRC.
Is there a way of using the CRC unit with TouchGFX or is it more trouble than it's worth?
