On Thu, Dec 3, 2015 at 6:30 AM, <
andrea...@hs-owl.de> wrote:
> Hi,
>
> I am trying to control a servo with my BeagleBoneBlack using Angstrom. I
> must have a high-level on a GPIO for 1 millisecond. I use the following
> simple code
It looks like you're trying to generate the servo PWM output in
software. This seems like a wrong way; you should use PWM hardware
units instead. There will always be some jitter from software context
switches, other OS activity and/or memory/cache/TLB latencies, and the
servo will be jerky.
Set up the PWM or PRU to generate your output. This way, software will
only be activated when you need to change the output values.