cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F412RG: How to wake up from deep sleep mode of Cortex-M4?

Hi, everyone.

I am quite new to embedded system development and am now composing functions to wake up Cortex-M4 with STM32F412RG embedded on Arduino using timers after making Cortex-M4 deep sleep mode.

In realising the functionality above, peripheral clocks (maybe RTC?) should be operated by some sources, since deep sleep mode turns off the CPU clock and the system clock while sleep mode just halts the CPU clock.

Do you have any suggestion on how to implement functions for peripheral clocks for Interrupt Service Routine which interrupts sleeping modes?

The interruption can be both of timer and external input.

0 REPLIES 0