FXPS7115D4

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

FXPS7115D4

Jump to solution
6,769 Views
Fast
Contributor V

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.  

 

0 Kudos
Reply
1 Solution
6,704 Views
Fast
Contributor V

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.

View solution in original post

0 Kudos
Reply
8 Replies
6,750 Views
Fast
Contributor V

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?

0 Kudos
Reply
6,744 Views
Fast
Contributor V

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?

 

0 Kudos
Reply
6,721 Views
Fast
Contributor V

There is no response to 7.5.3.3 Sensor data request commands, always 0x0C0003D4.

What is wrong? all status registers good.

6,717 Views
Fast
Contributor V

Ah! SID0_EN must be set = 1, another strange setting.

0 Kudos
Reply
6,713 Views
Fast
Contributor V

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.

0 Kudos
Reply
6,705 Views
Fast
Contributor V

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.

0 Kudos
Reply
6,753 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
6,755 Views
Fast
Contributor V

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

0 Kudos
Reply