cancel
Showing results for 
Search instead for 
Did you mean: 

RTC as wakeup-source on C0 family

Panda
Associate II

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

1 REPLY 1
KnarfB
Super User

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