FXPS7115D4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
6,763件の閲覧回数
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 件の賞賛
返信
1 解決策
6,698件の閲覧回数
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 件の賞賛
返信
8 返答(返信)
6,744件の閲覧回数
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 件の賞賛
返信
6,738件の閲覧回数
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 件の賞賛
返信
6,715件の閲覧回数
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,711件の閲覧回数
Fast
Contributor V

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

0 件の賞賛
返信
6,707件の閲覧回数
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 件の賞賛
返信
6,699件の閲覧回数
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 件の賞賛
返信
6,747件の閲覧回数
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 件の賞賛
返信
6,749件の閲覧回数
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 件の賞賛
返信