<?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 MC9S08SH - SCI Problem in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH-SCI-Problem/m-p/146785#M7403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to do a very very simple communication between a S08SH and my PC with hyperterminal.&lt;/P&gt;&lt;P&gt;I do not why the SCID register not charge.&lt;/P&gt;&lt;P&gt;The circuit to the RS232 is a MAX232.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somebody can help me??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include &amp;lt;hidef.h&amp;gt; /* for EnableInterrupts macro */&lt;BR /&gt;#include "derivative.h" /* include peripheral declarations */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;unsigned int caracter;&lt;/P&gt;&lt;P&gt;void main(void) {&lt;BR /&gt;&lt;BR /&gt;SOPT1 = 0x02;&lt;BR /&gt;&lt;BR /&gt;SCIBDH = 0x00;&lt;BR /&gt;SCIBDL = 0x34; //Baud Rate = 9600&lt;BR /&gt;&lt;BR /&gt;SCIC1 = 0x00;&lt;BR /&gt;SCIC2 = 0x08;&lt;BR /&gt;&lt;BR /&gt;EnableInterrupts;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;caracter = 2;&lt;BR /&gt;for(;&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;BR /&gt;if (SCIS1_TDRE == 1){&lt;BR /&gt;&lt;BR /&gt;SCID = caracter;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//for(;&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;BR /&gt;//__RESET_WATCHDOG(); /* feeds the dog */&lt;BR /&gt;//} /* loop forever */&lt;BR /&gt;/* please make sure that you never leave main */&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 12:23:19 GMT</pubDate>
    <dc:creator>CarlosCba</dc:creator>
    <dc:date>2012-03-19T12:23:19Z</dc:date>
    <item>
      <title>MC9S08SH - SCI Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH-SCI-Problem/m-p/146785#M7403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to do a very very simple communication between a S08SH and my PC with hyperterminal.&lt;/P&gt;&lt;P&gt;I do not why the SCID register not charge.&lt;/P&gt;&lt;P&gt;The circuit to the RS232 is a MAX232.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somebody can help me??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include &amp;lt;hidef.h&amp;gt; /* for EnableInterrupts macro */&lt;BR /&gt;#include "derivative.h" /* include peripheral declarations */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;unsigned int caracter;&lt;/P&gt;&lt;P&gt;void main(void) {&lt;BR /&gt;&lt;BR /&gt;SOPT1 = 0x02;&lt;BR /&gt;&lt;BR /&gt;SCIBDH = 0x00;&lt;BR /&gt;SCIBDL = 0x34; //Baud Rate = 9600&lt;BR /&gt;&lt;BR /&gt;SCIC1 = 0x00;&lt;BR /&gt;SCIC2 = 0x08;&lt;BR /&gt;&lt;BR /&gt;EnableInterrupts;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;caracter = 2;&lt;BR /&gt;for(;&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;BR /&gt;if (SCIS1_TDRE == 1){&lt;BR /&gt;&lt;BR /&gt;SCID = caracter;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//for(;&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;BR /&gt;//__RESET_WATCHDOG(); /* feeds the dog */&lt;BR /&gt;//} /* loop forever */&lt;BR /&gt;/* please make sure that you never leave main */&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 12:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH-SCI-Problem/m-p/146785#M7403</guid>
      <dc:creator>CarlosCba</dc:creator>
      <dc:date>2012-03-19T12:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08SH - SCI Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH-SCI-Problem/m-p/146786#M7404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code is OK, i had hardware problems...sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 08:10:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08SH-SCI-Problem/m-p/146786#M7404</guid>
      <dc:creator>CarlosCba</dc:creator>
      <dc:date>2012-03-20T08:10:06Z</dc:date>
    </item>
  </channel>
</rss>

