<?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: How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?</title>
		<link>http://forums.leaflabs.com/topic.php?id=240</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:12:39 +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=240" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240&amp;page=2#post-1764</link>
			<pubDate>Tue, 12 Oct 2010 04:50:59 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1764@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;llandy - Sorry, I was trying to be as accurate as I know how (apologies for my 2.5 vs 2.25 gaff)&#60;/p&#62;
&#60;p&#62;I always learn something from these discussions, partly because I have to reexamine my old assumptions, so I am grateful for your forbearance, putting up with me being pernickety.&#60;/p&#62;
&#60;p&#62;I think we nailed this one :-)&#60;/p&#62;
&#60;p&#62;Aside - I don't think most OS's could cope with 2.25mbps, with a traditional serial interface. I hadn't thought about the implications until now, but I wonder if maybe that's why USB was designed to pole the devices; to make the interface electronics cheap on the host side?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1761</link>
			<pubDate>Mon, 11 Oct 2010 23:08:10 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1761@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Summary is 100% correct.&#60;/p&#62;
&#60;p&#62;BTW ... That is twice in 2 weeks that you got teflon llandy.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1760</link>
			<pubDate>Mon, 11 Oct 2010 22:53:00 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1760@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Okay, so you have read the code, and you are now agreeing with my intial Summary?&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;There are other details to consider, but I think the important points are:&#60;br /&#62;
