<?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, problem when running SDK example application in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671158#M5634</link>
    <description>&lt;P&gt;Does anybody know, what kind of USB CDC device works with lpcxpresso54s018_host_cdc_bm example?&lt;BR /&gt;I tried an Android phone in USB tethering mode, but the example app was not happy with Android's USB descriptors.&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>Fri, 16 Jun 2023 13:35:49 GMT</pubDate>
    <dc:creator>jukka1</dc:creator>
    <dc:date>2023-06-16T13:35:49Z</dc:date>
    <item>
      <title>LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670125#M5625</link>
      <description>&lt;P&gt;I am trying to use SDK example lpcxpresso54s018_host_cdc_bm from SDK_2_13_0_LPC54018.&lt;/P&gt;&lt;P&gt;The only change that I made to the example is that I changed USB_HOST_CONFIG_OHCI to 0 and USB_HOST_CONFIG_IP3516HS to 1 in usb_host_config.h. That is because I must use USB1 and highspeed.&lt;/P&gt;&lt;P&gt;I have a setup where I have:&lt;/P&gt;&lt;P&gt;-LPC54018 PCB (our own, based on a reference design)&lt;/P&gt;&lt;P&gt;-nRF52 dev kit acting as a CDC device, as described in the readme.pdf of the example.&lt;/P&gt;&lt;P&gt;These devices are connected via USB.&lt;/P&gt;&lt;P&gt;The example app starts ok. I can see these from the LPC54018 PCB console port:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[11:06:14:366] host init done␍␊
[11:06:14:366] This example requires that the CDC device uses Hardware flow␍␊
[11:06:14:397] if the device does't support it, please set USB_HOST_UART_SUPPORT_HW_FLOW to zero and rebuild this project␍␊
[11:06:14:397] Type strings, then the string␍␊
[11:06:14:397] will be echoed back from the device␍␊
[11:06:14:554] device cdc attached:␍␊
[11:06:14:554] pid=0x1015vid=0x1366 address=1␍␊
[11:06:14:554] cdc device attached␍␊
[11:06:14:586] cdc control transfer error␍␊&lt;/LI-CODE&gt;&lt;P&gt;The problem is "cdc control transfer error", the communication between the boards does not work.&lt;/P&gt;&lt;P&gt;What could be the reason for this?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 09:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670125#M5625</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-15T09:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670146#M5626</link>
      <description>&lt;P&gt;Just before the "cdc control transfer error" happens, the call stack is this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Thread #1 57005 (Suspended : Breakpoint)	
	USB_HostCdcInterruptCallback() at host_cdc.c:415 0x6082	
	USB_HostCdcInterruptPipeCallback() at usb_host_cdc.c:193 0x9530	
	USB_HostIp3516HsTokenDone() at usb_host_ip3516hs.c:3,186 0x5070	
	USB_HostIp3516HsTaskFunction() at usb_host_ip3516hs.c:3,966 0xbd5c	
	USB_HostTaskFn() at app.c:123 0xc0a2	
	main() at app.c:248 0x5c1e	&lt;/LI-CODE&gt;&lt;P&gt;The status is kStatus_USB_TransferStall in USB_HostCdcInterruptCallback().&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 09:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670146#M5626</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-15T09:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670162#M5627</link>
      <description>&lt;P&gt;The readme.pdf of the example mentions a "CDC device".&lt;/P&gt;&lt;P&gt;I assume that nRF52 dev kit is a suitable "CDC device". If I connect nRF52 dev kit to Linux via USB cable, it emerges in Linux as ttyACM0. I can open that port with minicom or cutecom, and nRF52 echoes the written characters back.&lt;/P&gt;&lt;P&gt;The USB descriptors can be seen in nRF52-usb-descriptors_230613.log.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 09:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670162#M5627</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-15T09:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670970#M5632</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218649"&gt;@jukka1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switching USB demo from USB0 to USB1, you can refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC-ALL-Summary-of-Switching-USB-demo-from-USB0-to-USB1/ta-p/1428522" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC-ALL-Summary-of-Switching-USB-demo-from-USB0-to-USB1/ta-p/1428522&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 08:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1670970#M5632</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-06-16T08:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671150#M5633</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/16315"&gt;@Alice&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the link.&lt;BR /&gt;Seems that I have done the changes correctly.&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>Fri, 16 Jun 2023 13:22:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671150#M5633</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-16T13:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671158#M5634</link>
      <description>&lt;P&gt;Does anybody know, what kind of USB CDC device works with lpcxpresso54s018_host_cdc_bm example?&lt;BR /&gt;I tried an Android phone in USB tethering mode, but the example app was not happy with Android's USB descriptors.&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>Fri, 16 Jun 2023 13:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671158#M5634</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-16T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671684#M5635</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218649"&gt;@jukka1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If still can't work, recommend:&lt;/P&gt;
&lt;P&gt;1) First without any change, check whether USB0 can work well on your side.&lt;/P&gt;
&lt;P&gt;2)About device, you can download the usb_device_cdc demo to another LPC board, then connect host and device.&lt;/P&gt;
&lt;P&gt;3)Refer to readme.pdf to config HW and SW.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 07:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671684#M5635</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-06-19T07:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671731#M5636</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I jumped directly to 2) and I got the USB communication between the boards working.&lt;/P&gt;&lt;P&gt;Now I modify the usb_device_cdc example to generate a lot of data, and let's see what happens ...&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>Mon, 19 Jun 2023 08:14:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1671731#M5636</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-06-19T08:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1679930#M5662</link>
      <description>&lt;P&gt;So my setup consists now of two LPC54018 PCB's.&lt;/P&gt;&lt;P&gt;The first device runs SDK example lpcxpresso54s018_host_cdc_bm from SDK_2_13_0_LPC54018.&lt;/P&gt;&lt;P&gt;The second device runs SDK example lpcxpresso54s018_dev_cdc_vcom_bm from SDK_2_13_0_LPC54018.&lt;/P&gt;&lt;P&gt;The both examples are configured to use USB1 highspeed, and the devices are connected to each other with a USB cable.&lt;/P&gt;&lt;P&gt;The original examples work OK. When I send data bytes to device #1 terminal, the data is echoed back from device #2.&lt;/P&gt;&lt;P&gt;One notice though: If I try to modify the lpcxpresso54s018_dev_cdc_vcom_bm example so, that it sends data automatically e.g. once per second, it does not succeed. When data is sent from APPTask() (in virtual_com.c) by calling USB_DeviceCdcAcmSend(), the function returns always error kStatus_USB_Busy. The sending only succeeds once every time after APPTask() has received data from host (s_recvSize != 0).&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>Sat, 01 Jul 2023 12:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1679930#M5662</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2023-07-01T12:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018, USB1 highspeed, problem when running SDK example application</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1683567#M5672</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218649"&gt;@jukka1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the USB demo, all USB actions are initialized by host, so when USB host ask USB Device send data, then USB device can send data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 03:02:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LPC54018-USB1-highspeed-problem-when-running-SDK-example/m-p/1683567#M5672</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-07-07T03:02:40Z</dc:date>
    </item>
  </channel>
</rss>

