Hi everyone, I'm using LSM6DSL mems for my application with st_lsm6dsx driver for linux. But I doubt whether the raw readings that I am getting is wrong. Please see the readings below:-
cat /sys/bus/iio/devices/iio\:device0/in_accel_x_raw
759
cat /sys/bus/iio/devices/iio\:device0/in_accel_y_raw
2273
root@nitrogen6x:~# cat /sys/bus/iio/devices/iio\:device0/in_accel_z_raw
15979
These are the values that i am getting when reading the sysfs nodes of the sensor. Are there values expected?
Also How do we calculate the X_OFS_USR, Y_OFS_USR and Z_OFS_USR register values from raw x,y,z readings?
Thanks in advance.
#lsm6dsl #accelerometer #calibration
