<?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>LPC MicrocontrollersのトピックRe: LPC54628 USB CDC host, SDK example is not receiving any data</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618105#M51953</link>
    <description>&lt;P&gt;under SDK, there are cdc device demo code. you can download it to a board and use board as CDC device for test.&lt;/P&gt;
&lt;P&gt;follow the readme file steps, if you can't get same result of readme file, let me know which step you get stuck. We will check.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 04:14:55 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2023-03-20T04:14:55Z</dc:date>
    <item>
      <title>LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1615823#M51912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I a'm trying to use the SDK example named "host_cdc_bm" to receive data from a generic VCOM device.&lt;BR /&gt;This question relates to LPC54628, MCUXpresso 11.6.0 with SDK 2.13.0.&lt;BR /&gt;It seems that the example is not able to receive any data from my VCOM device.&lt;BR /&gt;For test, I am using an arduino board (that behaves like a VCOM device).&lt;BR /&gt;The arduino board emits the string "uptime nn\r\n" once every second.&lt;BR /&gt;I can verify the output string arrives with 1 Hz using Tera Term on my PC.&lt;BR /&gt;It seems that the CDC host is able to attach/detach when I connect/disconnect the device, but then it does not receive the test strings..&lt;/P&gt;&lt;P&gt;Can someone help me debug this?&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;P&gt;Printout from debug console when running the example:&lt;BR /&gt;&amp;gt;host init done&lt;BR /&gt;&amp;gt;This example requires that the CDC device uses Hardware flow&lt;BR /&gt;&amp;gt;if the device does't support it, please set USB_HOST_UART_SUPPORT_HW_FLOW to zero and &amp;gt;rebuild this project&lt;BR /&gt;&amp;gt;Type strings, then the string&lt;BR /&gt;&amp;gt;will be echoed back from the device&lt;BR /&gt;&amp;gt;device cdc attached:&lt;BR /&gt;&amp;gt;pid=0x801evid=0x239a address=1&lt;BR /&gt;&amp;gt;cdc device attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 14:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1615823#M51912</guid>
      <dc:creator>anders_erlandss</dc:creator>
      <dc:date>2023-03-15T14:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1617576#M51940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;anders_erlandss&amp;nbsp;&lt;/P&gt;
&lt;P&gt;under the demo code folder, there is readme.pdf file. Please follow the guide of the readme to test the code with the same HW and SW enviroment, rather than&amp;nbsp;&lt;SPAN&gt;arduino&amp;nbsp; board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See how it works.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have a nice day,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:52:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1617576#M51940</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-17T10:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1617599#M51942</link>
      <description>&lt;P&gt;Hi Jun,&lt;/P&gt;&lt;P&gt;Thanks for responding.&lt;BR /&gt;I already read the document you refer to, but I'm not sure I understand the instructions.&lt;/P&gt;&lt;P&gt;The document clearly says "Plug in the CDC device".&lt;BR /&gt;I thought the code example would enable host communication with a generic CDC device, such as an Arduino board.&lt;BR /&gt;I also tested with an Okdo board (ie LPC55S69), which I expect to work since the debug port also behaves like a generic CDC device.&lt;BR /&gt;It too attaches/detaches as expected, but it does not receive the expected test strings.&lt;BR /&gt;I switched hardware flow on and off as recommended in the debug print, but it doesent help.&lt;/P&gt;&lt;P&gt;To verify the function of the USB host port on my dev board I ran the USB code example "hist_hid_mouse_bm", it works just fine.&lt;/P&gt;&lt;P&gt;-Am I using the wrong HW for the CDC device?&lt;BR /&gt;-If so, what HW do you recommend me to use?&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Anders&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 15:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1617599#M51942</guid>
      <dc:creator>anders_erlandss</dc:creator>
      <dc:date>2023-03-17T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618105#M51953</link>
      <description>&lt;P&gt;under SDK, there are cdc device demo code. you can download it to a board and use board as CDC device for test.&lt;/P&gt;
&lt;P&gt;follow the readme file steps, if you can't get same result of readme file, let me know which step you get stuck. We will check.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 04:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618105#M51953</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-20T04:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618264#M51964</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;Ok. When I connected another NXP dev board running the CDC demo code it works. Thanks!&lt;BR /&gt;With some modifications of the CDC host example, the communication is now working when I connect a ublox GPS receiver (it behaves like a USB CDC device).&lt;/P&gt;&lt;P&gt;I would appreciate if you can explain the following:&lt;BR /&gt;-Why is the communication not working when I connect to the USB debug port (Debug Link) of an NXP board?&lt;BR /&gt;-Why is the communication not working when I connect to the USB port of an Arduino board?&lt;BR /&gt;Both devices are USB CDC devices, and I can verify the communication with the Tera Term application on my PC.&lt;BR /&gt;(attach/detach seems to work, but then there are no data transfers)&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Anders&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 08:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618264#M51964</guid>
      <dc:creator>anders_erlandss</dc:creator>
      <dc:date>2023-03-20T08:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618938#M51979</link>
      <description>&lt;P&gt;Good to know it works.&lt;/P&gt;
&lt;P&gt;I don't know how debug interface implement cdc, the souce code is not open. neither your&amp;nbsp;&lt;SPAN&gt;Arduino board.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;example requires that the CDC device uses Hardware flow,&amp;nbsp;if the device does't support it, please set USB_HOST_UART_SUPPORT_HW_FLOW to zero and rebuild this project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 06:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1618938#M51979</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-21T06:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1619075#M51982</link>
      <description>&lt;P&gt;Hi Jun,&lt;/P&gt;&lt;P&gt;I switched hardware flow on and off as recommended in the debug print, but it doesent help.&lt;BR /&gt;Ok, no further questions. I think I can go on from here.&lt;BR /&gt;&lt;BR /&gt;Thanks for your assistance!&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Anders&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 09:41:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1619075#M51982</guid>
      <dc:creator>anders_erlandss</dc:creator>
      <dc:date>2023-03-21T09:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB CDC host, SDK example is not receiving any data</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1619148#M51984</link>
      <description>&lt;P&gt;You are welcome!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-CDC-host-SDK-example-is-not-receiving-any-data/m-p/1619148#M51984</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-21T11:16:00Z</dc:date>
    </item>
  </channel>
</rss>

