cancel
Showing results for 
Search instead for 
Did you mean: 

LPS25HB not giving correct output in Atmel SAM Gseries

nagaradhika93
Associate II
Posted on July 04, 2017 at 15:39

Hi,

I'm using X-NUCLEO-IKS01A1 board for integrating the pressure sensor in my Atmel board SAM G55 series.I'm using the reference code of 

https://github.com/ControlEverythingCommunity/LPS25HB/blob/master/C/LPS25HB.c

 .I can able to get the correct output from WHO AM I register but the problem is that when I'm reading the output registers 0x28,0x29,0x2A ,the values are showing always as zero and they are not changing.Even If sometimes ,the registers are showing some value,the values are not changing even when the pressure is applied.I have configured the control registers too. 0x20 as 0x90 and 0x21 as 0x01.

Can you please let me know any clue on why the output registers are not changing and always showing as zero.Please help me.

Thanks and Regards,

Radhika

2 REPLIES 2
Legacy member
Not applicable
Posted on July 04, 2017 at 18:32

Hello,

I am confused. What is the difference between this thread and

https://community.st.com/0D50X00009XkdtfSAB

? You have marked it as resolved, but now you have exactly the same problem ?

David

Legacy member
Not applicable
Posted on July 04, 2017 at 18:34

Let us know what configuration you set to the sensor, all values and specific registers, please.

The more details you include, the better support you can get. Write more about what have you done already.