Unusual SAR DMA Results | Cypress Semiconductor
Unusual SAR DMA Results
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.