2025-07-20 10:14 AM
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.
Solved! Go to Solution.
2025-07-23 4:23 PM
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.
2025-07-21 12:33 AM
I just created a new project from your .ioc and RTC is enabled !
Please mark as solved if you agree problem is solved.
2025-07-21 2:56 PM
Then why is it grayed out in the Clock Configuration view?
2025-07-22 6:33 PM
How can I fix my configuration so that the RTC clock is enabled without breaking my project?
2025-07-23 8:26 AM
2025-07-23 2:15 PM
Your project opened just fine and I see that the RTC clock appears to be enabled. I still don't see how to fix my project, though. I'll try recreating the configuration, starting with the RTYC clock being enabled, then drop everything else in one item at a time and maybe discover what is conflicting. I might then be able to add my code to the project and see if that works.
2025-07-23 4:23 PM
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.