This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Filtering adc samples using FIR filter

Hi all,

I am interfacing a 16-bit ADC to my arm MCU and I want to filter out noise. I have performed the steps below using the ARM DSP library and I want to ensure that I am doing stuffs correctly so thanks in advance to correct me if I am wrong:

1. Get the adc samples in a Q15 buffer

1. Convert the adc samples from Q15 to float using "arm_q15_to_float"

2. filter the ADC samples using a fir filter (the filter uses float) using "arm_fir_f32"

3. Convert the adc samples from folat to Q15 using "arm_float_to_q15"

4. Output the samples on DAC (just to check that noise was filtered)

Do you have a comment or a suggestion for enhancement?

INSATien

0