Skip to main content
Visitor II
February 17, 2022
Question

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

  • February 17, 2022
  • 1 reply
  • 640 views

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 ?

    This topic has been closed for replies.

    1 reply

    ST Employee
    February 21, 2022

    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