This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2538: RTC seems doubling the time

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