2021-04-08 08:03 AM
I have lsm6dso imu sensor, I can add high pass filter or slope filter for wake-up interrupt.
Is it possible to add filter to fsm interrupt ?
Solved! Go to Solution.
2021-04-09 12:44 AM
Hi @Iakgu.1 ,
not sure I have understood your question...
As explained in the application note AN5226, p.22, the filters that can be applied differently in the case of accelerometer or gyroscope data.
In the accelerometer case, you can configure the LPF1 only before entering the data in the FSM core, as shown in the picture below:
In the gyroscope case, you can apply both low pass filter and high pass filter before sending the signal to the FSM input:
Moreover, you can tune the signal bandwidth of the accelerometer and gyroscope configuring the device ODRs.
Inside the FSM, you cannot apply further filters, but if you need you might think to filter the interrupt in post-processing.
If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon
2021-04-09 12:44 AM
Hi @Iakgu.1 ,
not sure I have understood your question...
As explained in the application note AN5226, p.22, the filters that can be applied differently in the case of accelerometer or gyroscope data.
In the accelerometer case, you can configure the LPF1 only before entering the data in the FSM core, as shown in the picture below:
In the gyroscope case, you can apply both low pass filter and high pass filter before sending the signal to the FSM input:
Moreover, you can tune the signal bandwidth of the accelerometer and gyroscope configuring the device ODRs.
Inside the FSM, you cannot apply further filters, but if you need you might think to filter the interrupt in post-processing.
If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon
2021-04-09 12:18 PM
In the accelerometer case, I understand from picture that only lpf1 is applied. Since lpf2 output does not enter the fsm. But you say that lpf2 can be applied to fsm.
I think you are wrong.
2021-04-14 03:32 AM
Ya, I wrote LPF2 instead of LPF1 for the accelerometer, I have now corrected my sentence. In any case, please note that the block diagrams are the refence representations.
Did you managed to solve your issue?
-Eleon
2021-04-14 03:50 AM
yes I solved, only lpf1 is applied by default. to fsm input. @Eleon BORLINI