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.
Locked
radolf
 
Posts: 2
Joined: Sun Jun 08, 2014 9:07 pm

RTS pin not changing when using the BBIO UART library

Post by radolf »

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?

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: RTS pin not changing when using the BBIO UART library

Post by jwcooper »

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!

radolf
 
Posts: 2
Joined: Sun Jun 08, 2014 9:07 pm

Re: RTS pin not changing when using the BBIO UART library

Post by radolf »

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?

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: RTS pin not changing when using the BBIO UART library

Post by jwcooper »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”