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.
42Bastian Schick said:You should ask STM32 specific question in an STM32 forum
+1
If you're not sure what is "STM32 specific" and what is ARM's stuff, see:
https://community.arm.com/developer/tools-software/tools/f/keil-forum/43684/lpc2148-timer0-not-working-as-expected/158950#158950
42Bastian Schick said:Also search st.com for tutorials. You might find the solution there
Indeed - loads of stuff!
Apart from the Product Page for the STM32F412RG:
https://www.st.com/en/microcontrollers-microprocessors/stm32f412rg.html
loads of ST training stuff:
https://community.arm.com/developer/tools-software/tools/f/keil-forum/35918/not-able-to-see-variables-in-memory-window/109675#109675
Thank you so much for introducing these resources to me.
The guidance was so helpful for me, because I am just a beginner as an embedded system developer.