cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L ADC+DMA with stop mode

meir2
Associate
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 
1 REPLY 1
raptorhal2
Lead
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