On 11/6/2016 4:46 PM, Theodosis Ntegiannakis wrote: > > With the above settings ADC and PWM works fine, but not UART... > Although /dev/ttyO2 and /dev/ttyO4 are present it doesn't work.
You have to set the pins to the proper pinmux values for UART and PWM, not just load the overlay. > I am having trouble understanding dts files in order to create my own overlay. > Also when i tried to run config-pin i get command not found You are running a non-standard distribution. The universal overlays are part of the BBB kernels, but the config-pin utility is probably not getting installed. Just grab it from github: https://github.com/cdsteinkuehler/beaglebone-universal-io ...or you can directly play with the sysfs entries created by the overlay. > and with sudo sh -c "echo 'BB-UART2' > > /sys/devices/platform/bone_capemgr/slots" > i get sh: echo: I/O-error This generally means the cape couldn't be loaded. You can sometimes find more detail at the end of dmesg output, but failures when trying to load capes are usually pretty cryptic. -- Charles Steinkuehler [email protected] -- 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/db971a2d-a086-ddc1-2d15-bbfd9958ff77%40steinkuehler.net. For more options, visit https://groups.google.com/d/optout.
