Is the sysfs pwm interface using hardware pwm?
问题 I followed this answer to enable PWM on my Beaglebone Black, but I wasn't sure if that method is using the PRU to do hardware PWM or if it's toggling the pin in software? I see other references to /sys/class/pwm/ehrpwm (e.g. here) which I'm more confident is hardware PWM, but I'm not sure how to enable that interface. To summarize how I'm enabling PWM: echo am33xx_pwm > /sys/devices/bone_capemgr.9/slots echo cape-universal > /sys/devices/bone_capemgr.9/slots config-pin P8.13 pwm echo 6 > /sys