<?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: LPC54628 USB host example in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545877#M50545</link>
    <description>&lt;P&gt;Thank you Daniel for the helps!&lt;/P&gt;</description>
    <pubDate>Sat, 29 Oct 2022 02:56:18 GMT</pubDate>
    <dc:creator>changlin_ren</dc:creator>
    <dc:date>2022-10-29T02:56:18Z</dc:date>
    <item>
      <title>LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1539597#M50444</link>
      <description>&lt;P&gt;I work on USB0 host programming on a LPC54607 controller.&lt;BR /&gt;I have a demo board OM13098 (LPC54628) and run example code &amp;lt; lpcxpresso54628_host_msd_fatfs_bm &amp;gt; to prove concept. I am using USB0 FullSpeed on J3 and have a usb micro AB cable connect to the board and have USB 2.0 A female to A female attached to the USB A cable so I can plug in a USB thumb drive in it.&lt;BR /&gt;I set break points in usb_host_ohci.c line 2690 and 2706 to listen on&lt;BR /&gt;USB_HOST_OHCI_EVENT_ATTACH/USB_HOST_OHCI_EVENT_DETACH events. The issue is when I plug/unplug the thumb drive, I cannot get the breakpoint.&lt;/P&gt;&lt;P&gt;Can anyone point what wrong with my process? I appreciate for any input.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 21:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1539597#M50444</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2022-10-18T21:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1541416#M50462</link>
      <description>&lt;P&gt;After reinstall and update MCUxpresso to v11.6.1 and upgrade SDK to 2.12.0, I figured out a way to make lpcxpresso54628_host_msd_fatfs_bm and&amp;nbsp;lpcxpresso54628_host_hid_mouse_bm working.&lt;BR /&gt;&lt;BR /&gt;What I found that if I comment out USB0_VBUS configuration(pin_mux.c line 93), the code does not work, I looked at LPC546xx user manual the USB_VBUS is for device function only. can anyone explain it to me? Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 21:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1541416#M50462</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2022-10-21T21:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542132#M50471</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;USB_VBUS is for monitoring the voltage on the USB bus. As said in the datasheet "Monitors the presence of USB0 bus power" [Page 20, Table 4, LPC546xx Product sata sheet, Rev 2.8, 09/2020].&lt;/P&gt;
&lt;P&gt;The Reference Manual says the following:&lt;/P&gt;
&lt;P&gt;"This bit indicates if VBUS is detected or not. The bit raises immediately when VBUS becomes high. It drops to 0 if VBUS is low for at least 3 ms. If this bit is high and the DCon bit is set, the hardware will enable the pull-up resistor to signal a connect" [Page 915, Table 893, UM10912&lt;BR /&gt;LPC546xx User manual, Rev 2.4, 11/2019].&lt;/P&gt;
&lt;P&gt;Please, let us know if this information is helpful or not.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 19:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542132#M50471</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2022-10-21T19:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542147#M50472</link>
      <description>&lt;P&gt;Thank you Daniel!&lt;/P&gt;&lt;P&gt;I noticed that the following quote is from chapter 37 for USB0 device controller.&lt;BR /&gt;&lt;SPAN&gt;"This bit indicates if VBUS is detected or not. The bit raises immediately when VBUS becomes high. It drops to 0 if VBUS is low for at least 3 ms. If this bit is high and the DCon bit is set, the hardware will enable the pull-up resistor to signal a connect" [Page 915, Table 893, UM10912&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC546xx User manual, Rev 2.4, 11/2019].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From &lt;SPAN&gt;Chapter 38 Table 907, it says&amp;nbsp;USB0_VBUS is "Device only function."&amp;nbsp; Why the example code needs to config this pin for USB host?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 20:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542147#M50472</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2022-10-21T20:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542920#M50491</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;VBUS should be used in the internal circuitry for USB (for D+ and D-), meaning that if VBUS is not entering the system, the circuitry is not being supplied.&lt;/P&gt;
&lt;P&gt;Could be that the RM is referring to the usage of VBUS registers, but not the signal itself. Still, let us confirm what that note is for.&lt;/P&gt;
&lt;P&gt;Please, let us know if this information is helpful or not.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542920#M50491</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2022-10-24T20:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542925#M50492</link>
      <description>&lt;P&gt;Thank you Daniel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me your findings.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 19:34:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1542925#M50492</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2022-10-26T19:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545264#M50532</link>
      <description>&lt;P&gt;We do apologize for the delay on this one.&lt;/P&gt;
