Part Number:AM5728
Tool/software: TI-RTOS
my board is EVMam5728 ,CCS is v6.13 ,SDK is 1_0_4
now I use the "seconds"just following the help :
Usage example with run-time support library:
#include <ti/sysbios/hal/Seconds.h> #include <time.h> time_t t; struct tm *ltm; char *curTime; Seconds_set(STARTTIME); t = time(NULL); ltm = localtime(&t); curTime = asctime(ltm); System_printf("Time(GMT): %s\n", curTime);
and I can get the time,but it will faster about 2s than the real time.
Why I ? What should I do to fix it?