<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Direct Port I/O in NewSoftSerial 9</title>
	<atom:link href="http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/feed/" rel="self" type="application/rss+xml" />
	<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/</link>
	<description>Arduino software jewellery and wisdom by Mikal Hart</description>
	<lastBuildDate>Fri, 03 Sep 2010 07:40:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1954</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Tue, 02 Mar 2010 20:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1954</guid>
		<description>Also why is it always just the first few bytes? It&#039;s always perfectly fine after that...

Nothing is being sent whilst data is being received</description>
		<content:encoded><![CDATA[<p>Also why is it always just the first few bytes? It&#8217;s always perfectly fine after that&#8230;</p>
<p>Nothing is being sent whilst data is being received</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1953</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Tue, 02 Mar 2010 20:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1953</guid>
		<description>I&#039;ve been trying for weeks now and still the same unfortunately (tried CTS/RTS too)... looks like I may have to give up with NewSoftSerial unfortunately.

I don&#039;t suppose there is any upcoming improvements that would help in any way?

Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying for weeks now and still the same unfortunately (tried CTS/RTS too)&#8230; looks like I may have to give up with NewSoftSerial unfortunately.</p>
<p>I don&#8217;t suppose there is any upcoming improvements that would help in any way?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1820</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Tue, 16 Feb 2010 20:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1820</guid>
		<description>Thanks Mikal but still struggling...

I found an option in the firmware to disable echoing over the UART interface but it isn&#039;t helping...

Definitely not transmitting any data at the time of receiving so genuinely confused - I will try to utilise the CTS pin and see if I can get something with that...

Thanks for the help</description>
		<content:encoded><![CDATA[<p>Thanks Mikal but still struggling&#8230;</p>
<p>I found an option in the firmware to disable echoing over the UART interface but it isn&#8217;t helping&#8230;</p>
<p>Definitely not transmitting any data at the time of receiving so genuinely confused &#8211; I will try to utilise the CTS pin and see if I can get something with that&#8230;</p>
<p>Thanks for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Romero</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1743</link>
		<dc:creator>Dustin Romero</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1743</guid>
		<description>i was wondering does anyone have some sample code using this nss as a serial multiplexer? i am trying to run 5 rs232 signals into one arduino and multiplex them down a single rs232 line to get split up again by another arduino. is this possible? or am i wasting my time?</description>
		<content:encoded><![CDATA[<p>i was wondering does anyone have some sample code using this nss as a serial multiplexer? i am trying to run 5 rs232 signals into one arduino and multiplex them down a single rs232 line to get split up again by another arduino. is this possible? or am i wasting my time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1096</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Mon, 14 Dec 2009 19:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1096</guid>
		<description>I think I may understanding this, TDG.  Software serial solutions are delicate beasts.  You can&#039;t transmit and receive simultaneously.  If you start transmitting a byte and a byte begins to arrive at the same time, the received byte will be corrupted or lost because interrupts are disabled for the duration of the transmitted byte.

Make sure your communication is half duplex, i.e. transmit a request to the device, then wait for the entire response to arrive before attempting another one.

Mikal</description>
		<content:encoded><![CDATA[<p>I think I may understanding this, TDG.  Software serial solutions are delicate beasts.  You can&#8217;t transmit and receive simultaneously.  If you start transmitting a byte and a byte begins to arrive at the same time, the received byte will be corrupted or lost because interrupts are disabled for the duration of the transmitted byte.</p>
<p>Make sure your communication is half duplex, i.e. transmit a request to the device, then wait for the entire response to arrive before attempting another one.</p>
<p>Mikal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1095</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Mon, 14 Dec 2009 19:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1095</guid>
		<description>Sorry! I&#039;ve just realised... I do actually get the corruption if I use serial_passthru and slam enough data at it... the corruption comes in... (for example if I repeatedly fire get wlan at it) - the first time on it&#039;s own usually doesn&#039;t give corruption.

Just to verify, I have hooked the exact same setup to the hardware UART on the arduino (i.e. just using the FTDI) and there&#039;s no corruption no matter how much data I fire at it.

Would definitely seem like an NSS bug to me of some sort (or I&#039;m doing something badly wrong?)</description>
		<content:encoded><![CDATA[<p>Sorry! I&#8217;ve just realised&#8230; I do actually get the corruption if I use serial_passthru and slam enough data at it&#8230; the corruption comes in&#8230; (for example if I repeatedly fire get wlan at it) &#8211; the first time on it&#8217;s own usually doesn&#8217;t give corruption.</p>
<p>Just to verify, I have hooked the exact same setup to the hardware UART on the arduino (i.e. just using the FTDI) and there&#8217;s no corruption no matter how much data I fire at it.</p>
<p>Would definitely seem like an NSS bug to me of some sort (or I&#8217;m doing something badly wrong?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1085</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Sun, 13 Dec 2009 21:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1085</guid>
		<description>Any thoughts? :-(</description>
		<content:encoded><![CDATA[<p>Any thoughts? <img src='http://arduiniana.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1038</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Wed, 09 Dec 2009 19:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1038</guid>
		<description>Get all sorts of strange corruption still:

get wla5¦lµjÒB=solar
Chan=0
ExtAnt=0

get
S6m²iÑ=solar
Chan=0
ExtAnt=0

Strangely it seems to echo part of the &#039;get wlan&#039; back too... not sure why it would do that?</description>
		<content:encoded><![CDATA[<p>Get all sorts of strange corruption still:</p>
<p>get wla5¦lµjÒB=solar<br />
Chan=0<br />
ExtAnt=0</p>
<p>get<br />
S6m²iÑ=solar<br />
Chan=0<br />
ExtAnt=0</p>
<p>Strangely it seems to echo part of the &#8216;get wlan&#8217; back too&#8230; not sure why it would do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1037</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Wed, 09 Dec 2009 18:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1037</guid>
		<description>Hmm... What happens if you put a delay(2000) just before you do the &quot;get wlan&quot; in setup?  Does the port need to &quot;settle&quot; for a second before you start sending data?

Mikal</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; What happens if you put a delay(2000) just before you do the &#8220;get wlan&#8221; in setup?  Does the port need to &#8220;settle&#8221; for a second before you start sending data?</p>
<p>Mikal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDG</title>
		<link>http://arduiniana.org/2009/05/direct-port-io-in-newsoftserial-9/comment-page-2/#comment-1036</link>
		<dc:creator>TDG</dc:creator>
		<pubDate>Wed, 09 Dec 2009 18:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=352#comment-1036</guid>
		<description>Actually I also see weird corruption sometimes (randomly) too with the default passthru program, for example:

 ls

FL# SIZ FLAGS
 11  18   3 WiFly_GSX-2.12
 29   1  10 config
 30  18   3 WiFly_GSX-2.15
 48  19   3 WiFly_GSX-2.17

189 Free, Boot=48, Backup=48

 ls

FL# SIZ FLAGS
 11  18   3 WiFly_GSX-2.12
 29   1  10 config
 30  18   3 WiFly_GSX-2.15
 48  19   3 WiFly_GSX-¹vÖX`Ì9 Free, Boot=48, Backup=48</description>
		<content:encoded><![CDATA[<p>Actually I also see weird corruption sometimes (randomly) too with the default passthru program, for example:</p>
<p> ls</p>
<p>FL# SIZ FLAGS<br />
 11  18   3 WiFly_GSX-2.12<br />
 29   1  10 config<br />
 30  18   3 WiFly_GSX-2.15<br />
 48  19   3 WiFly_GSX-2.17</p>
<p>189 Free, Boot=48, Backup=48</p>
<p> ls</p>
<p>FL# SIZ FLAGS<br />
 11  18   3 WiFly_GSX-2.12<br />
 29   1  10 config<br />
 30  18   3 WiFly_GSX-2.15<br />
 48  19   3 WiFly_GSX-¹vÖX`Ì9 Free, Boot=48, Backup=48</p>
]]></content:encoded>
	</item>
</channel>
</rss>
