<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>UART is repeating at output what it receives</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21289/uart-is-repeating-at-output-what-it-receives</link><description> 
I have a 89C5131 talking to a RS-232 device, 50 cm from the chip.
Using Max232 in standard configuration and RX/TX/GND cable. 

 
The task is to send assincronous commands to the device and read
its response and ping pong the configuration.(the device</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/138362?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2007 12:18:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b5742722-eb77-48ba-932d-2353832ce86c</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
That&amp;#39;s &lt;b&gt;it&lt;/b&gt;!&lt;br /&gt;
I see that yours is an expert in FSM programming.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/138361?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2007 12:13:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:27180aa8-8dc4-4fca-95f5-bc67d4df0c0d</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;did you get the dog in the divorce settlement? :)&lt;br /&gt;
&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
It&amp;#39;s in the prenup ;-)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/134917?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2007 09:50:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:547a4166-16bd-4d20-94a4-5d52ceb9f5d0</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
and have it do the work for you:&lt;/p&gt;

&lt;p&gt;
&lt;a target="_blank" href="http://www.8052.com/forum/read.phtml?id=129671"&gt;&amp;quot; href=
&amp;quot;http://www.8052.com/forum/read.phtml?id=100166&amp;quot;&amp;gt;&lt;a href="http://www.8052.com/forum/read.phtml?id=100166"&gt;www.8052.com/.../read.phtml&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Cats are so much smarter than dogs...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/134916?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2007 08:49:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c825aca7-57d4-4aba-b27f-a90d36118c16</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;At home, I use to talk to my dog before talking to my
wife.&lt;/i&gt;&lt;br /&gt;
did you get the dog in the divorce settlement? :)&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/123627?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2007 14:12:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d7b1f940-e47b-4fef-a4cf-05e2c28c6688</guid><dc:creator>Jonny Doin</dc:creator><description>&lt;p&gt;&lt;p&gt;
Nice!&lt;br /&gt;
At home, I use to talk to my dog before talking to my wife.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/112606?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2007 11:32:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:00024822-47a5-4ba9-a1f8-9017581f0a3c</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Search for &amp;quot;teddy bear&amp;quot; in the following:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://cm.bell-labs.com/cm/cs/tpop/debugging.html"&gt;cm.bell-labs.com/.../debugging.html&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/98854?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2007 11:28:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:09f65e48-2672-4a76-8d50-552c80ecff5c</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
I refer to the wife and Andy refer to the teddy bear as in &amp;quot;tell
it to the teddy bear&amp;quot;.&lt;/p&gt;

&lt;p&gt;
You just proved the value of doing so.&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/74761?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2007 11:03:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:94914e87-6441-4519-8cb2-9560b6b960bc</guid><dc:creator>Ed Deep</dc:creator><description>&lt;p&gt;&lt;p&gt;
Actually, It was pretty silly not to realize that getchar() echoes
whatever it gets.&lt;/p&gt;

&lt;p&gt;
Ouch.&lt;/p&gt;

&lt;p&gt;
Ed&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART is repeating at output what it receives</title><link>https://community.arm.com/thread/47666?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2007 10:48:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:faee9a22-7540-4025-b1d5-5a84475ba239</guid><dc:creator>Ed Deep</dc:creator><description>&lt;p&gt;&lt;p&gt;
Posting is such a wonderful exercise.&lt;/p&gt;

&lt;p&gt;
You can read your pledge, and voila!!! You get clever.&lt;/p&gt;

&lt;p&gt;
Before posting, I read and read the code. Worked up and down.
Them... After posting, verified the description of my post and
carefully examined the RS-232 traffic with Comdebug. And...&lt;/p&gt;

&lt;p&gt;
Found the culprit: getchar() echoes what it gets.&lt;/p&gt;

&lt;p&gt;
Ed.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>