2013-07-19 04:16 AM
I am trying to use the ADC to convert continuously, but I am getting only one conversion each time I start the ADC ???
I am trying to use the ADC in 'analog watchdog' mode, monitoring a single regular channel (channel 9). CR1=0x00800249, CR2=0x00000003 The CR2.CONT bit is set, but I only seem to get one conversion (DR, SR updated) each time I set CR2.SWSTART Any suggestions where I'm going wrong ?2013-07-24 06:02 AM
Now fixed. The following line was missing:
ADC_CommonInitStruct.ADC_TwoSamplingDelay = ADC_TwoSamplingDelay_5Cycles;