Skip to main content
Visitor II
November 14, 2020
Solved

IIR filter on stm32f4dicovery board with MATLAB[Solved]

  • November 14, 2020
  • 4 replies
  • 2554 views

Hi all,

I am developing an IIR filter with CMSIS-DSP but it gives wrong output data mostly (inf) , even that the data is correctly acquired, I test FFT and it's work great!

Any help will be appreciated.

Thanks in advance.

0693W000005BPLfQAO.png0693W000005BPLkQAO.png0693W000005BPLzQAO.png0693W000005BPM4QAO.png

    This topic has been closed for replies.
    Best answer by Rashad Shubita

    HI @Imen DAHMEN​ 

    I just flip a1 and a2 coefficients sign, just as simple as that! Actually, it took a lot of my time:grinning_face_with_sweat: hope to save other people time 

    The same thing in MATLAB and lowa Hills IIR filter designer tool.

    0693W000005Bg0KQAS.png 

    4 replies

    Visitor II
    November 14, 2020

    [Solved]

    Technical Moderator
    November 17, 2020

    Hello @Rashad Shubita​ ,

    It will be more interesting to let us know how you resolved this issue. It may be helpful for other Community users.

      

    Imen

    Rashad ShubitaAuthorAnswer
    Visitor II
    November 17, 2020

    HI @Imen DAHMEN​ 

    I just flip a1 and a2 coefficients sign, just as simple as that! Actually, it took a lot of my time:grinning_face_with_sweat: hope to save other people time 

    The same thing in MATLAB and lowa Hills IIR filter designer tool.

    0693W000005Bg0KQAS.png 

    Graduate
    November 19, 2020

    Yes. it's always the simple things that will get you (but still take a long time to solve)

    Visitor II
    November 19, 2020

    Yes you are right!