cancel
Showing results for 
Search instead for 
Did you mean: 

We are using H3LIS100DL MEMS Accelerometer Sensor with STM32L496XX Board. We are using I2C connection for getting the x,y and z axis data.We are getting the Device ID correct but not able to get the Correct x,y and Z axis data.Please give anyideas.

ORana.1
Associate II
 
5 REPLIES 5
Eleon BORLINI
ST Employee

Hi @ORana.1​ ,

can you please share the LSB you are getting?

Are you correctly configuring the H3LIS100DL device?

See for example the C drivers on Github --> h3lis100dl_read_data_polling.c

-Eleon

ORana.1
Associate II

Hello @Eleon BORLINI​ 

I am setting below configuration

CTRL_REG1 = 0x27

CTRL_REG2 = 0x00

CTRL_REG3 = 0x00

Please check

When i am reading the STATUS_REG its always give the value 0x99

ORana.1
Associate II

If anyone is having some logic or correction for this Problem Just help me.

Hello @Eleon BORLINI​ 

i have used the same example as you mentioning but still we are not getting the correct result.

Please guide us if we are missing some thing.