<?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>MQX Software SolutionsのトピックRe: UART RX is stuck</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492858#M16019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariela:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can check the following&lt;/P&gt;&lt;P&gt;1 trace your code, which line is stopped.&lt;/P&gt;&lt;P&gt;2, whether ISR is called, place a break point in it.&lt;/P&gt;&lt;P&gt;3, check the waveform of rx by your oscillograph&lt;/P&gt;&lt;P&gt;If you need further assistance, please create a simple project for us to reproduce your issue in our side&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>Mon, 23 May 2016 07:52:28 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2016-05-23T07:52:28Z</dc:date>
    <item>
      <title>UART RX is stuck</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492857#M16018</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;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I'm using MQX 4.2.0.2 w/ K66.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I use UART to communicate with a peripheral and it happens that the task waiting for UART data is stuck for minutes. I monitor the peripheral lines and I'm certain that data is transmitted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I verified UART interrupt is enabled so I would expect the scheduler to preempt the task on first data transmission.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Any idea what may be the reason for this behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Ariela&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 05:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492857#M16018</guid>
      <dc:creator>arielablumer</dc:creator>
      <dc:date>2016-05-23T05:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX is stuck</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492858#M16019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariela:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can check the following&lt;/P&gt;&lt;P&gt;1 trace your code, which line is stopped.&lt;/P&gt;&lt;P&gt;2, whether ISR is called, place a break point in it.&lt;/P&gt;&lt;P&gt;3, check the waveform of rx by your oscillograph&lt;/P&gt;&lt;P&gt;If you need further assistance, please create a simple project for us to reproduce your issue in our side&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>Mon, 23 May 2016 07:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492858#M16019</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-05-23T07:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX is stuck</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492859#M16020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I follow.&lt;/P&gt;&lt;P&gt;I already know the interrupt has happened and data is transmitted correctly from the device.&lt;/P&gt;&lt;P&gt;My application works against a WiFi device, I doubt I can simulate the problem w/o the full application.&lt;/P&gt;&lt;P&gt;One hint I do have - the problem occurs w/ higher probability once I enable the DHCP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that there was some correspondence about a similar issue about a year ago. There wasn't any conclusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ariela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 08:04:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492859#M16020</guid>
      <dc:creator>arielablumer</dc:creator>
      <dc:date>2016-05-23T08:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX is stuck</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492860#M16021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing - I actually have 2 devices which communicate w/ the k66 via UART.&lt;/P&gt;&lt;P&gt;It it happens that UART reception from both devices stops when problem occurs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:20:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492860#M16021</guid>
      <dc:creator>arielablumer</dc:creator>
      <dc:date>2016-05-23T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX is stuck</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492861#M16022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariela:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you try to increase your task's priority to see whether it helps?&lt;/P&gt;&lt;P&gt;You mentioned you have two devices communicate w/ the K66 via UART, could you attach your schematics about UART? could you attach your code snippet about your uart configurations. &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, 24 May 2016 06:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492861#M16022</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-05-24T06:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX is stuck</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492862#M16023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task priority is already higher than other application tasks, It’s not a matter of priorities as the system is not busy and most of the time the idle task is running.&lt;/P&gt;&lt;P&gt;I also doubt if it’s a matter of HW as everything works just fine most of the time. I guess it’s something that prevents scheduling/inetrrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ariela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 03:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-RX-is-stuck/m-p/492862#M16023</guid>
      <dc:creator>arielablumer</dc:creator>
      <dc:date>2016-05-25T03:52:52Z</dc:date>
    </item>
  </channel>
</rss>

