WS2812B Emteria with Raspberry PI 4 How-to?

I need to manage the WS2812B address tape with Raspberry PI 4.
When controlled via
/sys/class/gpio/gpio13/direction
/sys/class/gpio/export
/sys/class/gpio/gpio13/value

There is not enough frequency. The minimum pulse duration is 50 milliseconds, to supply control to the address tape, a duration of 350 nanoseconds and 900 nanoseconds is needed, respectively, for 0 and 1.

These commands show that the PWM is not enabled:
cat /sys/kernel/debug/pwm
ls /sys/class/pwm/

To do this, pin 13 is used as a PWM, described in the device tree.

Tell me how to enable PWM for 13 pins in Emerita, Advanced license?

Comments

Sign In or Register to comment.