<?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: HS908SH8 - SCI module wrong data transmited/received in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431785#M21489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lucas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tested you code using the &lt;A href="http://www.freescale.com/products/more-processors/8-bit-mcus/hc08/s08sh-family-demonstration-board:DEMO9S08SH?lang_cd=en" title="http://www.freescale.com/products/more-processors/8-bit-mcus/hc08/s08sh-family-demonstration-board:DEMO9S08SH?lang_cd=en"&gt;DEMO9S08SH8&lt;/A&gt; and I had no problem. &lt;STRONG&gt;The code runs perfectly&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Please make sure about your hardware connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I recommend to use the DEMO9S08SH8 mentioned as a reference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the corresponding schematic at: &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.axman.com/sites/default/files/DEMO9S08SG8_SH8_SCH_B.pdf" title="https://www.axman.com/sites/default/files/DEMO9S08SG8_SH8_SCH_B.pdf"&gt;DEMO9S08SG8_SH8_SCH_B.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information will be useful for you.&lt;/P&gt;&lt;P&gt;If I misunderstood your question, feel free to let me know.&amp;nbsp; I will be glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 01:06:56 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2015-11-25T01:06:56Z</dc:date>
    <item>
      <title>HS908SH8 - SCI module wrong data transmited/received</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431783#M21487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I'm trying to do a simple program to send a byte from the MCU to the PC and read it with a serial monitor. I'm using an USB-Serial interface (that works fine because a friend is using it with his project).&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem: When I send the byte (a 65 for example that it's an 'A' in ASCI) I get a trash character in the serial monitor. When I send 0x41 (the 'A') I get 0xA1 in the monitor. I set up the MCU at 8Mhz and the Baud Rate to 9600. Of course I'm reading at 9600 with the monitor. I can't find the error if it's a code problem or it's a electronic problem.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll post my code in an external link because I think it's too large to post in a normal mesage. I'll attach the code too if you want download.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fpastebin.com%2FyeKDt1gB"&gt;http://pastebin.com/yeKDt1gB&lt;/A&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading, I hope you can help me!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337727"&gt;SCI-Test.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 02:44:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431783#M21487</guid>
      <dc:creator>luxarts</dc:creator>
      <dc:date>2015-11-23T02:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: HS908SH8 - SCI module wrong data transmited/received</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431784#M21488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using correct clock source, and if internal one is used, are you trimming your MCU?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:05:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431784#M21488</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2015-11-23T16:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: HS908SH8 - SCI module wrong data transmited/received</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431785#M21489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lucas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tested you code using the &lt;A href="http://www.freescale.com/products/more-processors/8-bit-mcus/hc08/s08sh-family-demonstration-board:DEMO9S08SH?lang_cd=en" title="http://www.freescale.com/products/more-processors/8-bit-mcus/hc08/s08sh-family-demonstration-board:DEMO9S08SH?lang_cd=en"&gt;DEMO9S08SH8&lt;/A&gt; and I had no problem. &lt;STRONG&gt;The code runs perfectly&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Please make sure about your hardware connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I recommend to use the DEMO9S08SH8 mentioned as a reference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the corresponding schematic at: &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.axman.com/sites/default/files/DEMO9S08SG8_SH8_SCH_B.pdf" title="https://www.axman.com/sites/default/files/DEMO9S08SG8_SH8_SCH_B.pdf"&gt;DEMO9S08SG8_SH8_SCH_B.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information will be useful for you.&lt;/P&gt;&lt;P&gt;If I misunderstood your question, feel free to let me know.&amp;nbsp; I will be glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 01:06:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431785#M21489</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2015-11-25T01:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: HS908SH8 - SCI module wrong data transmited/received</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431786#M21490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data sent and received it's the same? This makes me think that the problem is in the USB-Serial converter.&lt;BR /&gt;I'm using an Arduino UNO board (without the MCU of course) connecting TX and RX from HCS908 SH8 to the board and reading with several terminals. The Arduino UNO has a Atmega8u2 to convert Serial to USB and viceversa. I'll replace it with a normal FTDI conversor or triying with a PC with serial port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks for the responses. If you know something about using the Arduino board as USB-Serial interface makes me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;BR /&gt;Lucas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 01:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HS908SH8-SCI-module-wrong-data-transmited-received/m-p/431786#M21490</guid>
      <dc:creator>luxarts</dc:creator>
      <dc:date>2015-11-27T01:29:10Z</dc:date>
    </item>
  </channel>
</rss>

