AnsweredAssumed Answered

RTC display wrong time on STM32L476RG

Question asked by paker earth on Jan 30, 2017
Latest reply on Jan 30, 2017 by waclawek.jan

Hi all:

 

I used the device as a data logger, wake up from shutdown mode if the nucleo RTC alarm goes off on 29 minute every hour.

But it seems  the system RTC display wrong time before the device enters shutdown mode.

So I use one I2C DS3231 RTC module as reference.

And the I2C RTC is the same.

 

Here are some snippet.

It looks fine at the beginning.

 

 

At the end

No matter system rtc or i2c rtc displayed the wrong time.

But another acquisition can start on the right time, display right time infomation.

 

 

 

Attachments are source file and log file.

Could someone tell me how to fix it?

Thank you all in advance. 

Attachments

Outcomes