FXPS7115DS4T1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FXPS7115DS4T1

1,034 次查看
Fast
Contributor V

Can anyone share SPI messages with calculated CRC. To start and read pressure and temperature?

0 项奖励
回复
3 回复数

1,023 次查看
Fast
Contributor V

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.

0 项奖励
回复

966 次查看
Fast
Contributor V

No examples only code. I'll look at the Infineon and ST offerings

0 项奖励
回复

1,021 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复