cancel
Showing results for 
Search instead for 
Did you mean: 

IIR filter on stm32f4dicovery board with MATLAB[Solved]

Rashad Shubita
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Rashad Shubita
Associate III

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 

View solution in original post

5 REPLIES 5
Rashad Shubita
Associate III

[Solved]

Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Rashad Shubita
Associate III

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 III

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

Yes you are right!