This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Task Delay isn't accurate

Hi,

I am trying to Run my task Every 10ms , and when subscribing to a service(BLE) that suppose to notify every minute ,the notification appears after 58.6 seconds ,

For delaying my Task i am using  vTaskDelayUntil(&LastWakeTime, pdMS_TO_TICKS(10)) the variable LastWakeTime is been initialized with LastWakeTime  = xTaskGetTickCount()  , 

 Although i am seeing that the the task is running every 10 Ticks the clock seemed to be faster that expected .

Thanks a lot 

Ibrahim

Parents Reply Children
No Data
Related