<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Baud rate question in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126790#M1215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Richard,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;To achieve both baud rates that you require, the bus frequency&amp;nbsp;would require to be a multiple of 3.6864 MHz, i.e. one of the following frequencies -&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;3.6864, 7.3728, 11.0592, 14.7456 or 18.4320 MHz, all within a tolerance of 2 percent.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Peg, the&amp;nbsp;two percent tolerance is quite reasonable if equal and opposite&amp;nbsp;tolerances need to be allowed at each end of the serial link.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Mar 2007 18:45:42 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2007-03-17T18:45:42Z</dc:date>
    <item>
      <title>MC9S08AW32 - Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126788#M1213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi guys,&lt;/DIV&gt;&lt;DIV&gt;I will be work to MC9S08AW32 and work with two SCI chanels, it's possible that one SCI run to 76800 and another SCI work to 115200 ? The error must be into 2%&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alban Edit: FSL Part Number in Subject line.&lt;/SPAN&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;2007-03-17&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:45 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 10:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126788#M1213</guid>
      <dc:creator>Richard777</dc:creator>
      <dc:date>2007-03-17T10:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126789#M1214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Richard,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This should indeed be possible, the baudrate is simply the buss clock divided by 16 then divided by an integer between 1 and 8192 for each SCI module. The ability to create a baudrate that is very close to the intended baudrate is then dependant on the clock rate used. If there is no other restriction simply create a busclock that assists with this outcome. The accuracy, long term stability etc is then totally dependant on your clock source as the baudrate is simply a division of this. Why the 2% requirement?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Gave up on the two MPU idea huh?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2007-03-17&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:23 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 15:09:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126789#M1214</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-03-17T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126790#M1215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Richard,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;To achieve both baud rates that you require, the bus frequency&amp;nbsp;would require to be a multiple of 3.6864 MHz, i.e. one of the following frequencies -&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;3.6864, 7.3728, 11.0592, 14.7456 or 18.4320 MHz, all within a tolerance of 2 percent.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Peg, the&amp;nbsp;two percent tolerance is quite reasonable if equal and opposite&amp;nbsp;tolerances need to be allowed at each end of the serial link.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 18:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126790#M1215</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-03-17T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126791#M1216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I wasn't thinking straight when I queried the 2% tolerance. Of course 2% is typically near absolute max (4% end to end).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now for your clock:&lt;/DIV&gt;&lt;DIV&gt;The frequencies quoted by bigmac (the only ones that produce both baudrates exactly) are not achievable within the required tolerance when using&amp;nbsp;FEI or 32k768 based FEE.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You could fiddle the trim register to get FEI to work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or you could use a relatively standard 3.6864MHz crystal in FEE to get spot on. (x10 /1 = 18.432MHz buss)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2007-03-18&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:28 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2007-03-18&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:29 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 12:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126791#M1216</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-03-18T12:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126792#M1217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks Peg and Mac, I think use a external XTAL, may be 18.432MHz.&lt;/DIV&gt;&lt;DIV&gt;Regards.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 22:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126792#M1217</guid>
      <dc:creator>Richard777</dc:creator>
      <dc:date>2007-03-18T22:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126793#M1218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Richard,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Be aware that the external frequency may not exceed 10MHz.&amp;nbsp; One of the following common crystal frequencies could be made to work in your application (FEE mode) -&lt;/FONT&gt; &lt;FONT size="2"&gt;2.4576, 3.6864, 4.9152 or 9.8304 MHz.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 08:57:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126793#M1218</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-03-19T08:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126794#M1219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, Richard:&lt;BR /&gt;&lt;BR /&gt;To reiterate what Mac pointed out, 18.432 MHz is higher than the AW32's 10 MHz upper limit for a crystal.&lt;BR /&gt;&lt;BR /&gt;18.432 MHz is also higher than the AW32's 16 MHz upper limit for an oscillator with the FLL enabled.&lt;BR /&gt;&lt;BR /&gt;18.432 MHz is fine for an oscillator with the FLL bypassed, but then you are only getting 9.216 MHz for the bus frequency, which is less than half what the AW32 offers.&lt;BR /&gt;&lt;BR /&gt;My suggestion would be to either use a crystal with one of the frequencies that Mac listed, or use a 36.864 MHz canned oscillator. That frequency oscillator is not common, but I have used a Citizen CMX309HBC36.864MTR in non-cost-sensitive products.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 09:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126794#M1219</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2007-03-19T09:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126795#M1220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Ok guys I must be missing something.&lt;/DIV&gt;&lt;DIV&gt;I could argue with one of you but hesitate to take on both&lt;/DIV&gt;&lt;DIV&gt;I reckon only 3.6864 and 4.9152 work.&lt;/DIV&gt;&lt;DIV&gt;The reason I only mentioned 3.6864 was that it gave the highest clock.&lt;/DIV&gt;&lt;DIV&gt;Possibly needed if the comms throughput is high and there are other things to do.&lt;/DIV&gt;&lt;DIV&gt;Could you please give the setup and the final buss clock&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 16:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126795#M1220</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-03-19T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126796#M1221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Peg and others,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Yes, I was incorrect about using the 9.8304 MHz crystal - I had overlooked that the MFD multiplying factor must be an even number.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The following is a list of possible crystal frequencies for FEE mode, and the setup required.&amp;nbsp; In each case, the RFD division factor is 1.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;Crystal&amp;nbsp;&amp;nbsp; MFD&amp;nbsp;&amp;nbsp;&amp;nbsp; Bus freq.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;MHz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MHz&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;2.4576&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;14.7456&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;3.6864&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18.4320&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;4.9152&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.7456&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;7.3728&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.7456&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;True, only the 3.6864MHz crystal produces the highest bus frequency.&amp;nbsp; However, since the reduction for the other crystal frequencies is only 20 percent, these should also work for all but the most stringent applications.&amp;nbsp;&amp;nbsp;Perhaps it also depends on the crystals available from the "junk box".&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 21:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126796#M1221</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-03-19T21:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Baud rate question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126797#M1222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Nothing wrong with using a 32KHz crystal. You can make 14.68MHz from that, then both your baud rates will be well under 1%. I'm using that now for my 115.2kbaud clock.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW32-Baud-rate-question/m-p/126797#M1222</guid>
      <dc:creator>Wings</dc:creator>
      <dc:date>2007-03-22T05:00:31Z</dc:date>
    </item>
  </channel>
</rss>

