1 Reply Latest reply on Dec 16, 2015 3:51 AM by bmah

    How i can process data (4 channel data stored in variables in C) through Low pass filter?

    user_504416177

      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