FXPS7115DS4T1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FXPS7115DS4T1

2,379 Views
Fast
Contributor V

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

0 Kudos
3 Replies

2,368 Views
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 Kudos

2,311 Views
Fast
Contributor V

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

0 Kudos

2,363 Views
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 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-2067681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXPS7115DS4T1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECan%20anyone%20share%20SPI%20messages%20with%20calculated%20CRC.%20To%20start%20and%20read%20pressure%20and%20temperature%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2072803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXPS7115DS4T1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2072803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENo%20examples%20only%20code.%20I'll%20look%20at%20the%20Infineon%20and%20ST%20offerings%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2067733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXPS7115DS4T1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067733%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20Jozef%2C%20I%20have%20looked%20at%20that%20but%20I%20do%20not%20need%20CRC%20and%20it%20is%20desperately%20slow%20to%20live%20calculate.%20I%20will%20attempt%20to%20use%20online%20tool%20to%20calculate%20CRC.%20Surely%20someone%20has%20a%20real%20example%2C%20not%20a%20code%20example%3F%20Perhaps%20it%20will%20get%20supported%20with%26nbsp%3BSPIGen.exe%2C%20which%20is%20very%20useful%20tool.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2067713%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXPS7115DS4T1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067713%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Richard%2C%3C%2FP%3E%0A%3CP%3Eunfortunately%20I%20didn't%20find%20the%26nbsp%3BFXPS7115D%20SPI%20messages%20(perhaps%20somebody%20else%20will%20share%20them)%20in%20older%20cases%2C%20but%20I%20have%20found%20a%20description%20for%20CRC%20calculation%20from%20an%20application%20engineer.%20Please%20see%20below.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EIn%20order%20to%20build%20CRC%20checksum%20on%20the%20SPI%20command%2C%20you%20can%20take%20%E2%80%9D8-bit%20crc%E2%80%9D%20fields%20as%20either%20%E2%80%980000%200000%E2%80%99%20or%20%E2%80%981111%201111%E2%80%99%20to%20complete%20the%20total%2032-bit%20command.%20Calculate%208-bit%20CRC%20using%20the%20default%20polynomial%20on%20the%2032-bit%20command%20and%20then%20replace%20calculated%208-bit%20CRC%20value%20in%20the%20%E2%80%9D8-bit%20crc%E2%80%9D%20fields%20before%20sending%20the%20command.%20If%20the%20calculated%20CRC%20does%20not%20match%20the%20transmitted%20CRC%2C%20the%20command%20is%20ignored%20and%20the%20device%20responds%20with%20the%20SPI%20error%20response.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EI%20have%20also%20found%20FXPS7xxx%20SW%20examples.%20Please%20find%20it%20attached.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20Best%20Regards%2C%3C%2FP%3E%0A%3CP%3EJozef%3C%2FP%3E%3C%2FLINGO-BODY%3E