Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > filters in Psoc 5

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



filters in Psoc 5
Moderator:
RKRM

Post Reply
Follow this topic



filters in Psoc 5

Srinath posted on 27 Dec 2011 1:10 AM PST
Top Contributor
34 Forum Posts

 is it possible to use the Digital Filter User module in psoc 5 more than once. I mean more than one filter per design .




Re: filters in Psoc 5

Bob Marlowe posted on 27 Dec 2011 01:30 AM PST
Top Contributor
1768 Forum Posts

I'm a bit unsure, but doesn't have the filter-block two independent channels? So we already have two filters.

Bob 



Re: filters in Psoc 5

Srinath posted on 27 Dec 2011 03:28 AM PST
Top Contributor
34 Forum Posts

Yes, but  we can always create our own components in PSoC Right....! All what am I saying is, If  cypress has already written the code for a digital  filter. Why can't we use the same for invoking the required number of filters if we have the required number of UDB's at our disposal. 

2. Or do we have to manually write code for a filter in verilog to implement it.

3. Can we change the cutoff frequency by some external means while the Digital filter is at work.



Re: filters in Psoc 5

Bob Marlowe posted on 27 Dec 2011 04:23 AM PST
Top Contributor
1768 Forum Posts

I'm afraid that will not work. If you look into the report-file of your project, there is a DFB (Digital Filter Block) and there is only one. This is where the Filter-component is made of.

To get more filters you have to use the "conventional" way, use op-amps and external components.

 

Bob



Re: filters in Psoc 5

Srinath posted on 27 Dec 2011 04:41 AM PST
Top Contributor
34 Forum Posts

 Thank you Bob. what about the cut off frequency of the filter block (DFB). Is there a way to change it by external or internal means.



Re: filters in Psoc 5

Bob Marlowe posted on 27 Dec 2011 05:29 AM PST
Top Contributor
1768 Forum Posts

I am a digital man, so I think, the only way to increase the upper frequency limit is to increase the clock to its allowed maximum (whatever that is).

Bob

 



Re: filters in Psoc 5

H L posted on 27 Dec 2011 03:05 PM PST
Top Contributor
679 Forum Posts

The frequency response the PSoC digital filter can be found in the digital filter specification.

For a digital filter the upper frequency limit acccording to Nyquist sampling theory is 1/2 of the sample rate.

 



Re: filters in Psoc 5

U2 posted on 28 Dec 2011 10:03 PM PST
Cypress Employee
589 Forum Posts

The filter block or the Digital Filter Block in PSoC3/PSoC5 is hardwrae block and it is not sunthesided in the UDB. It is like a microcontroller with its own set of assembly instructions and datapath. The DFB component available in PSoC Creator lets you create different filters, what the component does is it generates the code requires for implementing the filter that is designed in the GUI configuration wizard, assembles the same code and puts it in the appropraite place. There are 2 filter channels in the DFB component. Please go throught the component datsheet to understand the component better.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20