Following instructions in https://wiki.luckfox.com/Luckfox-Pico/Core3566-SDK/, using docker image luckfoxtech/luckfox_pico:1.0
with the SDK mounted in the container in /home
.
See examples in test_programs folder.
Compiled binaries published in gitlab actions jobs.
Even if the unit is a nanosecond, apparently the minimum resolution of the provided firmware kernel (Linux luckfox 5.10.110) is 10ns:
It seems to have a jitter of ~5-10ns:
There are gaps up to ~70us on the PWM output when using small duty cycles (~10ns):
This does not seem to happen when increasing the duty cycle to >20ns.