cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

Anonymous
Not applicable

 Is it possible to output the filter results between stages?

   

My previous analog approach:

   

Raw signal---->Gain Adj---->BPF---->Ideal Diode/R/C Envelope Detectector---->LPF----DC Restore---->Gain Adj---->Output

   

I want to use a rotary switch to display the signal at various points in the path.

   

I would like to use a Hilbert filter and coherent demodulator instead of the diode/RC envelope detector.

   

Is it possible to route signals in and out between the filter stages?

   

Thanks for any suggestions.

0 Likes
6 Replies
ETRO_SSN583
Esteemed Contributor

Yes, you could use DFB assembler to handle multistage with intermeadiate

   

results.

   

 

   

    

   

          http://www.cypress.com/?rID=60720

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 To simplify, I decided to use DFB channel A for single stage BPF, and channel B for Hilbert.

   

How to connect the output of A to the input of B?

   

Do I have to go through a VDAC/ADC pair?

0 Likes
Bob_Marlowe
Expert II

Easiest and fastest would be DMA.

   

Second solution, but CPU-intensitive is read from A result and write into B.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Bob:

   

um, newbie here.  🙂

   

ok, DMA, but how do I connect the output of A to the inut of B?

   

I opened one of the examples that has a filter and I'm using it as a starting point.

   

I see arrows pointing from the ADC to the DFB, and from the DFB to the DAC.

   

 

   

Also, can I make the schematic sheet larger or do I have to add pages?

0 Likes
ETRO_SSN583
Esteemed Contributor

Right click in page whitespace and pick "change template".

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Expert II

The DMA connection is made in code, the arrows are just an explaining drawing.

   

DMA is not easy to handle, there are some videos and appnotes you shuld search for.

   

 

   

Bob

0 Likes