Problem with tuning Digital Filter 2.0

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi!

   

The Filter_SampleProject contains an example for the use of the Filter component. This project works properly. But if I try to change the parameters of the filter it doesn't work.

   

For example: I want to design a Band Pass Filter with band 0.7-0.9 kHz .

   

 

   

In the Filter_SampleProject I've changed parameters:

   

 

   

Sample Rate [ksps]: 22

   

Filter Stages: 1

   

Filter Gain: 3 dB

   

Fiter Class: FIR

   

Filter Tipe : Band pass

   

Window: Rectangular

   

Filter taps: 64

   

Centr: 0.8 kHz

   

Bandwith: 0.2 kHz

   

It doesn't work.

   

 

   

If I guess (but I'm not sure!) the problem is with the Filter coherency. In the Filter_SampleProject this paraneter is : Filter_COHER_REG = 0x55;

   

I've read Filter's Datasheet and Registers TRM but there are any information how to calculate Filter_COHER_REG.

   

Could you help me with this problem, please?

   
        
0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Hi,

   

it is always much easier for us when we can have a look at *all* your settings. Can you please upload the complete project here?

   

To do so:

   

Build -> Clean Project

   

File -> Create Workspace Bundle(minimal)

   

and then upload the generated .Zip-file here, we'll have a look at it.

   

Bob

View solution in original post

0 Likes
28 Replies