cancel
Showing results for 
Search instead for 
Did you mean: 

How does RTC compensate for daylight saving?

NNada.1
Associate II

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,

3 REPLIES 3
BarryWhit
Senior III

BarryWhit_0-1725089249756.png

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

- If someone's post helped resolve your issue, please thank them by clicking "Accept as Solution".
- Please post an update with details once you've solved your issue. Your experience may help others.
NNada.1
Associate II

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

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

- If someone's post helped resolve your issue, please thank them by clicking "Accept as Solution".
- Please post an update with details once you've solved your issue. Your experience may help others.