2025-06-09 4:57 AM
Hello,
I have found various guides on how to configure the RTC as wakeup-source. However, they do not seem to apply to the C0 family.
In the CubeIDE I cannot find the depicted settings on RTC, (most notably, no option to select internal wakeup and configure wakeup counter and clock)
Is this not implemented on the C0 family?
I just want my MCU to wake up from sleep mode every x milliseconds. What else can I do to implement this on a C011?
Thanks
Lucas
2025-06-09 6:26 AM - edited 2025-06-09 6:29 AM
You can set a periodic RTC alarm to exit sleep mode or stop mode. For standby mode, you may use IWDG for periodic self-wakeup if the standfby period is reasonably small. Examples are in my C0 repository and register level guide: FrankBau/stm32c0
hth
KnarfB