Writing the time and are working fine.
while reading the time and date, year also changing like seconds from 1970 to whatever the value im giving in year variable.
If I am writing the year as 1970 and reading the time and date is fine the year is not changing in this case. But if i write other than 1970 it is starting to change.
I am attaching the screen recorded video and my project please provide solution as possible.
can I get example project for RTC with API interrupt and alarm interrupt.
There are some RTC demos:
BR, Daniel
Hi @subhani,
The result_buf struct must not be read before the Rtc_Ip_GetTimeDate() function is complete, becasue result_buf->year is reset to 1970 every time the function called. The driver then calculates the correct year.
Regards,
Daniel