- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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