cancel
Showing results for 
Search instead for 
Did you mean: 

RTC issue

Hello,

when my rtc time goes to 23:59:59 to 00:00:00 then my program while loop is slow 
ex. some led toggle with 500ms toggle time is incress X2 
so what is issue?

2 REPLIES 2
Saket_Om
ST Employee

Hello @parthkumar_patel 

Could you please share your code.

Did you measure the toggle time with oscilloscope ? 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
TDK
Super User

HAL_Delay doesn’t use RTC. The cause has the be something else in your code. You’ll need to share more to diagnose the issue. Look for an interrupt which may be executing then.

If you feel a post has answered your question, please click "Accept as Solution".