Announcements
IMPORTANT: Cypress Developer Community currently doesn’t allow sign-in to prepare for the upcoming transition. To learn more, check out our announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

Anonymous
Not applicable

Hello Every One,

   

I have two channel data stored in variables (initialize in main.C) a shown below:

   

Channel 1 :

   

      /*Modulation performed between ninety shifted clock signal and adc output*/
        output1_zeroshifted= adc_output*zero_shiftedvalue;
        
        /*Modulation performed between zero shifted clock signal and adc output*/
        output1_ninetyshifted=adc_output*ninety_shiftedvalue;

   

Channel 2 :

   

      /*Modulation performed between ninety shifted clock signal and adc output*/
        output2_zeroshifted= adc_output*zero_shiftedvalue;
        
        /*Modulation performed between zero shifted clock signal and adc output*/
        output2_ninetyshifted=adc_output*ninety_shiftedvalue;

   

Now i want to pass each of these data through my digital filter but the problem is that, i can only use one filter block (due to psoc limit). The only way i can think of is to use a digital mux. But, then how i can write the software values into mux?

   

My Second idea is to write values in VDAC via DMA, i dont know if it is possible but if yes, then how i can do this?

   

If you have any other idea then please suggest me.

   

 

   

Looking forward for your sugestions.

   

 

   

Regards

   

makhan

0 Likes
1 Solution
Anonymous
Not applicable

Hi Makhan,

   

Yes, we have only one Filter Block- but it has two channels. You can feed the inputs to each channel separately.

   

We have separate pointers for STAGEA, STAGEB and HOLDA, HOLDB - A and B indicating the two channels.

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hi Makhan,

   

Yes, we have only one Filter Block- but it has two channels. You can feed the inputs to each channel separately.

   

We have separate pointers for STAGEA, STAGEB and HOLDA, HOLDB - A and B indicating the two channels.

View solution in original post

0 Likes