I am working on a package (library) to use hardware generated PWM from Golang (Go). The package is basically a wrapper around the Linux sysfs PWM interface. What I have found and worked with was this documentation: https://www.kernel.org/doc/Documentation/pwm.txt
Question: Is there any other documentation, especially for Pi 4 and Pi 5?
Background: I found different limits concerning the usage of the sysfs PWM interface. On a Pi 5 (with bookworm) the smallest value, which can be set through the interface, for 'period' is the value '1'. And the smallest value on a Pi 4 (with bookworm) is '15'. Sound 'academic' but should be documented somewhere.
Question: Is there any other documentation, especially for Pi 4 and Pi 5?
Background: I found different limits concerning the usage of the sysfs PWM interface. On a Pi 5 (with bookworm) the smallest value, which can be set through the interface, for 'period' is the value '1'. And the smallest value on a Pi 4 (with bookworm) is '15'. Sound 'academic' but should be documented somewhere.
Statistics: Posted by toc-rox — Wed Jan 24, 2024 5:07 am