1 2 Previous Next 19 Replies Latest reply on Jul 27, 2014 2:05 PM by user_49271930

    Unusual SAR DMA Results

    ben.satkiewicz

      Hello,

         

      A while back I followed an example on how to set the DMA unit up to work with a SAR. What I am trying to do is to specify, with a constant, an N number of samples to capture from the SAR. When it is done capturing the samples, an interrupt fires, telling the main routine to write the results to the terminal. It is writing incorrect results to the terminal. I verified that my analog front end is working with a loop. It works flawlessly. The problem has something to do with the DMA configuration.

         

      Can someone assist me in tracking it down. The project is attached.

         

      Thanks,

         

      Ben

        1 2 Previous Next