Tool/software: TI-RTOS
Hi,
I have a project with a cc3235modsf and TI-RTOS. It's based on the http get example where I do everything in a single task.
I'm trying to drive a few GPIO to transmit data as fast as possible.
It basically goes like:
loop 1 loop 2 drive data output wait 2usec to have stable data drive clock output
At first it was super slow. I noticed that decreasing the tick period of TI-RTOS from 1ms to 100us did increase the performance a lot. I suppose that the call to usleep() exits the thread and it has to wait for the next tick to continue. Is my asumption correct?
The issue is that it's still not fast enough with a 100usec tick, and I suppose I cannot lower the tick period to what would be needed for max speed.
What would be the correct way to have all done as quickly as possible without having to wait on the tick?
Thanks,
Cédric