Skip to main content
Rashad Shubita
Associate III
November 14, 2020
Solved

IIR filter on stm32f4dicovery board with MATLAB[Solved]

  • November 14, 2020
  • 5 replies
  • 3553 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 

5 replies

Rashad Shubita
Associate III
November 14, 2020

[Solved]

ST 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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Rashad Shubita
Rashad ShubitaAuthorBest answer
Associate III
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 

gregstm
Senior II
November 19, 2020

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

Rashad Shubita
Associate III
November 19, 2020

Yes you are right!