Skip to main content
Senior
July 20, 2025
Solved

What is keeping me from enabling the RTC clock?

  • July 20, 2025
  • 2 replies
  • 412 views

I want to the RTC to my project, but something is preventing the RTC clock from being enabled and I can't figure out what it is. IOC file is attached.

Best answer by jlthompson

I seem to have fixed it myself. I reset the RCC configuration using the Reset Configuration button, enabled the RCC global interrupt, and changed to the Clock Configuration. I now got the pop-up dialog asking whether I wanted to allow clock issues to be resolved, which I did. I used the Resolve Clock Issue button and voila!, the RTC clock was enabled. SYSCLK was reduced to 32 MHz, but I might be able to live with that. After a successful test, I turned off the RCC global interrupt and the build continued to work.

Seems like a missed opportunity to inform the developer.

2 replies

mbarg.1
Senior III
July 21, 2025

I just created a new project from your .ioc and RTC is enabled !

 

mbarg1_0-1753083084710.png

Please mark as solved if you agree problem is solved.

Senior
July 21, 2025

Then why is it grayed out in the Clock Configuration view?

jlthompson_0-1753134950866.png

 

Senior
July 23, 2025

How can I fix my configuration so that the RTC clock is enabled without breaking my project?