Question regarding RTC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

Hi,

With WICED_ENABLE_MCU_RTC, I would expect after setting RTC time and reboot

then I can still get correct rtc time.

However, I found platform_rtc_init will always setting the rtc time to default_rtc_time during boot.

As a result, everytime reboot the device, the rtc time is wrong.

Note, all support platforms has such behavior - always setting the rtc time to default_rtc_time during boot.

Can someone explain this?

16 Replies