Question
LPS25HB not giving correct output in Atmel SAM Gseries
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
