Problems with Filter Design Tool

Beta Testing discussion on mikroC PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
riclerici
Posts: 10
Joined: 18 Oct 2010 11:20

Problems with Filter Design Tool

#1 Post by riclerici » 19 Jan 2011 17:39

Hello all: I'm trying to design basic filters with Filter Design Tool, and have the following difficulties:

Low pass IIR, 2d order Butterworth, 40db: changing the cutoff freq do not change the coefficients.
The filter Frequency graph shows the same as with the previous values, and the filter cuts at the same freq in hardware.

High pass IIR, 2d order Butterworth, 40db: created coefficients B exceeds the buffer size in 1 byte. Compiler issues "too many initializers". The freq graph is OK.
I've tried to change the line to COEFF_B[FILTER_ORDER+2], compiler finished OK but the filter dosn´t work in hardware.

Please, I need some guide to continue.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Problems with Filter Design Tool

#2 Post by filip » 26 Jan 2011 16:28

Hi,

I believe I have answered you here :
http://www.mikroe.com/forum/viewtopic.p ... 0&p=140876

Regards,
Filip

Post Reply

Return to “mikroC PRO for dsPIC30/33 and PIC24 Beta Testing”