One of my customer wants to use Task_Delay function at the sub millisecond level. They want to do this without configuring the clk_tick in the cfg to a sub millisecond level.
Any inputs here will be appreciated.
BIOS has a Task_sleep() which is based on the Clock tick. Obviously if your Clock tick is 1 ms or greater, you cannot have a sleep that is less than a Clock tick.
There is no API called Task_delay() that I am aware of. What's the motivation for having a small delay?
One way I can think of to achieve this sub millisecond delay is to have a second timer programmed as a one shot timer with a small period...for example 100microseconds. This timer should post a semaphore which the task is going to pend on. The task should start the timer before it does a semaphore_pend.
If my reply answers your question please mark the thread as answered
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.