<?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のトピックUSB CDC HUB read is blocking in highspeed</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-CDC-HUB-read-is-blocking-in-highspeed/m-p/714598#M17595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="font-size: 10pt;"&gt;Hello All,&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="font-size: 10pt;"&gt;Good day.&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="font-size: 10pt;"&gt;The USB CDC read call implementation in usb_host_cdc.c (mqx stack version 4.1) ,i.e, _lwevent_wait_ticks(event,USB_DATA_READ_COMPLETE | USB_DATA_DETACH, FALSE, 0) “waits” on “event” object forever until it receives data on USB port. The USB ISR should trigger “release” of the “event” when data is available but when CDC Wi-fi dongle connected to a high speed port(through USB hub IC&amp;nbsp; 2512) to K70 board, it is observed that the event USB_DATA_READ_COMPLETE does not occur even after an extended period of time(over 5 minutes). &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style=": ; text-decoration: underline; font-size: 10pt;"&gt;Possible reasons:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;EM style="font-size: 10pt;"&gt;ISR overloading?&lt;/EM&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI style="color: #000000; font-size: 10pt;"&gt;&lt;EM&gt;&lt;EM style="font-size: 10pt;"&gt;Data isn’t being read / minimum data needed for high speed operation is not present on the bus?&lt;/EM&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;However if the same CDC Wi-fi dongle is connected to the USB full speed port, the communication proceeds perfectly. Kindly help to identify the root cause and resolve the issue.&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 05:38:11 GMT</pubDate>
    <dc:creator>jinspaul1</dc:creator>
    <dc:date>2017-09-27T05:38:11Z</dc:date>
    <item>
      <title>USB CDC HUB read is blocking in highspeed</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-CDC-HUB-read-is-blocking-in-highspeed/m-p/714598#M17595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="font-size: 10pt;"&gt;Hello All,&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="font-size: 10pt;"&gt;Good day.&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style="font-size: 10pt;"&gt;The USB CDC read call implementation in usb_host_cdc.c (mqx stack version 4.1) ,i.e, _lwevent_wait_ticks(event,USB_DATA_READ_COMPLETE | USB_DATA_DETACH, FALSE, 0) “waits” on “event” object forever until it receives data on USB port. The USB ISR should trigger “release” of the “event” when data is available but when CDC Wi-fi dongle connected to a high speed port(through USB hub IC&amp;nbsp; 2512) to K70 board, it is observed that the event USB_DATA_READ_COMPLETE does not occur even after an extended period of time(over 5 minutes). &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;EM style=": ; text-decoration: underline; font-size: 10pt;"&gt;Possible reasons:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;EM style="font-size: 10pt;"&gt;ISR overloading?&lt;/EM&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI style="color: #000000; font-size: 10pt;"&gt;&lt;EM&gt;&lt;EM style="font-size: 10pt;"&gt;Data isn’t being read / minimum data needed for high speed operation is not present on the bus?&lt;/EM&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;However if the same CDC Wi-fi dongle is connected to the USB full speed port, the communication proceeds perfectly. Kindly help to identify the root cause and resolve the issue.&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 05:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-CDC-HUB-read-is-blocking-in-highspeed/m-p/714598#M17595</guid>
      <dc:creator>jinspaul1</dc:creator>
      <dc:date>2017-09-27T05:38:11Z</dc:date>
    </item>
  </channel>
</rss>

