Tool/software: TI-RTOS
I am trying to delay a waveform in TI-RTOS based on DSP calculations. Because the configuration file does not support logic-based delays, I am attempting to "sensorStop" the device, wait a prescribed period of time, and "sensorStart" the device to effectively delay the waveform without rewriting the configuration totally. I have found functions such as Task_sleep(), high frequency clocks such as the HSI and LVDS clocks, but I am unsure what would be the simplest to implement if I wanted nanosecond-level timing accuracy. Which function or clock do you suggest I use to achieve the purpose of this small delay?