Hi All,
For a specific use case I need to delay execution on the the order of
100 - 10000 us. The obvious choice would be usleep however I noticed
that depending on the platform I get something like 124-140 us instead
of 100 us delay. I have created an issue on github for this
https://github.com/apache/nuttx/issues/8207, but I think I understand by
now why usleep cannot achieve what I am looking for - at least in the
current implementation. I guess I need something along the lines of an
alarm with very short alarm periods.
I am using the tickless OS setting with 1 USEC_PER_TICK and ultimately I
want to control a stepper motor where I need to delay toggling of pins
for very short and accurate amounts of time to achieve a certain
movement profile of the motor - just for information, maybe I am
thinking in the wrong direction.
Thanks!
Max
- Short delay Max Kriegleder
-