Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-11-30 Thread lariviere . c
On Wednesday, 30 September 2015 21:55:42 UTC-4, rka...@gmail.com wrote: > > I am using the ehrpwm2A PWM on P8_19. Usage of this requires the following > device tree overlay (BB-PWM2-00A0.dts): > > > /dts-v1/; > > /plugin/; > > > /{ > > compatible = "ti,beaglebone", "ti,beaglebone-black"; > > par

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-11-23 Thread Erik Stauber
Hi, I've followed you procedure fairly carefully, and everything seems to work fine, except I can't get a signal on an oscilloscope. I've had this working fine in the old 3.8 kernel, and am trying to get the pwms working in the latest 4.1.13-bone16 kernel. Have you verified it actually works

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-10-26 Thread rkault
Chris, This is a custom overlay that I created based on other overlays. I have not tested this *exact* overlay, since it is extracted from the larger overlay that matches my additional hardware (about 20 discrete inputs and 2 quadrature encoders). In the end, I think the standard overlays wor

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-10-23 Thread lariviere . c
Can you confirm that this works? I had this loaded before but there was no solution to be found. Is this overlay a custom overlay you made or something you found from someone else? I don't believe this overlay is provided with the actual BeagleBone. By the way, what OS are you running with kerne

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-10-01 Thread Kevin Ault
I think there are only three PWM units (ehrpwm0, ehrpwm1, and ehrpwm2), but two of them have an A and a B. I didn't dig too far, but I suspect there are some constraints on how the A and B can be used, such as maybe they have to both be at the same frequency, but they could have different duty cyc

[beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-10-01 Thread Khanh Nguyen
Hey Kevin, Thanks for the guide on enabling PWM on kernel 4.1. I'm a little confused with PWM now though,...Based on the values that you provide, are you saying that, there are only 3 PWM's on the Beagleboard? I thought there were more than that or maybe I was wrong. The 2nd question would be

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-09-30 Thread Kevin Ault
I am using the ehrpwm2A PWM on P8_19. Usage of this requires the following device tree overlay (BB-PWM2-00A0.dts): /dts-v1/; /plugin/; /{ compatible = "ti,beaglebone", "ti,beaglebone-black"; part-number = "BB-PWM2"; version = "00A0"; fragment@0 { target = <&am33xx_pinmux>; __overlay__ {

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-09-30 Thread Kevin Ault
I have the PWM working perfectly on the 4.1 kernel, and I am planning to post the solution to this thread within a few days. On Wed, Sep 30, 2015 at 12:36 AM, Khanh Nguyen wrote: > No, I haven't been able to get kernel 4.1 and PWM working. I haven't > looked at the link you included either. I'll

Re: [beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-09-29 Thread Khanh Nguyen
No, I haven't been able to get kernel 4.1 and PWM working. I haven't looked at the link you included either. I'll definitely take a look over the weekend. Hey, can you send me the link to this post on google group? I can't seem to find my post... Thanks, Khanh On Sun, Sep 27, 2015 at 4:08 PM, wr

[beagleboard] Re: Beaglebone Black Kernel 4.1 PWM and OCP?

2015-09-28 Thread rkault
Khanh, Have you got the PWMs working yet? This documentation (http://processors.wiki.ti.com/index.php/Linux_Core_PWM_User's_Guide) most closely matches what I am seeing under the 4.1 kernel, but I had to fall back on these same old overlays to even see the PWMs. Seem to able to export, conf