cancel
Showing results for 
Search instead for 
Did you mean: 

LPF filter on IIS2ICLX inclinometer

chisatholm
Associate III

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!

0 REPLIES 0