CTS, RTS & DTR in hardware?
Does the console serial port have CTS, RTS & DTR pins on the GPIO connector?
Bill
- tedhale
- Posts: 114
- Joined: Thu Sep 20, 2012 4:52 pm
- Location: Williamsburg, VA, USA
- Contact: Website
Re: CTS, RTS & DTR in hardware?
No. It has only TX and RX.
If you need hardware handshaking, you will have to use a USB-Serial adapter.
If you need hardware handshaking, you will have to use a USB-Serial adapter.
- Ted B. Hale
http://raspberrypihobbyist.blogspot.com
http://raspberrypihobbyist.blogspot.com
Re: CTS, RTS & DTR in hardware?
You can configure CTS,RTS on GPIO30,31 (as alternate function 3). These signals are on the P5 header on a Rev2 board, but previously they were connected to the unused configuration resistors R3..R10 and would need some delicate soldering to access.
(RTS can also be configured on GPIO17, which is available on both boards, but GPIO16 is used for the status LED.)
DTR should be easy to implement in software.
(RTS can also be configured on GPIO17, which is available on both boards, but GPIO16 is used for the status LED.)
DTR should be easy to implement in software.
Re: CTS, RTS & DTR in hardware?
Anybody working on getting that going? What GPIO should I chose? Suggestions?
Check out our raspberry pi addons: https://www.bitwizard.nl/shop/
Re: CTS, RTS & DTR in hardware?
So I have an ST3232C, and I'm planning to hook it up as follows:
VCC <-- RED --> P1:02 ( 5V )
GND <-- BLK --> P1:06 ( GND )
TXD <-- BLU --> P1:08 ( GPIO14 )
RXD <-- YEL --> P1:10 ( GPIO15)
CTS <-- GRN --> P5:05 ( GPIO30 )
RTS <-- ORG --> P5:06 ( GPIO31 )
Does this seem essentially sane? Please be gentle, this is my first pi project
Cheers,
-dh.
VCC <-- RED --> P1:02 ( 5V )
GND <-- BLK --> P1:06 ( GND )
TXD <-- BLU --> P1:08 ( GPIO14 )
RXD <-- YEL --> P1:10 ( GPIO15)
CTS <-- GRN --> P5:05 ( GPIO30 )
RTS <-- ORG --> P5:06 ( GPIO31 )
Does this seem essentially sane? Please be gentle, this is my first pi project

Cheers,
-dh.
Re: CTS, RTS & DTR in hardware?
Yes, that sounds very "sane": Those are the proper pins. You don't get much choice for RXD and TXD, and similarly, the other options for CTS and RTS are not available on headers, so 30/31 is a good choice.
Oh, and by the way: I've modified the driver to provide software-DTR. I've chosen DTR on GPIO 18 on my setup.
The code is up on github, I've posted a pull request, but so far nobody has responded. https://github.com/rewolff/linux
We needed that to allow "avrdude" to reset the AVR processor on the raspduino. Works like a champ!
Oh, and by the way: I've modified the driver to provide software-DTR. I've chosen DTR on GPIO 18 on my setup.
The code is up on github, I've posted a pull request, but so far nobody has responded. https://github.com/rewolff/linux
We needed that to allow "avrdude" to reset the AVR processor on the raspduino. Works like a champ!
Check out our raspberry pi addons: https://www.bitwizard.nl/shop/
Re: CTS, RTS & DTR in hardware?
On Raspberry Pi model B+, there are GPIO 16 and 17 pins exposed at the GPIO pins which can be used as CTS and RTS respectively when switched to ALT3.