On Fri, Feb 16, 2018 at 11:07 AM, Co M <[email protected]> wrote: > Hi, (2018 Feb 16) > I went to many posts, but they look outdated from 1025 and beyond. > I am trying to enable the PWM on pin 14 and 16, EHRPWM1A P9.14 and EHRPWM1B > P9.16 > My system details are: > > BeagleBoard.org Debian Image 2018-01-28 > Linux beaglebone 4.9.78-ti-r94 #1 SMP PREEMPT Fri Jan 26 21:26:24 UTC 2018 > armv7l GNU/Li > > The 2 dts's were compiled after they were generated using: > http://www.kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator
Well, "2018-01-28" support pwm's out of the box, so you don't have to do all that extra work: Just pick your pin and run the correct option: config-pin P8_13 pwm config-pin P8_19 pwm config-pin P8_34 pwm config-pin P8_36 pwm config-pin P8_45 pwm config-pin P8_46 pwm config-pin P9_14 pwm config-pin P9_16 pwm config-pin P9_21 pwm config-pin P9_22 pwm config-pin P9_28 pwm config-pin P9_29 pwm config-pin P9_31 pwm config-pin P9_42 pwm Then go under /syc/class/pwm/ and enable/etc.. If they don't work, just run: sudo /opt/scripts/tools/version.sh and share it's output with us to help you fix what's broken.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYjFzhh%3DtqU_k9X-QzK1m%3Dhv_7XWKfqQfzF1RLR%3D74i3Qw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
