Re(Corrected Subject) Enable EHRPWM2A/B on BeagleBone?

Hello Fellow Beagles :slight_smile:

I figured out the problem :slight_smile:

I was trying to access EHRPWM2 but only EHRPWM 0 and 1 are exposed in the sysfs.

By changing (
to also start timer0 and muxing like this:
echo 3 > /sys/kernel/debug/omap_mux/spi0_sclk
echo 3 > /sys/kernel/debug/omap_mux/spi0_d0

I was able to get EHRPWM0A/B to work on PIN21 and PIN22