<?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: LPC54018, USB1 highspeed, USB stall during bulk transfer in. in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1671787#M5637</link>
    <description>&lt;P&gt;&lt;SPAN&gt;host_hdc.h, is that NXP SDK file?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 09:04:48 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2023-06-19T09:04:48Z</dc:date>
    <item>
      <title>LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1667224#M5619</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am experiencing a mysterious issue with USB bulk transfer.&lt;/P&gt;&lt;P&gt;The source code is modified from lpcxpresso54s018_host_cdc_freertos example.&lt;/P&gt;&lt;P&gt;LPC54018 USB1 (host) is connected to SierraWireless RC7620 modem.&lt;/P&gt;&lt;P&gt;Everything works fine until a longer TCP data transfer happens from modem to host.&lt;BR /&gt;Then the transfer ends in USB functional stall at bulk transfer in.&lt;/P&gt;&lt;P&gt;E.g FTP transfer of 466 byte file from FTP server to LPC succeeds, but FTP transfer of 468 byte file always ends in USB stall.&lt;/P&gt;&lt;P&gt;The modem operation is verified with LPC18S37, it works without problems.&lt;/P&gt;&lt;P&gt;So it seems that the reason for the problem is USB stack and/or USB1 in LPC54018.&lt;/P&gt;&lt;P&gt;Has anybody any glue, what could be the reason for this kind of behaviour?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 07:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1667224#M5619</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-10T07:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1669862#M5623</link>
      <description>&lt;P&gt;Hi jukka1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of SDK do you work with?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 03:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1669862#M5623</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-06-15T03:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1670092#M5624</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with SDK_2_13_0_LPC54018. I downloaded it a couple of weeks ago from NXP site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;jukka&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 08:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1670092#M5624</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-15T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1670737#M5630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;jukka1,&lt;/P&gt;
&lt;P&gt;There is no related known USB issue in&amp;nbsp;&lt;SPAN&gt;2_13_0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We need to know the detail steps of how to reproduce this issue with nxp demo board and sdk?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 03:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1670737#M5630</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-06-16T03:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1670749#M5631</link>
      <description>&lt;P&gt;Hi Jun Zhang,&lt;/P&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;Yes, I understand. That is why I am about to arrange a simplified setup.&lt;/P&gt;&lt;P&gt;But I have another issue with that setup. I opened a new discussion about it (LPC54018-USB1-highspeed-problem-when-running-SDK-example). Weird, that also that issue is related to USB stall, although most probably the root cause is not the same.&lt;/P&gt;&lt;P&gt;BTW, do you know what are the acceptable values for USB_HOST_SEND_RECV_PER_TIME (in host_cdc.h)?&lt;/P&gt;&lt;P&gt;I am currently using a value 300U for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;jukka&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 04:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1670749#M5631</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-20T04:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1671787#M5637</link>
      <description>&lt;P&gt;&lt;SPAN&gt;host_hdc.h, is that NXP SDK file?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 09:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1671787#M5637</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-06-19T09:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1672364#M5639</link>
      <description>&lt;P&gt;Oops sorry, the file name is host_cdc.h.&lt;/P&gt;&lt;P&gt;I corrected it also to the message above.&lt;/P&gt;&lt;P&gt;So host_hdc.h =&amp;gt; host_cdc.h.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 04:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1672364#M5639</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-20T04:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1673223#M5640</link>
      <description>&lt;P&gt;For USB_HOST_SEND_RECV_PER_TIME, Please test the value with 64 or 32&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 04:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1673223#M5640</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-06-21T04:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1679908#M5660</link>
      <description>&lt;P&gt;We succeeded in fixing the issue by removing the following lines from &lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/lpcxpresso54s018/usb_examples/usb_host_cdc/bm/host_cdc.c#L223" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/lpcxpresso54s018/usb_examples/usb_host_cdc/bm/host_cdc.c#L223&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;        if (cdcInstance-&amp;gt;bulkInMaxPacketSize == dataLength)
        {
            /* host will prime to receive zero length packet after recvive one maxpacketsize */
            USB_HostCdcDataRecv(g_cdc.classHandle, NULL, 0, USB_HostCdcDataInCallback, &amp;amp;g_cdc);
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did not yet analyse deeply, what was wrong with the bulk transfer transaction.&lt;/P&gt;&lt;P&gt;But probably RC7620 modem caused USB stall in bulk in, when it received a zero byte payload in bulk out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;jukka&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2023 09:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1679908#M5660</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-07-01T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, USB stall during bulk transfer in.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1679915#M5661</link>
      <description>&lt;P&gt;We have used now value 512 and even 768 for USB_HOST_SEND_RECV_PER_TIME.&lt;/P&gt;&lt;P&gt;Then it works better for our use cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;jukka&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2023 11:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-USB-stall-during-bulk-transfer-in/m-p/1679915#M5661</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-07-01T11:16:14Z</dc:date>
    </item>
  </channel>
</rss>

