7 Replies Latest reply on May 2, 2016 6:32 AM by user_1377889

    How Can I transfer data stored in a variable to DAC?

    user_504416177

      Hello Everyone,

         

      I know the concept of data transfer via DMA. But i have still confusion, how i can transfer an 8 bit data to DAC if for example:

         

      1. I performed some calculation (e.g over sampling) on my ADC real data and save it into a variable X. So now, my data would be like this:

         

      ADC-Data = adc_Startconversion ();

         

      I know i can directly transfer data from ADC to DAC via DMA wizard.

         

      But, How i can send my Data stored in "X" to DAC? Through write command or is it possible to transfer it via dac?

         

      X = Oversampling (ADC-Data);

         

      Looking forward for your reply.

         

      Best Regards

         

      Awais