Re: [beagleboard] Use PWM and UART at the same time

2017-05-03 Thread Alexander . raab1
Theodosis, did you get it to work? I have a small test.sh file containing #!/bin/bash config-pin P9.11 uart I tried both, systemd and rc.local, but in both cases i get "P9_xx pinmux file not found". If I run the script after logging in everything works fine. Am Dienstag, 8. November 2016

Re: [beagleboard] Use PWM and UART at the same time

2016-11-08 Thread Theodosis Ntegiannakis
Thank you again! On Tuesday, November 8, 2016 at 1:25:21 AM UTC+2, William Hermans wrote: > > > > On Mon, Nov 7, 2016 at 3:56 PM, Theodosis Ntegiannakis < > tntegi...@gmail.com > wrote: > >> I tried twice to implement my own overlay but I gave up because I had a >> significant lack of knowledge

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread William Hermans
On Mon, Nov 7, 2016 at 3:56 PM, Theodosis Ntegiannakis < tntegianna...@gmail.com> wrote: > 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

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread Theodosis Ntegiannakis
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!

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread William Hermans
On Mon, Nov 7, 2016 at 2:18 PM, Charles Steinkuehler < char...@steinkuehler.net> 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

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread William Hermans
On Mon, Nov 7, 2016 at 1:39 PM, Theodosis Ntegiannakis < tntegianna...@gmail.com> wrote: > > > On Monday, November 7, 2016 at 9:19:58 PM UTC+2, William Hermans wrote: >> >> > and with sudo sh -c "echo 'BB-UART2' > /sys/devices/platform/bone_cap >>> emgr/slots" >>> > i get sh: echo: I/O-error >>>

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread William Hermans
So if this continues to be a problem for you. Once you unload a cape, you should instead just reboot. This is not ideal, but it's what we have right now . . . On Mon, Nov 7, 2016 at 2:18 PM, William Hermans wrote: > > > On Mon, Nov 7, 2016 at 1:39 PM, Theodosis Ntegiannakis <

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread Charles Steinkuehler
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

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread Theodosis Ntegiannakis
On Monday, November 7, 2016 at 9:19:58 PM UTC+2, William Hermans wrote: > > > 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

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread Theodosis Ntegiannakis
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

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread William Hermans
> > > 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

Re: [beagleboard] Use PWM and UART at the same time

2016-11-07 Thread Charles Steinkuehler
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

[beagleboard] Use PWM and UART at the same time

2016-11-06 Thread Theodosis Ntegiannakis
Hello, I am developing a ROS project and I am using Ubuntu 16.04.1 on Beaglebone Black with 4.4.23-ti-r51 kernel. I have a setup which uses the following pins: Analog: P9_40, P9_39, P9_38, P9_37, P9_36 PWM: P9_16, P8_13 UART2, UART4 , GPIO: P9_41 In /boot/uEnv.txt I only have the line