Skip to main content
Visitor II
December 8, 2025
Question

RTC issue when time goes from 23:59:59 to 00:00:00

  • December 8, 2025
  • 3 replies
  • 116 views

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?

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    December 8, 2025

    Hello @parthkumar_patel 

    Could you please share your code.

    Did you measure the toggle time with oscilloscope ? 

    Super User
    December 8, 2025

    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.

    Super User
    December 8, 2025

    Welcome to the forum.

    As others have said, you need to provide more information.

    Please see: 

    How to write your question to maximize your chances to find a solution