<?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>8-bit MicrocontrollersのトピックRe: M9S08QG8  SCI problems</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196994#M15810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;In my message yesterday, I forgot to say that if you change the fOP from 4 MHz to 8.2944 MHz, you should change the 27 for SCIBDR to 8.2944/4 * 27 = 55.98 =&amp;gt; 56 to adjust for the increase in bus frequency.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2008 18:00:19 GMT</pubDate>
    <dc:creator>Ake</dc:creator>
    <dc:date>2008-02-28T18:00:19Z</dc:date>
    <item>
      <title>M9S08QG8  SCI problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196992#M15808</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;SPAN&gt;Good day to everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new in this forum and I'm here because I've some problem with the SCI of an HC(S)08 microcontroller: the M9S08QG8 mounted on the demo board DEMO9S08QG8.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the codewarrior 5.9.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problems, for the time being, are these:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) When i set the baud rate at 19200, obtained with an internal frequency of 32,4 KHz, a BUS freq. of 8,2944&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and a value of 27 for SCIBDR the SCI work properly ( I'm using the printf function of stdio.h with my own TERMIO_PutChar ), but when I enable ODD parity ( on the terminal's screen) i don't recieve the correct message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) If I leave parity NONE and I try to set the baud rate to 115200 obtained with an internal frequency of 36 KHz, a BUS freq. of 9,216 and a value of 5 for SCIBDR the SCI doesn't work at all independently of the parity that I set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have any idea to solve these 2 problem with the SCI??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to all and I'm very sorry for my English. Forgive me please!! &lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by Brodek on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-02-27&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:08 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 22:07:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196992#M15808</guid>
      <dc:creator>Brodek</dc:creator>
      <dc:date>2008-02-27T22:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8  SCI problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196993#M15809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;Here is the code that you can use to get the baudrate correct.&lt;/DIV&gt;&lt;DIV&gt;The source directory includes an oscilloscope picture where the top trace is the TxD output on the 9S08QG8 and the bottom trace is an wobbling of an I/O which gives an indication on how fast the CPU is running.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I did not have the speed calibrated, so I guess that is why the baudrate was not too exact.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/9598_qg8_s08sciv3_1.zip" rel="nofollow" target="_self"&gt;QG8_S08SCIV3_1.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;12:45 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 01:17:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196993#M15809</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2008-02-28T01:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8  SCI problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196994#M15810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;In my message yesterday, I forgot to say that if you change the fOP from 4 MHz to 8.2944 MHz, you should change the 27 for SCIBDR to 8.2944/4 * 27 = 55.98 =&amp;gt; 56 to adjust for the increase in bus frequency.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 18:00:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196994#M15810</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2008-02-28T18:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8  SCI problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196995#M15811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;first of all thank you for the reply.&lt;BR /&gt;&lt;BR /&gt;Now, at 19200 baud&amp;nbsp; the SCI work fine. Also the printf function work properly and I'm able to write all that I want. Up to 57600 baud the SCI work and I can receive the messages with terminal software on my PC.&lt;BR /&gt;&lt;BR /&gt;But when i set the baud at 115200, I mus to go at this speed, I receive a sequence of nonsensical characters. To reach the 115200 baud I've set reference closk at 36.0KHz and bus at 9.216 Mhz and these are the only modification that I had made to the micro's firmware.&lt;BR /&gt;&lt;BR /&gt;Below I enclose my firmware.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Walter&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Brodek on &lt;SPAN class="date_text"&gt;2008-02-28&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:31 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/8BITCOMM/9619_2_Project_25.zip" rel="nofollow" target="_self"&gt;Project_25.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;12:25 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 21:30:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-SCI-problems/m-p/196995#M15811</guid>
      <dc:creator>Brodek</dc:creator>
      <dc:date>2008-02-28T21:30:50Z</dc:date>
    </item>
  </channel>
</rss>