&lt;P&gt;We cannot find anything regarding the "VBUS&amp;nbsp;&lt;SPAN&gt;Device only function&lt;/SPAN&gt;" note.&lt;/P&gt;
&lt;P&gt;Still, VBUS is required by USB standard, meaning this signal should be given to the Host and Device.&lt;/P&gt;
&lt;P&gt;We will go back to our position of "&lt;SPAN&gt;Could be that the RM is referring to the usage of VBUS registers&lt;/SPAN&gt;" and not that the Host does not need the signal at all. As said before, by USB standard, all 4 signals (VBUS, D+, D- and GND) are required [Page 17, Section 4.2.1 Electrical, Universal Serial Bus Specification, Rev 2, 04/2000].&lt;/P&gt;
&lt;P&gt;Thanks for your patience, let us know if this information is helpful or not.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 20:04:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545264#M50532</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2022-10-27T20:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545267#M50533</link>
      <description>&lt;P&gt;Thank you Daniel for the clarification. I agree with you "&lt;SPAN&gt;by USB standard, all 4 signals (VBUS, D+, D- and GND) are required".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For "VBUS &lt;/SPAN&gt;&lt;SPAN&gt;Device only function&lt;/SPAN&gt;&lt;SPAN&gt;", please double check&amp;nbsp;USB0_VBUS pin description in 'Table 907. USB Host pin description' [Page 932,&amp;nbsp;&amp;nbsp;Chapter 38: LPC546xx USB0 Full-speed Host controller,&amp;nbsp;UM10912&amp;nbsp; LPC546xx User manual,&amp;nbsp;Rev. 2.4 — 11 November 2019]&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please update &lt;SPAN&gt;USB0_VBUS pin&amp;nbsp;&lt;/SPAN&gt;description to clear the confusion.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 20:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545267#M50533</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2022-10-27T20:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545844#M50544</link>
      <description>&lt;P&gt;Thanks for your patience.&lt;/P&gt;
&lt;P&gt;We will send our comments to the documentation team.&lt;/P&gt;
&lt;P&gt;Again, thanks for your patience&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 21:30:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545844#M50544</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2022-10-28T21:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545877#M50545</link>
      <description>&lt;P&gt;Thank you Daniel for the helps!&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2022 02:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1545877#M50545</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2022-10-29T02:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1618103#M51952</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing a similar problem. Am trying to run the fatfs example with USB FS. Code is stuck at "host init done". Please check &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LCP54628-USB-FS-Mass-Storage-MCUXpresso-Configuration/td-p/1609569" target="_self"&gt;this&lt;/A&gt; thread&lt;/P&gt;&lt;P&gt;Were you successful in running the example with USB FS?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 04:09:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1618103#M51952</guid>
      <dc:creator>PawanNXP</dc:creator>
      <dc:date>2023-03-20T04:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1618546#M51968</link>
      <description>&lt;P&gt;Hello Pawan,&lt;BR /&gt;&lt;SPAN&gt;Thank you for reply on my post!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, I am able to run the example with USB FS(J3) on LPC54xxx Demo board, I took the exactly steps ZhangJennie provided in your original post. My issue was from one of our production board.&lt;BR /&gt;&lt;BR /&gt;To test &amp;lt;&lt;SPAN&gt;lpcxpresso54628_host_msd_fatfs_bm&amp;gt;, first&amp;nbsp;&lt;/SPAN&gt;set break points under 'kUSB_HostEventAttach' and 'kUSB_HostEventDetach' in USB_HostEvent(), you should see the code break when you plug/unplug a USB drive from J3 port.&lt;BR /&gt;If you can break on above break points, then set break points in host_msd_fatfs.c to step through the rest of the example code.&lt;BR /&gt;If you cannot see the breaks, goto usb_hostohci.c set break point under&amp;nbsp;USB_HostOhciTaskFunction() to find out what is the root cause.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Changlin&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 15:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1618546#M51968</guid>
      <dc:creator>changlin_ren</dc:creator>
      <dc:date>2023-03-20T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54628 USB host example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1618593#M51969</link>
      <description>&lt;P&gt;Hello Changlin Ren,&lt;/P&gt;&lt;P&gt;Thanks for your response and the suggestion.&lt;/P&gt;&lt;P&gt;I was able to make USB FS work, was missing a jumper setting (JP10 needs to be connected).&lt;/P&gt;&lt;P&gt;Appreciate your reply..&lt;/P&gt;&lt;P&gt;Pawan&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 16:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-USB-host-example/m-p/1618593#M51969</guid>
      <dc:creator>PawanNXP</dc:creator>
      <dc:date>2023-03-20T16:21:22Z</dc:date>
    </item>
  </channel>
</rss>

