Skip to main content
Visitor II
June 13, 2019
Question

LSM6DSO linear acceleration

  • June 13, 2019
  • 2 replies
  • 793 views

Hi,

How can I get the linear acceleration from a LSM6DSO? Is there any filter that I can apply?

Regards,

Gabriel

    This topic has been closed for replies.

    2 replies

    ST Employee
    June 14, 2019

    Hi Gabriel, you can apply an embedded LP filter acting on LPF2_XL_EN in reg CTRL1_XL (10h). Consider also that you can set ODR 1.6Hz (12.5Hz in HP mode) do have only (anti-alias filter will cut the frequencies higher than ODR/2). Btw, please note that in the Low pass filer case you have to take into account the settling time of the filter itself, that can be regulated acting on FASTSETTL_MODE_XL of register CTRL8_XL (17h). Consider that due to the earth gravity you'll always have 1g modules acceleration distributed on the 3 axis. To handle this vale you should subtract it in post-processing. Regards

    Visitor II
    June 20, 2019

    Hi Eleon,

    I will test it and give you some feedback.

    Thanks,

    Gabriel