1. Baud ~= Bits/second in this case of USARTs&#60;br /&#62;
2. 2.25Megabaud and 4.5Megabaud are close enough to correct, and 'The max baud on comm. 2 &#38;amp; 3 is 250K and on comm 1 450K' is 10x too small.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;('Night all)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1759</link>
			<pubDate>Mon, 11 Oct 2010 22:51:02 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1759@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;llandy - sorry, my post, and your edits crossed again.&#60;/p&#62;
&#60;p&#62;I understand where they come from, those values are the underlying clock rates.&#60;/p&#62;
&#60;p&#62;I'm not sure what the &#34;new summary&#34; needs to say. I think I wrote it in my first summary.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1758</link>
			<pubDate>Mon, 11 Oct 2010 22:48:16 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1758@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Code does not lie.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1757</link>
			<pubDate>Mon, 11 Oct 2010 22:41:28 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1757@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Okay, so according to the code&#60;br /&#62;
usart_num=USART1, max_baud=4500000UL = 4,500,000 = 4.5Mbaud&#60;br /&#62;
usart_num=USART2, max_baud=2250000UL = 2,250,000 = 2.25Mbaud&#60;br /&#62;
usart_num=USART3, max_baud=2250000UL = 2,250,000 = 2.25Mbaud&#60;/p&#62;
&#60;p&#62;not 450kbaud, or 250/225kbaud.&#60;br /&#62;
Agreed?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1755</link>
			<pubDate>Mon, 11 Oct 2010 22:33:11 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1755@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;From HardwareSerial.cpp:&#60;br /&#62;
IDE 0.0.7&#60;/p&#62;
&#60;p&#62;HardwareSerial Serial1(USART1, 4500000UL, GPIOA_BASE, 9, 10, TIMER1, 2);&#60;br /&#62;
HardwareSerial Serial2(USART2, 2250000UL, GPIOA_BASE, 2, 3,  TIMER2, 3);&#60;br /&#62;
HardwareSerial Serial3(USART3, 2250000UL, GPIOB_BASE, 10, 11, 0, 0);&#60;br /&#62;
// TODO: High density device ports&#60;/p&#62;
&#60;p&#62;HardwareSerial::HardwareSerial(uint8 usart_num,&#60;br /&#62;
                               uint32 max_baud,&#60;br /&#62;
                               GPIO_Port *gpio_port,&#60;br /&#62;
                               uint8 tx_pin,&#60;br /&#62;
                               uint8 rx_pin,&#60;br /&#62;
                               uint8 timer_num,&#60;br /&#62;
                               uint8 compare_num) {&#60;br /&#62;
    this-&#38;gt;usart_num = usart_num;&#60;br /&#62;
    this-&#38;gt;max_baud = max_baud;&#60;br /&#62;
    this-&#38;gt;gpio_port = gpio_port;&#60;br /&#62;
    this-&#38;gt;tx_pin = tx_pin;&#60;br /&#62;
    this-&#38;gt;rx_pin = rx_pin;&#60;br /&#62;
    this-&#38;gt;timer_num = timer_num;&#60;br /&#62;
    this-&#38;gt;compare_num = compare_num;&#60;/p&#62;
&#60;p&#62;-----------------------------------------------------------------------&#60;br /&#62;
&#34;Never believe a person for what they say but what they do&#34;&#60;br /&#62;
-----------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;It seems that in the above core code 4500000 &#38;amp; 2250000 are the bauds?&#60;/p&#62;
&#60;p&#62;Gbulmer ... a new summary is needed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1754</link>
			<pubDate>Mon, 11 Oct 2010 22:10:11 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1754@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;llandy - your edits crossed with my previous response again.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;The above 5 &#38;amp; 6 statements are wrong. He computed the baud rate wrong by 10&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;No. No worse than by a factor of (8/10).&#60;br /&#62;
Baud is a measure of the number of distinct symbols changes on the line/second (4.5MHz = 4,500,000 symbol changes in the fastest case, 2.25MHz otherwise), and the number of symbols, which for a USART is 2 (it is not a multi-tone modem). I was taught to subtract the protocol framing (2 bits in your example) to avoid misleading folks.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;So Perry H inferred 225000 is the baud rate which is the same as 225 KBaud which is the same as 2.25 Mbit/s.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Well, a baud rate of 225000 baud is 225KBaud (ignoring framing, which I think we agree can be excluded from the measurment of transmitted information), but I'd have to wait for Perry to explain what he was inferring, it is not the same as 2.25Mbit/s.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1753</link>
			<pubDate>Mon, 11 Oct 2010 22:02:19 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1753@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;10 is the frame # of bits 8 N 1&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;I &#60;em&#62;exactly&#60;/em&#62; agree that the protocol frame (start, stop(s) and parity), are &#60;em&#62;not&#60;/em&#62; part of the information transmission. That's what I was hinting at when I wrote&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;(actually, I was taught it still isn't, but that is looking at small details).
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;In this case, I read that as 8 data bits, no-parity, 1 stop bit (there is always 1 start bit), so for every 10 bits signalled on the 'transmission medium', there are 8 bits of data.&#60;/p&#62;
&#60;p&#62;So, I am very happy to derate the 4.5Mbps to 4,500,000 *(8/10) = 3.6Mbaud&#60;br /&#62;
and similarly the 2.25mbps to 2Mbaud.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1752</link>
			<pubDate>Mon, 11 Oct 2010 21:42:01 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1752@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Quote: &#34;So how would you calculate the baud rate for the STM32F 2.25Mbits and 4.5Mbits USARTs, and what values do you get?&#34;&#60;/p&#62;
&#60;p&#62;Reply: Again, from above:&#60;br /&#62;
4.5Mb/s = 4500000/10 = 450KBaud   &#38;lt;10 is the frame # of bits 8 N 1&#38;gt;&#60;br /&#62;
2.25Mb/s = 2250000/10 = 225KBaud&#60;/p&#62;
&#60;p&#62;Quote: &#34;There are other details to consider, but I think the important points are:&#60;br /&#62;
1. Baud ~= Bits/second in this case of USARTs&#60;br /&#62;
2. 2.25Megabaud and 4.5Megabaud are close enough to correct, and 'The max baud on comm. 2 &#38;amp; 3 is 250K and on comm 1 450K' is 10x too small.&#34;&#60;/p&#62;
&#60;p&#62;Reply: Sorry, I totally disagree with 1 &#38;amp; 2&#60;/p&#62;
&#60;p&#62;From the link: &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=83&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=83&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Perry H Quote: &#34;4. You can set any rate up to the max of the uart. They aren't required to be fixed, the clock divisors are computed from the entered baud rate. You listed many common rates above. At the moment (as Bryan noted), they're limited to 225000, which is a bug that I didn't catch. There's a fix coming soon.&#34;&#60;/p&#62;
&#60;p&#62;So Perry H inferred 225000 is the baud rate which is the same as 225 KBaud which is the same as 2.25 Mbit/s.&#60;/p&#62;
&#60;p&#62;He goes on to say &#34;Error checking is performed, you can't set a baud rate higher than the max baud rate.&#34;&#60;br /&#62;
5. USART1 tops out at 4.5Mbits/s = 4500000 baud&#60;br /&#62;
6. USART2 and USART3 are clocked from the slower APB1 bus, so they top out at 2.5Mbits/s = 2250000 baud.&#60;br /&#62;
--------------------------------------------------------------------------------------&#60;br /&#62;
The above 5 &#38;amp; 6 statements are wrong. He computed the baud rate wrong by 10&#60;/p&#62;
&#60;p&#62;Edit: Note: Both of Perry's statements contradict each other.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1751</link>
			<pubDate>Mon, 11 Oct 2010 21:39:01 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1751@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;llandy &#60;/p&#62;
&#60;p&#62;4.5Mbps = 4.5 megabits/second (Mbps) = 4,500,000 bits/second = 4,500,000 Baud = 4.5Mbaud&#60;br /&#62;
on a USART (a system with only two symbols/unit transission time)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1750</link>
			<pubDate>Mon, 11 Oct 2010 21:32:45 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1750@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;llandy - I was following the convention you adopted in your post&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Also, ONLY Comm #2 and Comm #3 have hardware handshake lines! (RTS,CTS) - See GPIO docs.&#60;br /&#62;
The max baud on comm. 2 &#38;amp; 3 is 250K and on comm 1 450K &#38;lt;--------&#60;/p&#62;
&#60;/blockquote&#62;
&#60;blockquote&#62;&#60;p&#62;Reply: STMf130RB.PDF&#60;/p&#62;
&#60;p&#62;Section 2.3.17&#60;/p&#62;
&#60;p&#62;Quote: Universal synchronous/asynchronous receiver transmitter (USART)&#60;br /&#62;
One of the USART interfaces is able to communicate at speeds of up to 4.5 Mbit/s. The&#60;br /&#62;
other available interfaces communicate at up to 2.25 Mbit/s. &#38;lt;-----&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Yes, that's where I got the figures from.&#60;br /&#62;
I apologise for my transcription error, I wrote 2.5Megabaud, rather than 2.25Megabaud.&#60;br /&#62;
I was probably reading your post where you wrote &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;max baud on comm. 2 &#38;amp; 3 is 250K&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;2.5Megabaud and 4.5megabaud, are 10x faster than&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;max baud on comm. 2 &#38;amp; 3 is 250K and on comm 1 450K&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;which seemed to be the important point for StephenFromNYC, who is asking using a USART to move data at high speed.&#60;/p&#62;
&#60;p&#62;It kinda doesn't matter whether we are using bits/second (as used by ST) or baud, because close enough in this particular case.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;baud'' and`bps'' are perhaps one of the most misused terms in the computing and telecommunications field. Many people use these terms interchangeably, when in fact they are not!&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Strongly agree.&#60;/p&#62;
&#60;p&#62;Baud rate is &#60;em&#62;not&#60;/em&#62;&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;The baud rate is a measure of how many times per second a signal changes (or could change).&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;So how would you calculate the baud rate for the STM32F 2.25Mbits and 4.5Mbits USARTs, and what values do you get?&#60;/p&#62;
&#60;p&#62;Actually, I dont believe that is correct.&#60;br /&#62;
Wikipedia has the definition which I was taught, &#60;a href=&#34;http://en.wikipedia.org/wiki/Baud&#34;&#62;Baud&#60;/a&#62;:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;In telecommunications and electronics, baud (pronounced /ˈbɔːd/, unit symbol &#34;Bd&#34;) is synonymous to &#60;em&#62;symbols&#60;/em&#62; per second or pulses per second. It is the unit of symbol rate, also known as baud rate or modulation rate; the number of distinct symbol changes (signaling events) made to the transmission medium per second in a digitally modulated signal&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;My emphasis on &#60;em&#62;symbols&#60;/em&#62;. &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;The term baud rate has sometimes incorrectly been used to mean bit rate, since these rates are the same in old modems  as well as in the simplest digital communication links using only one bit per symbol, such that binary &#34;0&#34; is represented by one symbol, and binary &#34;1&#34; by another symbol. In more advanced modems and data transmission techniques, a symbol may have more than two states, so it may represent more than one bit (a bit (binary digit) always represents one of exactly two states).&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;So the difference between Baud and bps matters a lot on a system which can have more than two symbols on the line, but when there are only two symbols, voltage high and low, as on a STM32F USART, I believe it is close enough to be treated as equivalent (actually, I was taught it still isn't, but that is looking at small details). &#60;/p&#62;
&#60;p&#62;There &#60;em&#62;are&#60;/em&#62;&#60;em&#62; other details to consider, but I think the important points are:&#60;br /&#62;
1. Baud ~= Bits/second in this case of USARTs&#60;br /&#62;
2. 2.25Megabaud and 4.5Megabaud are close enough to correct, and 'The max baud on comm. 2 &#38;amp; 3 is 250K and on comm 1 450K' is 10x too small.&#60;/em&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1749</link>
			<pubDate>Mon, 11 Oct 2010 20:18:02 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1749@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Quote: &#34;StephenFromNYC - The max baud rates on the USARTS are 4.5Megabaud, and 2.5Megabaud, not 250k baud or 450k baud&#34;&#60;/p&#62;
&#60;p&#62;Reply: STMf130RB.PDF&#60;/p&#62;
&#60;p&#62;Section 2.3.17 &#60;/p&#62;
&#60;p&#62;Quote: Universal synchronous/asynchronous receiver transmitter (USART)&#60;br /&#62;
One of the USART interfaces is able to communicate at speeds of up to 4.5 Mbit/s. The&#60;br /&#62;
other available interfaces communicate at up to 2.25 Mbit/s. &#38;lt;-----&#60;/p&#62;
&#60;p&#62;Is there a difference between &#34;Mega bits per second&#34; and baud rate?&#60;/p&#62;
&#60;p&#62;&#60;code&#62;baud&#38;#39;&#38;#39; and&#60;/code&#62;`bps'' are perhaps one of the most misused terms in the computing and telecommunications field. Many people use these terms interchangeably, when in fact they are not! bps is simply the number of bits transmitted per second. The baud rate is a measure of how many times per second a signal changes (or could change).&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.sengpielaudio.com/calculator-transferrate.htm&#34; rel=&#34;nofollow&#34;&#62;http://www.sengpielaudio.com/calculator-transferrate.htm&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://web.forret.com/tools/bandwidth.asp?speed=4500000&#38;amp;unit=bps&#34; rel=&#34;nofollow&#34;&#62;http://web.forret.com/tools/bandwidth.asp?speed=4500000&#38;amp;unit=bps&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;4.5Mb/s = 4500000/10 = 450KBaud&#60;br /&#62;
2.25Mb/s = 2250000/10 = 225KBaud &#38;lt;--- whoops?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=83&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=83&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1748</link>
			<pubDate>Mon, 11 Oct 2010 19:54:30 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1748@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;StephenFromNYC - The max baud rates on the USARTS are 4.5Megabaud, and 2.5Megabaud, not 250k baud or 450k baud. &#60;/p&#62;
&#60;p&#62;The COM port on your PC might not be able to match 2.5Mbaud; it is worth checking. Even if the port could do it, the OS might not be able to handle it.&#60;/p&#62;
&#60;p&#62;Yes, you very would likely need a level translater if you want to talk to the COM port on your PC.&#60;/p&#62;
&#60;p&#62;*Real* RS232 voltage limits are as big as +/-15V.&#60;br /&#62;
There are several companies which make parts for the job. Maxim is well known:&#60;br /&#62;
&#60;a href=&#34;http://www.maxim-ic.com/datasheet/index.mvp/id/1798&#34;&#62;http://www.maxim-ic.com/datasheet/index.mvp/id/1798&#60;/a&#62;&#60;br /&#62;
Once you find where these are catalogued on your favourite electronics supplier, you'll likely find dozens of alternatives.&#60;/p&#62;
&#60;p&#62;I belive that Maple Native is still an STM32F103/105, and hence is only a full-speed (12Mbits max) USB device. It is not a USB High-speed device.&#60;/p&#62;
&#60;p&#62;FTDI say the FT232RL (the chip on the Sparkfun and modern devices boards) maximum baud rate is 3Megabaud:&#60;br /&#62;
&#60;a href=&#34;http://www.ftdichip.com/Products/ICs/FT232R.htm&#34;&#62;http://www.ftdichip.com/Products/ICs/FT232R.htm&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I don't know how fast the Maple transfers data (maybe I'll have a bit experiment later in the week), but it is &#60;em&#62;theoretically&#60;/em&#62; capable of going faster than that.&#60;/p&#62;
&#60;p&#62;A feasible option for a much higher transfer speed would be a USB High-speed adapter based on e.g. &#60;a href=&#34;http://www.ftdichip.com/Products/ICs/FT2232H.htm&#34;&#62;FT2232H&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The spec says:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;# USB to parallel FIFO transfer data rate up to 10Mbyte/sec (&#38;gt;80Megabaud)&#60;br /&#62;
# Single channel synchronous FIFO mode for transfers &#38;gt; 25 Mbytes/sec (&#38;gt;200Megabaud)&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;To talk to the FTDI USB chip at these rates, the Maple would be pushing a whole byte at a time into it (based on a brief skim of the datasheet).&#60;/p&#62;
&#60;p&#62;How fast do you need to move data?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "How to connect Maple Serial1 pins (RX and TX) to a 9 pin COM port?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=240#post-1745</link>
			<pubDate>Mon, 11 Oct 2010 16:40:42 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1745@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You need a 3.3 VDC TTL to USB converter. Also, you could use the old TTL to RS232 converters but the USB with mini connector is better.&#60;/p&#62;
&#60;p&#62;There are really two good ones. One is from Sparkfun and the other from Modern Device. (Modern Device is closer to you and I used this one for flash downloading the bootloader)&#60;/p&#62;
&#60;p&#62;Sparkfun link: &#60;a href=&#34;http://www.sparkfun.com/commerce/product_info.php?products_id=10009&#34; rel=&#34;nofollow&#34;&#62;http://www.sparkfun.com/commerce/product_info.php?products_id=10009&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Modern Device link: &#60;a href=&#34;http://www.moderndevice.com/products/usb-bub&#34; rel=&#34;nofollow&#34;&#62;http://www.moderndevice.com/products/usb-bub&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;On my Modern device 'BUB' I put two series resistors on the tx and rx lines for&#60;br /&#62;
current limiting. (300-330 ohm). So you need 3 lines, tx,rx and ground.&#60;br /&#62;
The BUB tx goes to Maple's rx and BUB rx to Maple's tx and ground to ground.&#60;br /&#62;
Make sure you set the 3.3VDC jumper on the BUB board!!!!&#60;/p&#62;
&#60;p&#62;As for handshaking it might be a little more complex because both vendors have the signals for them but you need to do so hacking? Also, you probably need to provide the RTS &#38;amp; CTS signals from Comm x to the BUB board.&#60;/p&#62;
&#60;p&#62;Also, ONLY Comm #2 and Comm #3 have hardware handshake lines! (RTS,CTS) - See GPIO docs.&#60;br /&#62;
The max baud on comm. 2 &#38;amp; 3 is 250K and on comm 1 450K &#38;lt;--------&#60;br /&#62;
If you really need the &#34;high speed&#34; comm #1 with handshaking you can use software  NaK,ACK handshaking. You need to write your own driver.&#60;/p&#62;
&#60;p&#62;Check with both vendors for the handshaking lines.&#60;/p&#62;
&#60;p&#62;Note: Even though THe Maple's has hardware handshake lines for Comm #2 &#38;amp; #3 the question arises how do you enable them so the USART can use them? Leaflabs can help you on this.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
