Tool/software: TI-RTOS
I am using AM572x evm and running TI RTOS in Cortex M4.
We need a blocking microsecond wait function and we want to achieve the microsecond wait for around 10 microseconds with accuracy + 1 or 2 microseconds.
we have referred the following links and used the example code.
https://e2e.ti.com/support/embedded/tirtos/f/355/t/413946
https://e2e.ti.com/support/embedded/tirtos/f/355/t/464329
But the API Task_disable() [to disable TASKS so we cant's get preempted by a higher TASK]
and Task_restore(task_restore_key) [for restore TASK's to their Previous state]
itself take 60 microseconds.
Please let me know in which way i can achieve microsecond wait function.