2019-05-21 10:18 AM
Hi,
I want to measure a static object and approximate tilt angle with accelerometer only data.
With 303AGR e-compass I can easily configure the filters so a low pass filter can be set up in no time.
With LSM6DSL I am a bit lost on where or what filter I have to setup in order to achieve the same (a extremely low-pass filter, below 1Hz).
Thanks!
Solved! Go to Solution.
2019-05-22 07:25 AM
hi David, the first LP filter (not considering the anti-alias) is configurable in CTRL1_XL (10h) reg and CTRL8_XL (17h), especially in the CTRL8_XL (17h) reg:
to have the lowest roll-off frequency you have to select the ODR/400 case, meaning value b1011000 (58h) in reg CTRL8_XL (17h). If you set ODR below 416Hz you'll have a LP cutoff frequency < 1Hz.
Btw, if your application is a quasi-static measure such as an inclinometer application, I suggest you the use of IIS3DHHC that is designed exactly for this purpose. Regards
2019-05-22 07:25 AM
hi David, the first LP filter (not considering the anti-alias) is configurable in CTRL1_XL (10h) reg and CTRL8_XL (17h), especially in the CTRL8_XL (17h) reg:
to have the lowest roll-off frequency you have to select the ODR/400 case, meaning value b1011000 (58h) in reg CTRL8_XL (17h). If you set ODR below 416Hz you'll have a LP cutoff frequency < 1Hz.
Btw, if your application is a quasi-static measure such as an inclinometer application, I suggest you the use of IIS3DHHC that is designed exactly for this purpose. Regards
2019-05-23 03:18 AM
Thanks a lot, testing it!
Is just one of the operating modes, I wish I could use a inclinometer! :)