<?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: NewSoftSerial 8 for 8 (MHz)</title>
	<atom:link href="http://arduiniana.org/2009/04/newsoftserial-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://arduiniana.org/2009/04/newsoftserial-8/</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: Mikal</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-353</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Sun, 18 Oct 2009 04:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-353</guid>
		<description>Anakin,

Well, that&#039;s great news.  Thanks for sharing.

The XMIT_START_ADJUSTMENT is a delay value I determined experimentally.  You add it to the delay value when transmitting.  At 4800 baud I wouldn&#039;t think this value would matter at all: take your pick! :)

Mikal</description>
		<content:encoded><![CDATA[<p>Anakin,</p>
<p>Well, that&#8217;s great news.  Thanks for sharing.</p>
<p>The XMIT_START_ADJUSTMENT is a delay value I determined experimentally.  You add it to the delay value when transmitting.  At 4800 baud I wouldn&#8217;t think this value would matter at all: take your pick! <img src='http://arduiniana.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Mikal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anakin</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-352</link>
		<dc:creator>Anakin</dc:creator>
		<pubDate>Sun, 18 Oct 2009 04:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-352</guid>
		<description>Hi Mikal,

After spend the whole day testing it&#039;s reliability with 19.6608 MHz. It&#039;s working excellent!!! Thank you very much.

BTW, What is #define XMIT_START_ADJUSTMENT ? Do I need to use 4 or 5 with 19.6608 &amp; 20 MHz?</description>
		<content:encoded><![CDATA[<p>Hi Mikal,</p>
<p>After spend the whole day testing it&#8217;s reliability with 19.6608 MHz. It&#8217;s working excellent!!! Thank you very much.</p>
<p>BTW, What is #define XMIT_START_ADJUSTMENT ? Do I need to use 4 or 5 with 19.6608 &amp; 20 MHz?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-329</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Wed, 14 Oct 2009 20:16:07 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-329</guid>
		<description>Anakin,

Thanks for the interesting question.  I originally used a spreadsheet to calculate the delay values for the different clock speeds.  But when these turned out to be slightly inaccurate, I turned to a logic analyzer for tuning.  For Arduino applications, this is an excellent (and cheap!) one:  http://www.usbee.com/sx.html.

However, 4800 baud is a relatively slow speed, and therefore fairly tolerant of minor inaccuracies.  I&#039;d be willing to bet that, given the values for 4800 baud at 8 and 16 Mhz, you could probably calculate the 20MHz and 19.6608MHz values with sufficient accuracy.  In fact, I&#039;ll do it for you:

20MHz:
{4800, 290, 598, 598, 590}

19.6608Mhz:
{4800, 285, 587, 587, 580}

Try replacing these values in the table and see if you get the results you want!

Mikal</description>
		<content:encoded><![CDATA[<p>Anakin,</p>
<p>Thanks for the interesting question.  I originally used a spreadsheet to calculate the delay values for the different clock speeds.  But when these turned out to be slightly inaccurate, I turned to a logic analyzer for tuning.  For Arduino applications, this is an excellent (and cheap!) one:  <a href="http://www.usbee.com/sx.html" rel="nofollow">http://www.usbee.com/sx.html</a>.</p>
<p>However, 4800 baud is a relatively slow speed, and therefore fairly tolerant of minor inaccuracies.  I&#8217;d be willing to bet that, given the values for 4800 baud at 8 and 16 Mhz, you could probably calculate the 20MHz and 19.6608MHz values with sufficient accuracy.  In fact, I&#8217;ll do it for you:</p>
<p>20MHz:<br />
{4800, 290, 598, 598, 590}</p>
<p>19.6608Mhz:<br />
{4800, 285, 587, 587, 580}</p>
<p>Try replacing these values in the table and see if you get the results you want!</p>
<p>Mikal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anakin</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-322</link>
		<dc:creator>Anakin</dc:creator>
		<pubDate>Wed, 14 Oct 2009 06:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-322</guid>
		<description>Could you please help to reveal the secret how you can get the number in the DELAY_TABLE in NewSoftSerial.cpp? I would like to adjust the number for 19.6608MHz and 20.000MHz. Do you use calculation or Logic Analyzer?

If you use calculation, please tech me.
If you use Logic Analyzer, please help me for 4800 baud rate. 
[I don&#039;t have the expensive equipment :( ]</description>
		<content:encoded><![CDATA[<p>Could you please help to reveal the secret how you can get the number in the DELAY_TABLE in NewSoftSerial.cpp? I would like to adjust the number for 19.6608MHz and 20.000MHz. Do you use calculation or Logic Analyzer?</p>
<p>If you use calculation, please tech me.<br />
If you use Logic Analyzer, please help me for 4800 baud rate.<br />
[I don't have the expensive equipment <img src='http://arduiniana.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-26</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Sun, 26 Apr 2009 18:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-26</guid>
		<description>Tony,

Can you tell me what flavor of Arduino you are using and at what baud rate?  Is it reception that is corrupted or transmission?  My expectation is that on a 16MHz processor you should see perfect transmission up to 115.2K baud and reception up to 31.250K baud.  At 38.4K and 57.6K, you&#039;d expect about 1% corruption.  On an 8MHz processor these numbers are lower.

All older versions are available back to rev. 2.  Just change your link, say, from NewSoftSerial8.zip to NewSoftSerial7.zip.

Please do advise if you see better performance with older versions.</description>
		<content:encoded><![CDATA[<p>Tony,</p>
<p>Can you tell me what flavor of Arduino you are using and at what baud rate?  Is it reception that is corrupted or transmission?  My expectation is that on a 16MHz processor you should see perfect transmission up to 115.2K baud and reception up to 31.250K baud.  At 38.4K and 57.6K, you&#8217;d expect about 1% corruption.  On an 8MHz processor these numbers are lower.</p>
<p>All older versions are available back to rev. 2.  Just change your link, say, from NewSoftSerial8.zip to NewSoftSerial7.zip.</p>
<p>Please do advise if you see better performance with older versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-25</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sun, 26 Apr 2009 10:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-25</guid>
		<description>Is it possible to get the older version of the library, I don&#039;t know if it has to do with the newer version but I find that texts don&#039;t print correctly when I send from serial to telnet client (like it is missing a letter or two randomly in a string).

Thanks</description>
		<content:encoded><![CDATA[<p>Is it possible to get the older version of the library, I don&#8217;t know if it has to do with the newer version but I find that texts don&#8217;t print correctly when I send from serial to telnet client (like it is missing a letter or two randomly in a string).</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikal</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-18</link>
		<dc:creator>Mikal</dc:creator>
		<pubDate>Fri, 24 Apr 2009 12:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-18</guid>
		<description>Yeah, I did a lot of reading on that warning.  I wish gcc had the feature for disabling warnings selectively using a #pragma or something.  Thanks for the note, Ben.

Mikal</description>
		<content:encoded><![CDATA[<p>Yeah, I did a lot of reading on that warning.  I wish gcc had the feature for disabling warnings selectively using a #pragma or something.  Thanks for the note, Ben.</p>
<p>Mikal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Combee</title>
		<link>http://arduiniana.org/2009/04/newsoftserial-8/comment-page-1/#comment-17</link>
		<dc:creator>Ben Combee</dc:creator>
		<pubDate>Fri, 24 Apr 2009 07:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://arduiniana.org/?p=291#comment-17</guid>
		<description>I was reading the discussion at http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;t=57011&amp;highlight=warning+initialized about that bad &quot;initialized variables&quot; warning.  I tried a bunch of the suggestions, and I couldn&#039;t get any changes to make the warning go away.  It looks like a compiler bug that needs to be fixed by a future AVR GCC release.</description>
		<content:encoded><![CDATA[<p>I was reading the discussion at <a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;t=57011&amp;highlight=warning+initialized" rel="nofollow">http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;t=57011&amp;highlight=warning+initialized</a> about that bad &#8220;initialized variables&#8221; warning.  I tried a bunch of the suggestions, and I couldn&#8217;t get any changes to make the warning go away.  It looks like a compiler bug that needs to be fixed by a future AVR GCC release.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
