Hy there,
when porting an application from CC2540 to CC2650 I try to find a replacement for the OSAL function osal_getClock. Is there any implemented way to get the system time? Or do I need to implement my own time base?
Regards
Harald
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.
You should definitely not be manipulating the RTC as this is the clock used for the RTOS. I would recommend using the Clock_getTicks() function which should read from the RTC. This is documented in the SYS/BIOS API Documentation included with the RTOS install at ti->sysbois->knl->clock
file:///C:/ti/tirtos_simplelink_2_11_01_09/products/bios_6_41_02_41/docs/cdoc/index.html