Hello Fellow Beagles
I figured out the problem
I was trying to access EHRPWM2 but only EHRPWM 0 and 1 are exposed in the sysfs.
By changing setPWMReg.py (http://www.gigamegablog.com/docs/setPWMReg.py)
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
/Jacob