AnsweredAssumed Answered

STM32F103 ADC

Question asked by Nayani.Partha on Nov 20, 2014
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.

Outcomes