<?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: SDK 2.1 UART Rx Overflow handling bug in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648334#M94</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Alice_Yang"&gt;Alice_Yang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the same&amp;nbsp;in the latest SDK for TWR-K65F180M (2.4.1 2018-09-14).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2018 10:06:10 GMT</pubDate>
    <dc:creator>biafra</dc:creator>
    <dc:date>2018-12-12T10:06:10Z</dc:date>
    <item>
      <title>SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648328#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there's a logical bug in fsl_uart.c&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* If RX overrun. */&lt;/P&gt;&lt;P&gt;if (UART_S1_OR_MASK &amp;amp; base-&amp;gt;S1) {&lt;BR /&gt; /* Read base-&amp;gt;D to clear overrun flag, otherwise the RX does not work. */&lt;BR /&gt;&amp;nbsp;while (base-&amp;gt;S1 &amp;amp; UART_S1_RDRF_MASK) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(void) base-&amp;gt;D;&lt;BR /&gt;&amp;nbsp;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "&lt;SPAN&gt;while (base-&amp;gt;S1 &amp;amp; UART_S1_RDRF_MASK)" creates a problem when the routine gets preempted by another interrupt. The RDRF can be set again, causing the routine to eat up extra bytes and/or generate additional Rx OR interrupts. After removing the while loop and reading "(void) base-&amp;gt;D;" exactly once, the problems go away.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2017 06:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648328#M88</guid>
      <dc:creator>paulsandys</dc:creator>
      <dc:date>2017-02-18T06:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648329#M89</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul,&lt;/P&gt;&lt;P&gt;Which chip do you used?&lt;/P&gt;&lt;P&gt;I randomly check one SDK package (FRDM-K22),&lt;/P&gt;&lt;P&gt;it just read D once :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15932iEBC4A40E4A88AA6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 07:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648329#M89</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-03-07T07:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648330#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FRDM-KL25Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 18:13:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648330#M90</guid>
      <dc:creator>paulsandys</dc:creator>
      <dc:date>2017-03-07T18:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648331#M91</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Thanks for your sharing , I will report it to the SDK team.&lt;/P&gt;&lt;P&gt;And I recommend you can use the UART driver file of FRDM-KL26.&lt;/P&gt;&lt;P&gt;I also attached it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 05:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648331#M91</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-03-08T05:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648332#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've wrote my own IRQ handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very useful if the UART async driver could callback after receiving "special" character specified in the xfer structure, similar to SPI. (I.E. &amp;nbsp;NewLine, CarriageReturn, NULL or whatever)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 05:43:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648332#M92</guid>
      <dc:creator>paulsandys</dc:creator>
      <dc:date>2017-03-15T05:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648333#M93</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;Same problem with SDK 2.4.1 and K22FN51212&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648333#M93</guid>
      <dc:creator>NicolasP</dc:creator>
      <dc:date>2018-09-14T13:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 2.1 UART Rx Overflow handling bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648334#M94</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Alice_Yang"&gt;Alice_Yang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the same&amp;nbsp;in the latest SDK for TWR-K65F180M (2.4.1 2018-09-14).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 10:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDK-2-1-UART-Rx-Overflow-handling-bug/m-p/648334#M94</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-12-12T10:06:10Z</dc:date>
    </item>
  </channel>
</rss>

