How to get correct acceleration values from LSM6DSOXTR Sensor?
We are using LSM6DSOXTR Sensor for getting the acceleration,
Its datasheet says
(4.6.2- Zero-g and zero-rate level Page no 17)"A sensor in a steady state on a horizontal surface will measure 0 g on both the X-axis and Y-axis, whereas the Z-axis will measure 1 g."
but we are getting below values,
X Y Z
13 65531 64541
13 65532 64542
6 65530 64539
8 65531 64540
Can anyone suggest
1)Why we are getting this much high values?
2)How to achieve the value "0" in the X, Y-axis when the sensor is put on a flat non-moving surface?
It will be more helpful if someone shares a sample code which is showing the settings and process to get correct acceleration data.
Thanks
