I tried twice to implement my own overlay but I gave up because I had a significant lack of knowledge at this point.
Finally i used cape-universala (in which pwm works fine) and enabled uart2 and uart4 pins by using config-pin. Now it works! (hope nothing else has broken!) Thank you very much! one last question: pins enabled using config-pin command are enabled until reboot. how can i keep these pins after reboot? On Monday, November 7, 2016 at 11:19:47 PM UTC+2, Charles Steinkuehler wrote: > > On 11/7/2016 2:38 PM, Theodosis Ntegiannakis wrote: > > > > On Monday, November 7, 2016 at 3:29:07 PM UTC+2, Charles Steinkuehler > wrote: > > > > You have to set the pins to the proper pinmux values for UART and > PWM, > > not just load the overlay. > > > > How do you suggest i should enable all the pins needed? > > If i try to enable BB-PWM0,1,2 overlays pwm still doesn't work from > > Adafruit_BBIO library... > > Use the universal overlay. I created it specifically because it is > difficult or impossible to load several of the individual overlays for > various functions (like PWM and UART) because they conflict. > > ...or craft your own custom overlay with exactly what you want, but > that is a fairly high barrier to entry for most users. The universal > overlay allows selecting specific pin functions on a per-pin basis, > while enabling most of the commonly used special hardware features. > > -- > Charles Steinkuehler > [email protected] <javascript:> > -- 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/d62a9132-03b3-42b2-94bc-a2d90938fb74%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
