ehrpwm: Period value conflicts with channel

Hi guys!

I’m trying to configure all (6) EHRPWM channels but I’m having troubles setting period. I know that EHRPWMxA and EHRPWMxB must have the same period but when I have then enabled, then there is no possible way to change the period. Every attempt ends with dmesg:

ehrpwm 48302200.ehrpwm: Period value conflicts with channel 0

Is there any solution (without recompiling kernel)? I have Ubuntu 2013-09-27 (from http://elinux.org/BeagleBoardUbuntu#Flasher).

Thanks.

David

Hi David,

the simplest thing you could do is to rebuild the kernel driver using the patches as explained here.

http://saadahmad.ca/using-pwm-on-the-beaglebone-black/

I tried and it works as expected!