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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello Everybody,

   

I am programming an IIR Filter and following the cypress application note AN2099 (PSoC® 1, PSoC 3, PSoC 4, and PSoC 5LP - Single-Pole Infinite Impulse Response (IIR) Filters).

   

I dont know how efficient it would be. Can any body guide me regarding this?

   

My Specs are:  My cut off frequency is 2Khz.

   

and sampling frequency is 24KSPS.

   

My attenuation factor would be i think 1.9 so i selected 134/256 (based on the formula given and recomendation).

   

Looking forward for your reply.

   

 

   

Best Regards

   

Awais

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

As stated in the document, the attenuation factor does not need to be done using shifts and adds when using a PSoC5. There is a fast multiplier within the M3 CPU that will reduce execution time.

   

The programming of a project like yours is done easily, so best will be to start and confirm for yourself "how efficient it would be".

   

Whatever your criteria for efficiency are.

   

At 24ksps CPU time gets tight, so running the PSoC at highest frequency and setting compile options to "Speed" will be needed.

   

 

   

Bob

View solution in original post

0 Likes
7 Replies