Source code:
https://www.patreon.com/user?u=803997...
https://www.steppeschool.com
This video shows how to install DSP CMSIS library and use FIR filter function of the library
FIR filter initialization function:
arm_fir_init_f32(&fir_instance, FIR_LENGTH, fir_coefficients, fir_state, 1);
FIR filter:
arm_fir_f32(&fir_instance, &fir_in_arm, &fir_out_arm, 1);
Please check the website to get more detailed insights about programming STM32 microcontrollers:
https://www.steppeschool.com/
FIR filter from scratch:
• Filter Design in MATLAB and STM32 rea...
The board I am using (NUCLEO-L476RG):
https://www.st.com/en/evaluation-tool...
Accelerometer (ADXL335):
https://www.analog.com/en/products/ad...
ADC configuration:
• STM32 ADC easy implementation
Timeline graph:
• STM32CubeIde: plotting data using SWV.
Timer update interrupt:
• STM32 HAL: Timer Update Interrupt
0:00 Introduction
0:30 Installing DSP CMSIS library
3:56 Explaining the parameters of the FIR FILTER
7:49 Initializing the filter and applying it to raw data
9:25 Checking the results of the low-pass FIR filter