cancel
Showing results for 
Search instead for 
Did you mean: 

ADC on STM32L152rct6 to wake up from Sleep

prasad1
Associate II

What is the process to use the ADC on STM32L152rct6 to wake up the micro from Sleep?

3 REPLIES 3
TDK
Super User

An interrupt from the ADC will wake up the chip up from sleep.

TDK_0-1753453318304.png

 

If you feel a post has answered your question, please click "Accept as Solution".
prasad1
Associate II

can you give me any tutorial or sample code as my adc does not give stable reading as well

 

TDK
Super User

Here is one example that uses the ADC:

STM32CubeL1/Projects/NUCLEO-L152RE/Examples/ADC/ADC_Sequencer at master · STMicroelectronics/STM32CubeL1

If you feel a post has answered your question, please click "Accept as Solution".