<?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 Switch USB role in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Switch-USB-role/m-p/501443#M81161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that iMX6 has a OTG enabled USB controller and I would like to know if an API is available to change the role of the USB controller dynamically from host mode to device mode.&lt;/P&gt;&lt;P&gt;I expect to call this API from user space.&lt;/P&gt;&lt;P&gt;After calling the API I exepct the USB host stack to go down and the USB gadget stack to come up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salvatore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2016 15:02:50 GMT</pubDate>
    <dc:creator>Salvatore1z</dc:creator>
    <dc:date>2016-01-19T15:02:50Z</dc:date>
    <item>
      <title>Switch USB role</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Switch-USB-role/m-p/501443#M81161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that iMX6 has a OTG enabled USB controller and I would like to know if an API is available to change the role of the USB controller dynamically from host mode to device mode.&lt;/P&gt;&lt;P&gt;I expect to call this API from user space.&lt;/P&gt;&lt;P&gt;After calling the API I exepct the USB host stack to go down and the USB gadget stack to come up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salvatore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Switch-USB-role/m-p/501443#M81161</guid>
      <dc:creator>Salvatore1z</dc:creator>
      <dc:date>2016-01-19T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Switch USB role</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Switch-USB-role/m-p/501444#M81162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Salvatore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to control the USB_OTG_ID pin in order to change from one to another here is another thread that you can follow regarding this topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/474851"&gt;How to control the USB_OTG_PWR_CTL_WAKE and USB_OTG_ID of i.MX6 in Linux BSP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jaime&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>Tue, 19 Jan 2016 17:11:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Switch-USB-role/m-p/501444#M81162</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2016-01-19T17:11:23Z</dc:date>
    </item>
  </channel>
</rss>

