<?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: Software Serial</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579830#M22129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me ? Or can I find information allowing me to train me on serial communication, what to look for, what to change? How a person learning to work with microcontrollers NXP can find examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2016 11:47:06 GMT</pubDate>
    <dc:creator>gregoryclement</dc:creator>
    <dc:date>2016-08-15T11:47:06Z</dc:date>
    <item>
      <title>Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579824#M22123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Hello;&lt;BR /&gt;Sorry for my English.&lt;BR /&gt;I am new in programming microncontroleurs and CodeWarrior. I use a MC9S08SH4CTG.&lt;BR /&gt;They ask me to have a serial communication on PTA1 (RX) and PTA2 (TX).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;I did not know at all how. In looking around, this technique is called software uart. Continuing my &lt;SPAN lang="en"&gt;research&lt;/SPAN&gt;, I found AN2502, AN2637, ASM8 to do that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;Unfortunately for me, I do not know what to do next. I downloaded all the libraries for trying. I do not know the assembly code, so I've instead turned to AN2637. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;By reading the .pdf document, I still do not understand how to implement the library.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;Is it that there would be someone who could help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;I put the .c and .h files provided with AN2637. But I have errors and I do not know why. (See PJ)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;Is there would be someone who could help me by giving me the tracks of solution or example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579824#M22123</guid>
      <dc:creator>gregoryclement</dc:creator>
      <dc:date>2016-08-08T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579825#M22124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 29px;"&gt;No answer. Is my question is poorly known ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 12:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579825#M22124</guid>
      <dc:creator>gregoryclement</dc:creator>
      <dc:date>2016-08-10T12:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579826#M22125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi please check the attached sample code, this is a software SCI using a timer interrupt. This is an old sample code with codewarrior 6.3&lt;/P&gt;&lt;P&gt;I hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vicente Gomez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 17:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579826#M22125</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2016-08-10T17:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579827#M22126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You tell me that this is an old example code. Or did you find ? Her research I have to do to get a sample? When I looked on the internet and forums, I find notes applications without too understands how to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To return to your example. I am unable to use it. I import different .c and .h files unless start08.c because it gave me an error:&lt;/P&gt;&lt;P&gt;ERROR L1818: Symbol 17 - _startupData duplicated in start08_c.obj and Start08_c.obj&lt;/P&gt;&lt;P&gt;ERROR L1818: Symbol 20 - _Startup duplicated in start08_c.obj and Start08_c.obj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified:&amp;nbsp; #define Tx_MODULO_VALUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x67 &lt;/P&gt;&lt;P&gt;To have a baud rate of 9600 with 8 Mhz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode, this condition is always false, so I can never sent a character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(RxOk) // if there's a ready byte just received&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSCI_Tx_Byte('U'); // Start sending TX byte (sending via MTIM interrupt)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RxOk = 0;&amp;nbsp; // acknoledges the Received Byte&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;Is what I had to change anything that I would not notice?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 12:19:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579827#M22126</guid>
      <dc:creator>gregoryclement</dc:creator>
      <dc:date>2016-08-11T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579828#M22127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;This sample is part of the samples code that we as technical support have.&lt;/P&gt;&lt;P&gt;The code is working on codewarrior 6.3 &lt;/P&gt;&lt;P&gt;Why did you import the files? are you are migrate the code to Code warrior 10.x?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember that I used this code some time ago, but now my computer has windows 64 bit so I do not have codewarrior 6.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579828#M22127</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2016-08-11T14:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579829#M22128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;I probably misunderstood the operation of CodeWarrior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I want to program a MCU, I make New MCU Project. I add the microcontroller. Subsequently a main.c file, and derivative.h mc9s08sh4.h are created automatiquements. I then remove the main.c automatically created to add the one you gave me&lt;/P&gt;&lt;P&gt;That's right I should do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I added the .c and .h that you gave me &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screen.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1566i5F5B300B3D4E9661/image-size/large?v=v2&amp;amp;px=999" role="button" title="screen.png" alt="screen.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am with :&lt;/P&gt;&lt;P&gt;CodeWarrior for MCU&lt;/P&gt;&lt;P&gt; Version: 10.6&lt;/P&gt;&lt;P&gt; Build Id:140329&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579829#M22128</guid>
      <dc:creator>gregoryclement</dc:creator>
      <dc:date>2016-08-11T15:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579830#M22129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me ? Or can I find information allowing me to train me on serial communication, what to look for, what to change? How a person learning to work with microcontrollers NXP can find examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 11:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579830#M22129</guid>
      <dc:creator>gregoryclement</dc:creator>
      <dc:date>2016-08-15T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579831#M22130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Up please,&amp;nbsp;&lt;SPAN lang="en"&gt;I still have not found a solution&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 11:49:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Software-Serial/m-p/579831#M22130</guid>
      <dc:creator>gregoryclement</dc:creator>
      <dc:date>2016-08-29T11:49:30Z</dc:date>
    </item>
  </channel>
</rss>

