FIR filter for MEMS
Hello,
Are there any examples for implementation FIR filter on accelerometer and gyro data with programmable cut-off frequency? It would be better if CMSIS DSP functions are used.
Hello,
Are there any examples for implementation FIR filter on accelerometer and gyro data with programmable cut-off frequency? It would be better if CMSIS DSP functions are used.
Hi @JDave.4 ,
In the FP-SNS-ALLMEMS1 function pack for the MEMS&Sensors, there is an example of the implementation of a FIR implementation (via CMSIS DSP on ARM Cortex), that removes high frequency signal components from the input using an FIR lowpass filter. The example demonstrates how to configure an FIR filter and then pass data through it in a block-by-block fashion. You might feed this function with the accelerometer raw data (acquired via one of the Sensors projects) instead of the sinewaves used in the example.
You can find it in the Drivers folder, path: \Drivers\CMSIS\DSP\Examples\ARM\arm_fir_example.
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.