cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSO linear acceleration

gabriel.arnautu
Associate II

Hi,

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

Regards,

Gabriel

2 REPLIES 2
Eleon BORLINI
ST Employee

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

gabriel.arnautu
Associate II

Hi Eleon,

I will test it and give you some feedback.

Thanks,

Gabriel