cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 ADC

nps
Associate II
Posted on November 20, 2014 at 05:24

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
0 REPLIES 0