2021-06-20 10:42 PM
I am Working on H3LIS10DL And i have Read The WHO_AM_I Id of the H3LIS100DL i got the WHO_AM_I id is 32h. But not getting Correct Data of X,Y,Z Axis
Also i Have tried the ST Library for the H3LIS100DL but seems we are not getting the correct data on this Library,The Below Library link that is i have used:
https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/h3lis100dl_STdC
If anyone have worked on H3LIS100DL , share me a code or suggest me what is the issue
Solved! Go to Solution.
2021-07-06 01:55 AM
Thank you for your reply , now i am able to get XYZ axis Data
2021-06-29 02:05 AM
Hi @Ajeth.1 ,
if you are reading the correct WHO_AM_I value, I believe the I2C communication is going well.
In order to start data acquisition, you have to set at least the ODR value, for example as shown in the code below:
/* Set Output Data Rate */
h3lis100dl_data_rate_set(&dev_ctx, H3LIS100DL_ODR_5Hz);
Which kind of X,Y,Z data are you currently receiving (I mean, 00h, or FFh, or else)?
-Eleon
2021-07-06 01:55 AM
Thank you for your reply , now i am able to get XYZ axis Data