Has anyone got a working FXPS7115D4?
I think "7.5.5.3 SPI error
The following external SPI conditions result in a SPI error:
• The number of SCLK rising edges detected while SS_B is asserted is not equal to 16"
An example command and response would be great.
解決済! 解決策の投稿を見る。
Very sorry Tomas I must have damaged part!
Had 2nd part fitted and all good untrimmed error 0.4kPa.
I had applied pressure using a pipe and syringe to sensor and could easily exceed the low Pmax 150kPa.
Sorry Tomas that does not help.
I can read TEMP sucesfully.
Yet a read of register $62 followed by $63, appears to return an extended sign byte and lower byte data for something.
What registers should I read, or have I missed some configuration or initialization process?
OK so need to point SNSDATA0 at pressure signal, strange to default to nowhere.
Now a signal that responds, typical result 0x7CE5 how does this make ~ 101kPa?
( 31,981 - 25,536 ) / 93.34 = 69kPa barometer on wall says 101kPa !! where have I gone wrong?
There is no response to 7.5.3.3 Sensor data request commands, always 0x0C0003D4.
What is wrong? all status registers good.
Ah! SID0_EN must be set = 1, another strange setting.
OK sum 12bit data 01 1001 011 00 not on nibble boundary
(1,692 – ( -1566))/46.67 = 69.8kPa and it is 102.5kPa today!
And yes I have checked part number on device.
Very sorry Tomas I must have damaged part!
Had 2nd part fitted and all good untrimmed error 0.4kPa.
I had applied pressure using a pipe and syringe to sensor and could easily exceed the low Pmax 150kPa.
Hello Richard,
Please find attached an example project which simply reads the pressure and temperature registers. The project uses the KE15Z MCU as this is what we are targeting for our evaluation HW.
Pre-Requisite tool to be installed before running the project: MCUXpresso IDE, Serial terminal (e.g. Tera Term).
SDK requirement: Download and import FRDMKE15 SDK into MCUXpresso. Here is some sample educational video.
Importing example project: Once you have installed SDK, simply drag ‘.project’ file into MCUXpresso’s ‘Project Explorer’ tab.
Best regards,
Tomas
OK go sideways shame app notes are rarely listed in datasheet. Which I think us engineers is nearly a requirement as complexity increases.
AN12731 8-bit CRC calculation procedure using SPI communication for the FXPS7xxxD4 pressure sensor