<?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 LPCXpresso54608 USB host  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54608-USB-host/m-p/800392#M32181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using 'usb_keyboard2mouse' and I am trying to understand how the full speed host (USB0) is being configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;The example configures USB0 as a host controller.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;The specs (Chapter 38.6.1 Pin Description) defines USB0_VBUS as "device only function" . I interpret this as “USB0_VBUS” should not be configured (the table does not even define this as an Output)". So I am confused at the source code in the example. I have the following 2 questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin-top: 0in;"&gt;&lt;LI style="color: #3d3d3d; margin-top: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;why is the function pin_mux.c::BOARD_InitPins() configuring USB0_VBUS since it should only be configured when using USB0 in device mode and the program actually configures USB0 as a host controller?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #3d3d3d; margin-top: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;what is the purpose of configuring PIO4_9 (main.c) as GPIO output ? I don’t &amp;nbsp;find any references to PI04_9 in the dev board manual. The comment refers to VBUS and I am trying to understand how it relates to USB0_VBUS.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2018 19:05:04 GMT</pubDate>
    <dc:creator>belmontbob59</dc:creator>
    <dc:date>2018-07-10T19:05:04Z</dc:date>
    <item>
      <title>LPCXpresso54608 USB host</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54608-USB-host/m-p/800392#M32181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using 'usb_keyboard2mouse' and I am trying to understand how the full speed host (USB0) is being configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;The example configures USB0 as a host controller.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;The specs (Chapter 38.6.1 Pin Description) defines USB0_VBUS as "device only function" . I interpret this as “USB0_VBUS” should not be configured (the table does not even define this as an Output)". So I am confused at the source code in the example. I have the following 2 questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin-top: 0in;"&gt;&lt;LI style="color: #3d3d3d; margin-top: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;why is the function pin_mux.c::BOARD_InitPins() configuring USB0_VBUS since it should only be configured when using USB0 in device mode and the program actually configures USB0 as a host controller?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #3d3d3d; margin-top: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;what is the purpose of configuring PIO4_9 (main.c) as GPIO output ? I don’t &amp;nbsp;find any references to PI04_9 in the dev board manual. The comment refers to VBUS and I am trying to understand how it relates to USB0_VBUS.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54608-USB-host/m-p/800392#M32181</guid>
      <dc:creator>belmontbob59</dc:creator>
      <dc:date>2018-07-10T19:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54608 USB host</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54608-USB-host/m-p/800393#M32182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben，&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1)why is the function pin_mux.c::BOARD_InitPins() configuring USB0_VBUS since it should only be configured when using USB0 in device mode and the program actually configures USB0 as a host controller?&lt;BR /&gt;-- Thanks for your reporting, I'll contact to SDK team for checking it.&lt;BR /&gt;2) what is the purpose of configuring PIO4_9 (main.c) as GPIO output ? I don’t&amp;nbsp; find any references to PI04_9 in the dev board manual. The comment refers to VBUS and I am trying to understand how it relates to USB0_VBUS.&lt;BR /&gt;-- The PIO4_9 is nothing with the USB0_VBUS pin, you can figure it out when reviewing the SCH of LPCXpresso54608 board.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65234iE0F3074CC85A76CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 07:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54608-USB-host/m-p/800393#M32182</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-07-11T07:44:29Z</dc:date>
    </item>
  </channel>
</rss>

