Skip to main content
Visitor II
August 31, 2024
Question

How does RTC compensate for daylight saving?

  • August 31, 2024
  • 2 replies
  • 1287 views

Hello All,

  I came across the daylight saving feature in RTC peripheral of STM32F401RE. I live in a country where there is no concept of daylight saving, hence this is new to me as well. As per the RM of STM32F401RE, there is a automatic daylight saving correction in RTC peripheral.

  1. How does the MCU correct the time for daylight saving ? My assumption is that it waits for specific date and there it would increment the current time. 

 Can anyone please provide more insights, about how is daylight saving feature working in STM32F401RE or some reference.

Thank you,

Regards,

    This topic has been closed for replies.

    2 replies

    Graduate II
    August 31, 2024

    BarryWhit_0-1725089249756.png

    It's the application's responsibility to explicitly enable and disable DST correction as needed. It is not automatic.

    NNada.1Author
    Visitor II
    September 5, 2024

    I am not sure if I got it right. If I develop a clock using stm32f4, for day light saving I can give user the control to increment or decrement the time? 

    There is nothing as such automatic correction taking place inside controller?

     

    Thank you

    Graduate II
    September 5, 2024

    > It's the application's responsibility to explicitly enable and disable DST correction as needed. It is not automatic.