Skip to main content
Graduate II
September 7, 2025
Solved

LPF filter on IIS2ICLX inclinometer

  • September 7, 2025
  • 1 reply
  • 186 views

I would like to implement a low pass filter to filter out noise at frequencies above 2Hz on the IIS2ICLX inclinometer. I would like to have as high an ODR as possible, let's assume 833Hz. My signal has a low frequency, around 0.5Hz.

LPF1 will clearly not help me - the response is flat out to 100Hz.

To implement the filter using LPF2, would the following register configurations be suitable:

CTRL1_XL :

ODR bits 0b0111 for 833Hx ODR

LPF2_XL_EN bit 0b1 to enable LPF2

CTRL8_XL

HPCF_XL bits 2:0 set to 0b110 for cutoff of ~2Hz (=833Hz ODR / 400)

HP_REF_MODE_XL set to 0b0 to disable HP filter

FASTSETTL_MODE_XL set to 0b0 to disable fast settling mode

HP_SLOPE_XL_EN set to 0b0 to disable slope filter

 

I would be extremely grateful for any help implementing my filter - thanks for reading this far!

    This topic has been closed for replies.
    Best answer by Federica Bossi

    Hi @chisatholm ,

    Your settings are correct and suitable for implementing a low-pass filter with cutoff ~2 Hz at 833 Hz ODR on the IIS2ICLX.

    1 reply

    Technical Moderator
    September 11, 2025

    Hi @chisatholm ,

    Your settings are correct and suitable for implementing a low-pass filter with cutoff ~2 Hz at 833 Hz ODR on the IIS2ICLX.