- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found following code in forums
It's a code for filtering process
can any body explaing any line of this code?
I want to give input from psoc5lp's input pin to DFB but I think in this code inputs are fixed in data ramA
I attached the code
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot feed the filter directly from a pin, since it is a digital filter block (DFB). You first have to digitize your analog signal using a Delta-Sigma ADC or an SAR, depending on speed and resolution. Then you feed the converted values into your filter which is done preferrably using DMA. There are some examples covering this topic, here is an AppNote www.cypress.com/.
You do not need to use the DFB since that has to be programmed in a special assembler, but when you use the "Filter" component you mya specify the filter characteristics in the wizard and all will run fine.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried using filter component but this block couldn't help me because my algorithm needs more than 1 filter processing step and I need to more than 1 componenet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You probably already know that it is possible to define several filter stages with different filter types for each channel.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Start at ground zero by posting your requirements -
1) Filters, how many ?
2) Filter type, BP, LP, AP, HP, Notch.....?
3) Filter characteristics, passband, stop band, rejection, ripple....?
The DFB Assembler can facilitate > 2 filters, but that still depends on the answers above.
http://www.cypress.com/?rID=60720 DFB Assembler, MAC Topics
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content