Unstable PWM / Jittery Servo control Pi 3

I'm using a Pi3 and the rpi-GPIO node to control a servo. The servo is connected to pin 12 (GPIO 18/PWM0) The output doesn't seem to be stable, the servo moves but jitters when it should be still, suggesting that the PWM is being generated in software, not hardware.

Can anyone suggest how I can tell if the hardware PWM is being used? Or anything else that may enable to to trouble shoot this?

if using the standard gpio node then no it is not very stable... If you use the pigpiod node instead is it a lot more stable (as the timing is generated in a separate process.)

1 Like