FXPS7115D4

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FXPS7115D4

跳至解决方案
6,765 次查看
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,700 次查看
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,746 次查看
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,740 次查看
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,717 次查看
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,713 次查看
Fast
Contributor V

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

0 项奖励
回复
6,709 次查看
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,701 次查看
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,749 次查看
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,751 次查看
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 项奖励
回复