Skip to main content
s__it
Associate III
July 19, 2013
Question

ADC - Continuous mode stops after one conversion

  • July 19, 2013
  • 1 reply
  • 759 views
Posted on July 19, 2013 at 13:16

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 ?
    This topic has been closed for replies.

    1 reply

    s__it
    s__itAuthor
    Associate III
    July 24, 2013
    Posted on July 24, 2013 at 15:02

    Now fixed. The following line was missing:

    ADC_CommonInitStruct.ADC_TwoSamplingDelay = ADC_TwoSamplingDelay_5Cycles;