I have a Beaglebone Black running Ubuntu and have installed the IO python library for it.
I have enabled the UART1 overlay and can successfully send data over RX and TX, but the RTS pin remain high.
I also have tried using the GPIO library to control P9_19 (the RTs pin), and it still remains high even though I can control other pins.
Is there any step that I am forgetting in configuring the UART1 device tree overlay on the Beaglebone or is the library just not capable of controlling the RTS pin yet?
RTS pin not changing when using the BBIO UART library
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 2
- Joined: Sun Jun 08, 2014 9:07 pm
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: RTS pin not changing when using the BBIO UART library
Setting the RTS pin isn't supported in the library (by default, that I know of) at this time. You could update the overlay, compile, and install it with the RTS configured though.
This might be a good start:
http://stackoverflow.com/questions/2266 ... lack-uart1
The Adafruit_BBIO library uses the overlay found here:
https://github.com/adafruit/adafruit-be ... 1-00A0.dts
You can compile/install with this simple script:
https://github.com/adafruit/adafruit-be ... builder.py
Sorry this isn't more of a help!
This might be a good start:
http://stackoverflow.com/questions/2266 ... lack-uart1
The Adafruit_BBIO library uses the overlay found here:
https://github.com/adafruit/adafruit-be ... 1-00A0.dts
You can compile/install with this simple script:
https://github.com/adafruit/adafruit-be ... builder.py
Sorry this isn't more of a help!
-
- Posts: 2
- Joined: Sun Jun 08, 2014 9:07 pm
Re: RTS pin not changing when using the BBIO UART library
In the overlay, there are two fragments. Which do I put the rts-gpio = <&gpio0 13 0>?
Also, do I need to include the RTS pin in the exclusive-use section?
Also, do I need to include the RTS pin in the exclusive-use section?
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: RTS pin not changing when using the BBIO UART library
My best guess it right here (but not really sure without playing around with it...):
https://github.com/adafruit/adafruit-be ... A0.dts#L34
Also, for much more comprehensive answers (TI reads the following board), this might be more help:
https://groups.google.com/forum/#!categ ... bone-black
https://github.com/adafruit/adafruit-be ... A0.dts#L34
Also, for much more comprehensive answers (TI reads the following board), this might be more help:
https://groups.google.com/forum/#!categ ... bone-black
Please be positive and constructive with your questions and comments.