Hi,
I am using CC2640, BLE stack 2.2.1, TIRTOS 2.13.00.06, CCS6.1.2.
In my SimpleBLEPeripheral .cfg file, I have the tick period set to 10 us.
When I try:
time1 = Clock_getTicks();
Task_sleep(10);
time2 = Clock_getTicks();
System_printf("\nTime difference = %lu", (ULong) (time2-time1));
System_flush();
I see the time difference being printed out is 18 or 19. Does this mean the delay
is 180 us or 190 us?
If I needed a more exact delay, what is the best way to set it?
Thanks,
Priya