AnsweredAssumed Answered

Beginner with ADC3_DMA, ADC3ConvertedValue constant

Question asked by bjarnason.jon on Jun 28, 2012
Latest reply on Jun 29, 2012 by fm
using gcc 4.5.2, st-util 4242, stm32f4discovery, ADC3_DMA peripheral examples from STM32F4-Discovery_FW_V1.1.0, ld file from TrueStudio, startup file from CMSIS. 

When I run the program in the debugger the ADC value does not change. 
If I connect PC2 to VDD then I get ADCConvertedValue=4089. 
It stays the same until I unplug the USB and start over, then it is 4092. 
If I connect PC2 to GND then ADCConvertedValue=0. 

In any case it does not change during the power cycle. 

(I don't know if this matters, but while I am stepping through the code, it never enters an interrupt routine, it just stays in the main while loop copying the data from ADCValue to ADCVoltage.)

Please let me know if you have any ideas on how to get the ADCValues to update.