Skip to main content
Rashad Shubita
Associate III
Nov 14, 2020 6:02 PM UTC
Solved

IIR filter on stm32f4dicovery board with MATLAB[Solved]

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.
Rashad Shubita
Rashad ShubitaBest answer
Associate III
Nov 17, 2020 2:10 PM UTC

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
Nov 14, 2020 11:42 PM UTC

[Solved]

ST Technical Moderator
Nov 17, 2020 1:36 PM UTC

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
Nov 17, 2020 2:10 PM UTC

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
Nov 19, 2020 9:59 AM UTC

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

Rashad Shubita
Associate III
Nov 19, 2020 12:37 PM UTC

Yes you are right!