I 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 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?I guess that functions in RTC libraries are available.
Thank you very much for the advise!I asked the question last week, and seemed more probable to get answers.