I am trying to configure 8 pins to PWM in order to run 8 motors, and I am having issues finding how to change the “mode” of the reconfigurable pins, such as P9_29 and 31.
config-pin P9.31 pwm
ERROR: open() for /sys/devices/platform/ocp/ocp:P9_31_pinmux/state failed, No such file or directory
I assume this is because these pins are in the wrong “mode”, as thus cannot be configured to PWM yet, but I have not been able to find clear instructions as to how to change the mode of the pins in order to allow config-pin to work. I am able to successfully spin up those motors with a PWM signal being sent through the pins that are non-reconfigurable PWM, like P9_14 and P9_42.
Here is the image I am running:
Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 2020 armv7l GNU/Linux
Any help is highly appreciated!