cancel
Showing results for 
Search instead for 
Did you mean: 

Dear Sir. I am using LSM6DSL , configure 2g 416 odr.

EOved.1
Associate II

I am using LSM6DSL , configure 2g 416 odr.

I read the accelerometer once every 1 sec without using CTRL1_XL register.

I get y axis changes from -378 to -152 , Result about 2 degrees change..

Is the output of acc x,y,z valid between ODR reads ?

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @Community member​ ,

It is recommended to set the BDU bit of the CTRL3_C (12h) register: this configuration prevent the output registers to be updated until MSB and LSB have been read.

If you read data when the data ready is not risen, you might incur in the reading of an updated part of the output register (e.g. the MSB), and a not-updated part (say, the LSB one), and, in this case, you will concatenate a new value with an old one.

If you need only 1 data every 1 second (it's a very low rate for an accelerometer), you might set the lowest ODR = 12.5 Hz in high performance mode.

I'm not however sure about what do you mean with "without using CTRL1_XL register"

-Eleon