DFB assembler

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

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

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Anonymous
Not applicable

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

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

You probably already know that it is possible to define several filter stages with different filter types for each channel.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
        
   
        
   

I attached algorithm that I want to implement

   

The h filters are highpass and g filters are lowpass

   

I have to use DFB assembler and I want to know who programmed the filter compnent in psoc, certainly he can help me

   

0 Likes