<?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: ABOUT MM9z1_638 SCI interface in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704288#M14604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The function actually works correctly.&lt;/P&gt;&lt;P&gt;There is a difference between these two functions.&lt;/P&gt;&lt;P&gt;The SCIReadCH function returns TRUE whenever a character has been received.&lt;/P&gt;&lt;P&gt;Whereas the SCIReadLine function reads the received string and returns its length only if '\n' character is received at the end of the string.&lt;/P&gt;&lt;P&gt;Otherwise the function returns zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 08:58:03 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2017-08-23T08:58:03Z</dc:date>
    <item>
      <title>ABOUT MM9z1_638 SCI interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704285#M14601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used KT9z1_638_sci_demo to run communicatinon。&lt;BR /&gt;try sci DEMO Driver interface&lt;BR /&gt; len=SCIReadCh（&amp;amp;cmd［0］）&lt;BR /&gt;works OK ，i can receive a word。eg:n or &amp;nbsp;m&lt;BR /&gt;but try&lt;BR /&gt;len=SCIReadLine（&amp;amp;cmd［0］）.eg:123 &amp;nbsp; or abc&lt;BR /&gt;it works incorrect，received nothing。&lt;BR /&gt;it's len=0 always。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 09:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704285#M14601</guid>
      <dc:creator>ztzzzttt</dc:creator>
      <dc:date>2017-08-22T09:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT MM9z1_638 SCI interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704286#M14602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I understand, the SCI example code doesn’t work unless you replace the SCIReadLine function with the SCIReadCh function. Or have you somehow modified the code? The SCIReadLine function takes not only a pointer to the received buffer but its length as well. &amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:31:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704286#M14602</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-08-22T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT MM9z1_638 SCI interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704287#M14603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for&amp;nbsp;your response。&lt;/P&gt;&lt;P&gt;That is a&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="http://www.baidu.com/link?url=2iMJL76AmSjw3EN2vDbIt5UWwICZF3IrySU22Rzy3lDTVswnTfQoIJq8owLfNNvk76GuhAJiEh1s3cGrcszKP5vcPZrHIJcBYst0FwqxLyA_meXkf_4J4lq5dho3Q4_1" style="color: #333333; text-decoration: none; font-size: 13px;" target="_blank"&gt;mistake in cellphone writing&lt;/A&gt;&amp;nbsp;before;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I&amp;nbsp;mean that&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SCIReadCh function&lt;SPAN&gt;&amp;nbsp;works well、&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;SCIReadLine function&amp;nbsp;&amp;nbsp;&amp;nbsp;works incorrect，can't get the right result len=0 always。&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have connected &amp;nbsp;SCI port to PC（&lt;SPAN style="color: #333333; font-size: 13px;"&gt;Serial Interface&lt;/SPAN&gt;） through a&amp;nbsp;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&amp;nbsp;&lt;/EM&gt;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&lt;A href="https://community.nxp.com/thread/?keyword=" style="color: #4285cc; text-decoration: none;"&gt;https://community.nxp.com/thread/?keyword=" style="color: #4285cc; text-decoration: none;&lt;/A&gt;&lt;/EM&gt;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/?keyword=inverter" style="color: #4285cc; text-decoration: none;"&gt;inverter&lt;/A&gt;（.74lvc04）, PC &amp;nbsp;received &amp;nbsp;data from MM9z1638 with &lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/?keyword=Baud" style="color: #4285cc; text-decoration: none;"&gt;Baud&lt;/A&gt; &lt;/EM&gt;&lt;EM&gt;&lt;A href="https://community.nxp.com/thread/?keyword=" style="color: #4285cc; text-decoration: none;"&gt;https://community.nxp.com/thread/?keyword=" style="color: #4285cc; text-decoration: none;&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/?keyword=rate" style="color: #4285cc; text-decoration: none;"&gt;rate&lt;/A&gt;&amp;nbsp;34800 and works well.but &amp;nbsp;MM9z1638&amp;nbsp;can't readline with SCIReadLine() function ,&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&lt;EM&gt;only can read one word with&amp;nbsp;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&lt;EM&gt;SCIReadCh( )function.&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&lt;EM&gt;if there something wrong with HardWare,or SCI configuration.&amp;nbsp;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM style="color: #5f6266; background-color: #f9fbfc; font-size: 13px;"&gt;&lt;EM&gt;Thanks for your help!&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="捕获.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26819i4E05626179E73E54/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.jpg" alt="捕获.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:22:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704287#M14603</guid>
      <dc:creator>ztzzzttt</dc:creator>
      <dc:date>2017-08-22T16:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT MM9z1_638 SCI interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704288#M14604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The function actually works correctly.&lt;/P&gt;&lt;P&gt;There is a difference between these two functions.&lt;/P&gt;&lt;P&gt;The SCIReadCH function returns TRUE whenever a character has been received.&lt;/P&gt;&lt;P&gt;Whereas the SCIReadLine function reads the received string and returns its length only if '\n' character is received at the end of the string.&lt;/P&gt;&lt;P&gt;Otherwise the function returns zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704288#M14604</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-08-23T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT MM9z1_638 SCI interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704289#M14605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You I rewrite the receive function in Interrupt .Now ,SCI works well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 14:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ABOUT-MM9z1-638-SCI-interface/m-p/704289#M14605</guid>
      <dc:creator>ztzzzttt</dc:creator>
      <dc:date>2017-12-06T14:08:07Z</dc:date>
    </item>
  </channel>
</rss>

