<?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 Configure USB OTG2 port in peripheral mode in iMX6 Eval Board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686021#M106155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for the guidance/document for the configuring USB OTG2 port in the peripheral mode. By default it is configured in Host mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made changes in the eval board imx6ul-14x14-evk.dts as below.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;amp;usbotg2 {&lt;BR /&gt;dr_mode = "peripheral";&lt;BR /&gt;disable-over-current;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;What else required to configure second USB port in peripheral mode?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Secondly, what should I configure to tell gadget examples(g_serial and g_hid)&amp;nbsp;to link with this second USB port?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am searching for these thing since last few days but unable to find any hint/example/document.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Please guide.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Krunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 09:41:59 GMT</pubDate>
    <dc:creator>krunalk</dc:creator>
    <dc:date>2017-05-19T09:41:59Z</dc:date>
    <item>
      <title>Configure USB OTG2 port in peripheral mode in iMX6 Eval Board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686021#M106155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for the guidance/document for the configuring USB OTG2 port in the peripheral mode. By default it is configured in Host mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made changes in the eval board imx6ul-14x14-evk.dts as below.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;amp;usbotg2 {&lt;BR /&gt;dr_mode = "peripheral";&lt;BR /&gt;disable-over-current;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;What else required to configure second USB port in peripheral mode?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Secondly, what should I configure to tell gadget examples(g_serial and g_hid)&amp;nbsp;to link with this second USB port?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am searching for these thing since last few days but unable to find any hint/example/document.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Please guide.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Krunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 09:41:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686021#M106155</guid>
      <dc:creator>krunalk</dc:creator>
      <dc:date>2017-05-19T09:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configure USB OTG2 port in peripheral mode in iMX6 Eval Board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686022#M106156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293126" data-username="krunalk" href="https://community.nxp.com/people/krunalk"&gt;Krunal&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For 2 USB OTG ports on i.MX6UL EVK, only one of them can be configured as OTG mode, the other must be Host mode. see Errata of i.MX6UL:&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/19393i73B13AA490B32364/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&gt;On i.mx6ul EVK, USB OTG1 is configured as Dual role mode, so USB OTG2 must work at USB Host Mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;TIC Weidong sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 16:07:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686022#M106156</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2017-05-19T16:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Configure USB OTG2 port in peripheral mode in iMX6 Eval Board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686023#M106157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks TIC Weidong sun for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in errata sheet, the board can support two devices simultaneously if support for the cable detach is not required.&lt;/P&gt;&lt;P&gt;I would like to know impact of this limitations. If limitations are acceptable then I would like to refer such implementation. Could you please provide us such information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Krunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 04:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/686023#M106157</guid>
      <dc:creator>krunalk</dc:creator>
      <dc:date>2017-05-22T04:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Configure USB OTG2 port in peripheral mode in iMX6 Eval Board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/1250092#M171251</link>
      <description>&lt;P&gt;Is it possible to set OTG1 as host and OTG2 as OTG mode by changing the .dts settings? If OTG1 is configured as host only, can we still use mfgtools to burn the images to SD or EMMC?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 05:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-USB-OTG2-port-in-peripheral-mode-in-iMX6-Eval-Board/m-p/1250092#M171251</guid>
      <dc:creator>viking_yuan</dc:creator>
      <dc:date>2021-03-23T05:50:56Z</dc:date>
    </item>
  </channel>
</rss>

