<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: USART Serial 3 activate RTS</title>
		<link>http://forums.leaflabs.com/topic.php?id=1909</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:25:59 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1909" rel="self" type="application/rss+xml" />

		<item>
			<title>paco_espinola on "USART Serial 3 activate RTS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1909#post-11305</link>
			<pubDate>Sun, 17 Jun 2012 17:01:04 +0000</pubDate>
			<dc:creator>paco_espinola</dc:creator>
			<guid isPermaLink="false">11305@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;That is working right now&#60;br /&#62;
adding:&#60;/p&#62;
&#60;p&#62;#define BOARD_USART3_RTS_PIN    33&#60;br /&#62;
#define BOARD_USART3_CTS_PIN    32
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paco_espinola on "USART Serial 3 activate RTS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1909#post-11304</link>
			<pubDate>Sun, 17 Jun 2012 13:42:25 +0000</pubDate>
			<dc:creator>paco_espinola</dc:creator>
			<guid isPermaLink="false">11304@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There is no definition for RTS_PIN or someting similar.&#60;br /&#62;
At maple.h there are:&#60;br /&#62;
#define BOARD_USART1_TX_PIN     7&#60;br /&#62;
#define BOARD_USART1_RX_PIN     8&#60;br /&#62;
#define BOARD_USART2_TX_PIN     1&#60;br /&#62;
#define BOARD_USART2_RX_PIN     0&#60;br /&#62;
#define BOARD_USART3_TX_PIN     29&#60;br /&#62;
#define BOARD_USART3_RX_PIN     30&#60;/p&#62;
&#60;p&#62;So I am going to add someting similar like&#60;br /&#62;
#define BOARD_USART3_RTS_PIN 33&#60;/p&#62;
&#60;p&#62;Do I change someting in USART3-&#38;gt;regs-&#38;gt;CR3 = (USART_CR3_CTSE &#124; USART_CR3_RTSE) ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "USART Serial 3 activate RTS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1909#post-11280</link>
			<pubDate>Thu, 14 Jun 2012 21:35:02 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">11280@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;To activate the RTS and CTS lines, you'll need to enable them in the hardware before using Serial3.begin(115200);&#60;br /&#62;
The enable bits are found in the CR3 register of the USART devices, and are already predefined for your use. Please ensure that the pinModes of CTS and RTS are set up for it to work. To enable RTS and CTS, use this code in start up:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;&#60;code&#62;pinMode(RTS_PIN, OUTPUT);&#60;br /&#62;
pinMode(CTS_PIN, INPUT);&#60;br /&#62;
USART3-&#38;gt;regs-&#38;gt;CR3 = (USART_CR3_CTSE &#124; USART_CR3_RTSE);&#60;br /&#62;
Serial3.begin(115200);&#60;/code&#62;&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Just a note, this code is untested, but I believe it should work. You will need to define the CTS and RTS pins or replace those in the pinMode lines.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paco_espinola on "USART Serial 3 activate RTS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1909#post-11278</link>
			<pubDate>Thu, 14 Jun 2012 19:24:39 +0000</pubDate>
			<dc:creator>paco_espinola</dc:creator>
			<guid isPermaLink="false">11278@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi.&#60;br /&#62;
I am trying to communicate the maple board with serial3. But the other device accept handshaking using cts rts (a sms/gprs module).&#60;/p&#62;
&#60;p&#62;I connect the D32 and D33 but only when I put the D33 to ground my communication start.&#60;br /&#62;
Is there some way to activate the serial handshaking communication?&#60;br /&#62;
I start the serial using &#60;/p&#62;
&#60;p&#62;Serial3.begin(115200);&#60;/p&#62;
&#60;p&#62;Thank you in advance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
