<?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 How to set USB_OTG1_PWR in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2174985#M35273</link>
    <description>&lt;P&gt;Taking the iMXRT1010 as a specific example, section 35.3 of the reference manual defines three signals belonging to the USB controller:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;USB_OTG1_ID (input)&lt;/LI&gt;&lt;LI&gt;USB_OTG1_OC (input)&lt;/LI&gt;&lt;LI&gt;USB_OTG1_PWR (output)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;USB_OTG1_ID is sampled and appears in the&amp;nbsp;USB_nOTGSC register.&lt;/P&gt;&lt;P&gt;USB_OTG1_OC appears in the OCA field of the USB_nPORTSC register.&lt;/P&gt;&lt;P&gt;How is&amp;nbsp;USB_OTG1_PWR controlled? I don't see any register field which controls this output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Sep 2025 11:02:45 GMT</pubDate>
    <dc:creator>expertsleepers</dc:creator>
    <dc:date>2025-09-24T11:02:45Z</dc:date>
    <item>
      <title>How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2174985#M35273</link>
      <description>&lt;P&gt;Taking the iMXRT1010 as a specific example, section 35.3 of the reference manual defines three signals belonging to the USB controller:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;USB_OTG1_ID (input)&lt;/LI&gt;&lt;LI&gt;USB_OTG1_OC (input)&lt;/LI&gt;&lt;LI&gt;USB_OTG1_PWR (output)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;USB_OTG1_ID is sampled and appears in the&amp;nbsp;USB_nOTGSC register.&lt;/P&gt;&lt;P&gt;USB_OTG1_OC appears in the OCA field of the USB_nPORTSC register.&lt;/P&gt;&lt;P&gt;How is&amp;nbsp;USB_OTG1_PWR controlled? I don't see any register field which controls this output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 11:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2174985#M35273</guid>
      <dc:creator>expertsleepers</dc:creator>
      <dc:date>2025-09-24T11:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2177673#M35326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213907"&gt;@expertsleepers&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This signal is used to control the power supply to the USB VBUS line. In USB OTG applications, the device may act as a host and needs to provide power to the connected USB device. The USB_OTG1_PWR signal is typically connected to a Power Management IC (PMIC) or a power switch that enables or disables VBUS power.&lt;/P&gt;
&lt;P&gt;As mentioned on the following post (&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-OTG1-PWR-OC-VBUS/m-p/892357" target="_blank"&gt;USB_OTG1_PWR, OC &amp;amp; VBUS - NXP Community&lt;/A&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt; "&lt;SPAN&gt;USB_OTGx_PWR is the logic output, operating as GPIO to control an external switch that provides the in-system VBUS power in Host mode.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 18:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2177673#M35326</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-09-29T18:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2177984#M35337</link>
      <description>&lt;P&gt;Thanks, but I already understand the purpose of the signal. What I was asking is, how is the signal controlled in software?&lt;/P&gt;&lt;P&gt;What causes&amp;nbsp;&lt;SPAN&gt;USB_OTG1_PWR to be set or not set?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 07:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2177984#M35337</guid>
      <dc:creator>expertsleepers</dc:creator>
      <dc:date>2025-09-30T07:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2178427#M35340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213907"&gt;@expertsleepers&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is operated as a GPIO output, meaning that the developer is responsible of setting it when they intend to send a signal though this pin.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 21:28:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2178427#M35340</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-09-30T21:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2178667#M35344</link>
      <description>&lt;P&gt;If that's the case, why does it appear as a specific signal in the MUX? (GPIO_AD_00 and GPIO_AD_12 for the iMXRT1010). Surely any GPIO could be used?&lt;/P&gt;&lt;P&gt;Say I have&amp;nbsp;USB_OTG1_PWR assigned to&amp;nbsp;GPIO_AD_00 in the MUX. Which register would I write to change the output signal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 08:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2178667#M35344</guid>
      <dc:creator>expertsleepers</dc:creator>
      <dc:date>2025-10-01T08:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2178942#M35348</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213907"&gt;@expertsleepers&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;For&amp;nbsp;USB_OTG1_PWR, you can use either GPIO or USB IP to control.&lt;/P&gt;
&lt;P&gt;There are two registers related to USB_OTG1_PWR:&lt;/P&gt;
&lt;P&gt;1. USB OTG Control 1 Register (CTRL1),&amp;nbsp;PWR_POL bit field to control the output polarity.&lt;BR /&gt;2. Port Status &amp;amp; Control (PORTSC1),&amp;nbsp;PP bit to enable it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following code on RT1010 can be taken as reference&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;USBNC-&amp;gt;USB_OTGn_CTRL |= USBNC_USB_OTGn_CTRL_PWR_POL_MASK;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USBNC-&amp;gt;USB_OTGn_CTRL &amp;amp;= (~USBNC_USB_OTGn_CTRL_PWR_POL_MASK);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 18:17:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2178942#M35348</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-10-01T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set USB_OTG1_PWR</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2179158#M35354</link>
      <description>Thanks, that's what I was missing.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2025 07:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-set-USB-OTG1-PWR/m-p/2179158#M35354</guid>
      <dc:creator>expertsleepers</dc:creator>
      <dc:date>2025-10-02T07:25:38Z</dc:date>
    </item>
  </channel>
</rss>

