<?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: [LPC55S28]Dual role port for USB in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-Dual-role-port-for-USB/m-p/2200735#M58967</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107445"&gt;@bryan_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your question.&lt;/P&gt;
&lt;P&gt;The LPC55S28 does not support USB dual-role (OTG) function. However, if you use USB0, there is a pin called &lt;CODE&gt;USB0_IDVALUE&lt;/CODE&gt;. You can develop software to switch between host and device modes at runtime based on the status of this pin.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1762506413747.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364421i729753CA36624B1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1762506413747.png" alt="Alice_Yang_0-1762506413747.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2025 09:07:51 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2025-11-07T09:07:51Z</dc:date>
    <item>
      <title>[LPC55S28]Dual role port for USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-Dual-role-port-for-USB/m-p/2199778#M58954</link>
      <description>&lt;P&gt;dear nxp&lt;/P&gt;&lt;P&gt;When a circuit is added to distinguish between USB device and host modes from a hardware perspective.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on LPC55S28, Is it possible to switch between USB device and host modes at runtime?&lt;/P&gt;&lt;P&gt;Could you provide the example source for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Bryan&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 06:23:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-Dual-role-port-for-USB/m-p/2199778#M58954</guid>
      <dc:creator>bryan_hong</dc:creator>
      <dc:date>2025-11-06T06:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC55S28]Dual role port for USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-Dual-role-port-for-USB/m-p/2200735#M58967</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107445"&gt;@bryan_hong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your question.&lt;/P&gt;
&lt;P&gt;The LPC55S28 does not support USB dual-role (OTG) function. However, if you use USB0, there is a pin called &lt;CODE&gt;USB0_IDVALUE&lt;/CODE&gt;. You can develop software to switch between host and device modes at runtime based on the status of this pin.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1762506413747.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364421i729753CA36624B1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1762506413747.png" alt="Alice_Yang_0-1762506413747.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 09:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-Dual-role-port-for-USB/m-p/2200735#M58967</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-11-07T09:07:51Z</dc:date>
    </item>
  </channel>
</rss>

