Based on the BLE-CC254x-1.4.0 SimpleBLEPeripheral application:
a. Config xPOWR_SAVING
b. Config xCC2540_MINIDK
c. Use osal_getClock() to get the RTC time
As a result:
a. Tested on CC2540, the clock looses about one second a minute or one minute a hour
b. Tested on CC2541, the clock is accurate
Is CC2540 different with CC2541 on the RTC part? Any solution? Thanks!