Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
3 years ago.
How to discard the samples equivalent to group delay in CMSIS FIR Filter output?
I'am implementing CMSIS DSP Bandpass filter for my real time application. My issue is that I'am getting the filter output with a group delay.
I'am using below CMSIS DSP functions to filter the input data.
arm_fir_init_f32(&S, NUM_TAPS, (float32_t *)&firCoeffs32, &firStateF32, blockSize); arm_fir_f32(&S, inputF32 + (i * blockSize), outputF32 + (i * blockSize), blockSize);
My sampling rate is 256Hz No. of filter taps - 39 Input samples length - 288 Output samples length - 288
How should I discard the corrupted samples?