<?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: What is host mode USB_PWRD input for?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-host-mode-USB-PWRD-input-for/m-p/523130#M5766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Tue Jul 16 04:12:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The logic state of USB_PWRD pin appears at the PPS bit of HcRhPortStatus register on OHCI, when this register is read by firmware. When firmware writes to PPS bit, its state is put to /USB_PPWR pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;USB Host functionality seems to work whether it's connected or not.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OHCI spec doesn't tell that &lt;/SPAN&gt;&lt;STRONG&gt;hardware&lt;/STRONG&gt;&lt;SPAN&gt; should see PPS bit status, to allow device connection. It's firmware's responsibility. If your firmware wouldn't see PPS bit, it could connect without USB_PWRD signaling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:42:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:42:26Z</dc:date>
    <item>
      <title>What is host mode USB_PWRD input for?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-host-mode-USB-PWRD-input-for/m-p/523129#M5765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jdupre on Mon Jul 15 14:02:58 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand the use of USB_PWRD.&amp;nbsp; The 17xx/18xx&amp;nbsp; User manual says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;USB_PWRD2 — Power Status for USB port 2. &lt;STRONG&gt;When using the chip in USB host mode, the USB_PWRD input must be enabled.&lt;/STRONG&gt; The USB host controller will only detect a device connect event when the port power bit is set in the OHCI and the USB_PWRD bit is asserted for the corresponding port.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the Embedded Artists LPC1788 development board.&amp;nbsp; USB2 is configured for use as a host.&amp;nbsp; In this case, J17 typically connects P1.30 to VCC on the host port (which is turned on and off via USB_PPWR2). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have USB OHCI code.&amp;nbsp; In this code, P1.30 is configured as USB_VBUS, not USB_PWRD2.&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;The thing that puzzles me is that the USB host code detects a device being plugged in and/or removed EVEN IF P1.30 IS NOT CONNECTED&lt;/STRONG&gt;&lt;SPAN&gt;. (That is, I have removed the J17 jumper so P1.30/USB_PWRD2/USB_VBUS is now floating).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, what exactly is USB_PWRD for?&amp;nbsp; USB Host functionality seems to work whether it's connected or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-host-mode-USB-PWRD-input-for/m-p/523129#M5765</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: What is host mode USB_PWRD input for?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-host-mode-USB-PWRD-input-for/m-p/523130#M5766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Tue Jul 16 04:12:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The logic state of USB_PWRD pin appears at the PPS bit of HcRhPortStatus register on OHCI, when this register is read by firmware. When firmware writes to PPS bit, its state is put to /USB_PPWR pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;USB Host functionality seems to work whether it's connected or not.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OHCI spec doesn't tell that &lt;/SPAN&gt;&lt;STRONG&gt;hardware&lt;/STRONG&gt;&lt;SPAN&gt; should see PPS bit status, to allow device connection. It's firmware's responsibility. If your firmware wouldn't see PPS bit, it could connect without USB_PWRD signaling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-is-host-mode-USB-PWRD-input-for/m-p/523130#M5766</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:26Z</dc:date>
    </item>
  </channel>
</rss>

