Skip to main content
Visitor II
April 12, 2024
Question

How to configure FIR filter in FFT USING NUCLEO-H745ZI

  • April 12, 2024
  • 2 replies
  • 1808 views

Hello Team,

I'm trying to configure FIR filter in FFT in one point I am getting grab data every time in every call back collecting 1024 data and process to arm_fir_f32(); Function, is there any code related to this FIR filter in FFT.

PFA code and sin wave generated.

Best Regards,
Gagan Gowda

 

 

    This topic has been closed for replies.

    2 replies

    Super User
    April 12, 2024

    Hi,

    >is there any code related to this FIR filter

    If you write it - yes. :)

    +

    What code you expect ? the filter coefficients ?

     

    ggowd.1Author
    Visitor II
    April 12, 2024

    Hi   AScha.3,

    I have watched video in YouTube related to fir filter followed same steps i will attach the code below,

    I have generated co-efficient up to 0 to 1khz and 32db sampling frequency 4096hz as low pass filter is any code related to this, please help me out.

    Best Regards,

    Gagan Gowda

     

    Technical Moderator
    April 12, 2024

    Hello @ggowd.1 ,

    Please have a look at the X-CUBE-DSPDEMO firmware package which demonstrates the usage of DSP library provided within the CMSIS.

    You can get inspired from this package as it includes an FFT example and an FIR example to show a full integration with the STM32 families using its peripherals.