cancel
Showing results for 
Search instead for 
Did you mean: 

MEMS LPS25H read always 0x1E

plls2011
Associate
Posted on June 13, 2014 at 04:14

use MCU SPI MODEL , I have used oscillometer test.

write @0x20=0x00

read  @0x20=0x1e

write @0x20=0x84

read  @0x20=0x1e

error... 

0690X00000603DWQAY.jpg
4 REPLIES 4
plls2011
Associate
Posted on June 16, 2014 at 03:22

Circuit Description:

1.   VDD

2.   SCL

3.   GND

4.   SDI

5.   SDO

6.   GND

7.   NC or to MCU PIN

8.   GND

9.   GND

10.  VDD

maurizio23
Associate II
Posted on February 03, 2015 at 11:13

Hello, I have used LPS331AP in SPI and I2C mode for first test some months ago.

Due to LPS331AP limitation I wait the new LPS25H evb STEVAL-MKI142V1.

I try to read WHO_I_AM register but I do not reply the expected value 0xBD, I read =0xFF in I2C and 0x00 in SPI.

Source code are the same for LP331AP, what's wrong with LPS25H?

Dear Cheng, have you solve your problem very similar to my?

Thank you.

maurizio23
Associate II
Posted on February 06, 2015 at 18:19

Dear All, my problem is solved. It was STEVAL-MK142V1 with LPS25H damage.

This mean that if the SDA SCL driver is damage it reply with dummy value from WHO_I_AM register..

Now second STEVAL it works on I2C bus.

Regards

Maurizio

tba10596
Associate II
Posted on July 22, 2015 at 15:30

Can you attach some example code that reads WhoAmI - I have been trying to do this, and I have not been successful. (Using STM32F4 Discovery Board and LPS25H)

Regards,

Todd Anderson