<?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 suddenly stops receiving data in interrupt mode in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216693#M5555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it seems that I've figured it out - it was my SW issue (I've been spending too much time in delays rather than in constant UART buffer polling..).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Dec 2012 11:51:44 GMT</pubDate>
    <dc:creator>panpwr</dc:creator>
    <dc:date>2012-12-30T11:51:44Z</dc:date>
    <item>
      <title>UART suddenly stops receiving data in interrupt mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216691#M5553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using UART3 (ittyd) in &lt;STRONG&gt;interrupt mode&lt;/STRONG&gt; (rate of 115200, and buffer size 64 bytes) - K60 and TWR-K60D100M evy board.&lt;/P&gt;&lt;P&gt;I am sampling the port periodically, using &lt;STRONG&gt;fgetc&lt;/STRONG&gt; to read the chars and performing &lt;STRONG&gt;_io_fflush&lt;/STRONG&gt; at the end of each round.&lt;/P&gt;&lt;P&gt;It works great for a while (around ~50 seconds), and then suddenly stops - nothing comes through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried increasing the buffer size from 64 bytes to 128 (by changing the BSPCFG_SCI3_QUEUE_SIZE variable in twrk60d100m.h), and it seems that now it works for a longer period - however eventually it still stops receiving data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the cause for this issue, and how can I approach / debug it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Lior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2012 16:46:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216691#M5553</guid>
      <dc:creator>panpwr</dc:creator>
      <dc:date>2012-12-23T16:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: UART suddenly stops receiving data in interrupt mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216692#M5554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When debugging with uVision4, the task that uses the UART state is: "Task Queue Blocked".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a suspicion:&lt;/P&gt;&lt;P&gt;Can a bursty traffic fill up the entire buffer, or is it a cyclic buffer? Do I need to clear the buffer each time I finish reading it (how?), or does the new packet runs over the old data in the buffer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, I am desperate here....:smileyconfused:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 17:43:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216692#M5554</guid>
      <dc:creator>panpwr</dc:creator>
      <dc:date>2012-12-24T17:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: UART suddenly stops receiving data in interrupt mode</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216693#M5555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it seems that I've figured it out - it was my SW issue (I've been spending too much time in delays rather than in constant UART buffer polling..).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Dec 2012 11:51:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-suddenly-stops-receiving-data-in-interrupt-mode/m-p/216693#M5555</guid>
      <dc:creator>panpwr</dc:creator>
      <dc:date>2012-12-30T11:51:44Z</dc:date>
    </item>
  </channel>
</rss>

