Part Number: CC2538
Other Parts Discussed in Thread: Z-STACK, SMARTRF06EBK
Hi,
I am setting the RTC as below
UTCSetTime = osal_mem_alloc(8); // Setting Real time // UTCSetTime->seconds = (char)0; UTCSetTime->minutes = (char)0; UTCSetTime->hour = (char)0; UTCSetTime->day = (char)1; UTCSetTime->month = (char)1; UTCSetTime->year = 2018; osal_setClock(osal_ConvertUTCSecs(UTCSetTime)); osalTimeUpdate(); osal_mem_free(UTCSetTime);
after some time I am doing read with osal_getClock();
Every time I am getting twicw the time incremented.
I mean If I read after 10 seconds RTC is returning 20 sec's, similarly if I read after 50 sec's RTC is returning 100 sec's, why this issue is happenning