Are there any document discribes how long the function of TSK_sleep(1) delays the task?
Thank you for your replying!
Best regards,
GangLing
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.
Are there any document discribes how long the function of TSK_sleep(1) delays the task?
Thank you for your replying!
Best regards,
GangLing
Hi GangLing,
Take a look in the BIOS API reference doc (CCS->Help->Help Contents->DSP/BIOS->API Reference.
Please note the following
"The actual time delayed can be up to 1 system clock tick less than timeout due to granularity in system timekeeping"
For example, let's assume the system tick is 1ms. If you call TSK_sleep(1) and the system tick occurs 5 microseconds later, your sleeping task will start to run (assuming there are no other tasks of equal or higher priority running).
Todd