Tool/software: TI-RTOS
Dear TI Team,
Our use case:
Get the time elapsed from the time controller (CC2640R2) was powered up in seconds.
Implementation:
We have leveraged the onboard RTC module on CC2640R2 and using the
We are retrieving the seconds elapsed since the power up and periodically printing it on the terminal via UART.
Observation:
1. On different modules, the time elapsed is different after placing the modules for test for 72 hours with considerable offsets to expected time.
2. The offset is different on different modules.
#include <driverlib/aon_rtc.h> uint32_t Elapsed_seconds = (uint32_t)((AONRTCCurrent64BitValueGet() & 0xFFFFFFFF00000000) >> 32);
Below are my quesitons :
1. Is the above Implemented method safe?, i.e. for retrieving the time of RTC at Run time?
2. If not, what would be your proposal?
SDK : simplelink_cc2640r2_sdk_1_40_00_45
IAR : IAR ARM 8.11.2
Please let me know, if any additional info is needed?
Thanks!
Regards,
Abhi