- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need use the DFB, but the DFB datasheet write "Only one filter component should be placed in a design. There is nothing to prevent placing two components but the design will not build and work correctly"
my question is I need use more filter about 10.
I don't know the software can allow me to do " Put 10 DFB and use mux to switch everyone DFB"
hey let's think together (Actually I'm anxious.....haha)
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you looking for 10 different filter setups, or 10 different signals that might be running thru a similar filter configuration?
Thanks,
Bobby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, i'm looking for 10 different filter setups. because my input is audio, so i want to show the 10 band like the players show.
but the DFB in the PSoC3 is only 2 channel !! right?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) There is only one DFB block inside PSoC3/5 which can be used to implement one or multiple filters.
2)The DFB block has two 24 bit channels - i.e. two 24 bit staging and holding registers [ Architecture targeted for stereo streaming applications]along with two set of RAMs - RAM A and RAM B each of 24bit *128(depth) .
3) The number of filters that can be implemented using DFB depends on your filter characteristics like type of filter , roll off etc.It is basically limited by the amount of RAM available to store the Filter coefficients and state variables. For eg. in IIR filters - TypeII - each biquad requires 5 RAM locations for storing filter coefficients and 2 RAM locations for storing the state variables. So the total memory requirement is 5*N+2(overhead for storing scaling factors) for storing coefficients and 2*N for storing state variables. Suppose we store filter coefficients in RAM A and state variables in RAM B , the number of biquads that can be implemented using DFB is limited by the coefficient RAM(RAM A = 128 *24bit). Hence the maximum number of biquads that can be implemented using this architecture is 25((25*5+2)<128)
4) Currently we have only one Filter component in PSoC creator which can support the design of only FIR filters with a maximum of 128 filter taps. This FIR filter component supports two channels and upto 4 cascaded filters in a single channel.
5) If you want more filters you might want to go for some custom IIR filter implementations , but this requires some custom components and assembly coding , which is not yet supported in PSoC creator.
Hope you have got your doubts clarified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks guys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm reviving this thread, since I'm trying to implement more than two filters and would like to use the DFB resources. I understand that it is possible to do it, but I'm not quite seeing the path forward. Is there an example that shows the DFB filtering more than two data streams? It would be extremely helpful. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Youc an build, using the DFB assembler, a number of filters. Take a
look at this - http://www.cypress.com/?rID=60720 This gives you
MAC + accumulator, core of any digital filter.
Clearly this would be from ground up, you could use filter wizard to get coefficient values,
IIR probably right approach, and then calc the thruput to get to the # of filters you could imp-
lement.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can also find some interesting projects using DFB in the following link:
http://www.cypress.com/?app=forum&id=2232&rID=41747&action=reply&CFID=2188518&CFTOKEN=11840181
You can use this as a reference to proceed forward with your projects.
Regards,
Asha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Asha
Probably a wrong link...
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content