cancel
Showing results for 
Search instead for 
Did you mean: 

What is keeping me from enabling the RTC clock?

jlthompson
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

6 REPLIES 6
mbarg.1
Senior III

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.

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

jlthompson_0-1753134950866.png

 

jlthompson
Associate III

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

Try with this project.

Mike

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.

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.