Can anyone share SPI messages with calculated CRC. To start and read pressure and temperature?
Thank you Jozef, I have looked at that but I do not need CRC and it is desperately slow to live calculate. I will attempt to use online tool to calculate CRC. Surely someone has a real example, not a code example? Perhaps it will get supported with SPIGen.exe, which is very useful tool.
No examples only code. I'll look at the Infineon and ST offerings
Dear Richard,
unfortunately I didn't find the FXPS7115D SPI messages (perhaps somebody else will share them) in older cases, but I have found a description for CRC calculation from an application engineer. Please see below.
In order to build CRC checksum on the SPI command, you can take ”8-bit crc” fields as either ‘0000 0000’ or ‘1111 1111’ to complete the total 32-bit command. Calculate 8-bit CRC using the default polynomial on the 32-bit command and then replace calculated 8-bit CRC value in the ”8-bit crc” fields before sending the command. If the calculated CRC does not match the transmitted CRC, the command is ignored and the device responds with the SPI error response.
I have also found FXPS7xxx SW examples. Please find it attached.
With Best Regards,
Jozef