<?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: UART Err in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802161#M48769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that there is no Baud Rate mismatch? (Do the other bytes get received with the correct value?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2018 15:52:16 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2018-09-07T15:52:16Z</dc:date>
    <item>
      <title>UART Err</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802160#M48768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UART project is created using MKE02Z64 with PE in codewarrior.&lt;/P&gt;&lt;P&gt;When sending "0x00" in HEX using serial debug, there is always AS1_OnError() interrupted by Noise error.&lt;/P&gt;&lt;P&gt;When sending other number than "0x00", everything goes well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It puzzles me long time.&lt;/P&gt;&lt;P&gt;The sample project is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void AS1_OnError(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; /* Write your code here ... */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;AS1_TError error;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // TError type is defined in the AS1.h header file&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; AS1_GetError(&amp;amp;error);&amp;nbsp;&amp;nbsp;&amp;nbsp; // determine the type of error&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if(error.errName.Parity) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Parity error&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; } else if(error.errName.Framing){&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Framing error&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void AS1_OnRxChar(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; /* Write your code here ... */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;char ch;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(AS1_RecvChar(&amp;amp;ch) == ERR_OK)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;received = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;index++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;data_receive[index] = ch;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 12:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802160#M48768</guid>
      <dc:creator>xiaoqiangfu</dc:creator>
      <dc:date>2018-09-07T12:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: UART Err</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802161#M48769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that there is no Baud Rate mismatch? (Do the other bytes get received with the correct value?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 15:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802161#M48769</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-09-07T15:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: UART Err</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802162#M48770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I am sure that Baud Rate is matched.&lt;/P&gt;&lt;P&gt;And data other than '0x00' are correctly transmitted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 08:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802162#M48770</guid>
      <dc:creator>xiaoqiangfu</dc:creator>
      <dc:date>2018-09-10T08:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: UART Err</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802163#M48771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try a binary from one of the pages below (they have UART at 115kBaud) since I never experienced any difficulties with the UARTs.&lt;BR /&gt;If it is limited to PE generated code you could also try the free Open Source uTasker project which supports your device and CodeWarrior (search for it on GiTHub).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;BR /&gt;Kinetis KE:&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE02Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE02Z.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE02Z40M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE02Z40M.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 14:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802163#M48771</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-09-10T14:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: UART Err</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802164#M48772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="326032" data-username="xiaoqiangfu" href="https://community.nxp.com/people/xiaoqiangfu"&gt;Xiaoqiang Fu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to download the SDK for the&amp;nbsp;MKE02Z64. You can use the UART example projects as a guide to see what is causing this problem on your project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en/welcome"&gt;Link to download the SDK.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 20:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Err/m-p/802164#M48772</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-09-10T20:31:19Z</dc:date>
    </item>
  </channel>
</rss>

