Skip to main content
meir2
Visitor II
March 14, 2014
Question

STM32L ADC+DMA with stop mode

  • March 14, 2014
  • 1 reply
  • 690 views
Posted on March 14, 2014 at 12:30

STM32L: working with ADC and DMA . Enter to stop mode when the system is not busy, every 1-2 seconds. When return from stop mode the ADC and DMA are not working. Now I initialize every time all the ADC channels and the DMA, I am looking for a better solution. 

Thanks for advice 
    This topic has been closed for replies.

    1 reply

    raptorhal2
    Lead
    March 16, 2014
    Posted on March 16, 2014 at 15:01

    Can't determine what you are doing by '' I initialize every time all the ADC channels''. On entering stop mode, disable the ADC then DMA. On return enable DMA then ADC.

    If that doesn't work, post your code.

    Cheers, Hal