2014-11-19 08:24 PM
Hi all,
We are taking 8 channels ADC readings by using DMA. Enabled the DMA interrupt and in this interrupt, we are adding the each of the channels, starting one more conversion and if number of interrupts are 16, taking average. In addition the DMA, there are other GPIO interrupts enabled (5 totally). ADC readings (analog voltages) are stable as long as GPIO interrupts do not occur. We noticed sudden changes in the ADC readings (once every 5 or 6 times) when GPIO interrupts occur. GPIO interrupts occur at about 3.5 mSec. What could be the problem? Is DMA interrupt transfer getting disturbed? I can post the entire initialization and interrupt code if required. Await your replies. Thank you. #adc-dma-interrupt