FXPS7115DS4T1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FXPS7115DS4T1

1,028件の閲覧回数
Fast
Contributor V

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

0 件の賞賛
返信
3 返答(返信)

1,017件の閲覧回数
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 件の賞賛
返信

960件の閲覧回数
Fast
Contributor V

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

0 件の賞賛
返信

1,015件の閲覧回数
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 件の賞賛
返信