<?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: i.MX8M Mini - IoT Core - USB Device in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/1166384#M163363</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/19116"&gt;@marcow&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you have success in switching USB port to device mode with Windows 10 IoT Core? I'm doing research for the same task - I need one of USB ports to be connected to PC (or other capable device) as a webcam. I suppose a lot of low-level manual work here and still not sure if it's even possible.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 01:44:43 GMT</pubDate>
    <dc:creator>Alexey_Zazhorik</dc:creator>
    <dc:date>2020-10-13T01:44:43Z</dc:date>
    <item>
      <title>i.MX8M Mini - IoT Core - USB Device</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/925157#M138971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some questions regarding the i.MX8M Mini running IoT Core and the USB stacks.&lt;BR /&gt;As the i.MX8M has two integrated USB OTG controllers, I was wondering if those can be used in parallel on IoT Core. One would be a standard USB Host and the other a USB Device/Function interface.&lt;BR /&gt;The two USB functions would be:&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;USB CDC/ACM: The device should expose a Virtual COM Port when connected to a computer, so it can be used for simple serial communication between a PC and the device&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;USB HID Keyboard: The device should expose a second interface as an HID Keyboard, so the device is able to send simple values to a PC without the need for a special driver on the PC, since it would use the HID protocol&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On WEC7 I was able to use the built-in Microsoft driver for the CDC part and I wrote a custom driver for the HID Keyboard part. This driver would accept simple ASCII strings and then convert them to keystrokes that were sent through USB to the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to figure out if and how it would be possible to reach the same functionality with IoT Core and an i.MX8M Mini based SOM. I found the documentation regarding USB OTG support for IoT Core: &lt;A href="https://docs.microsoft.com/en-us/windows/iot-core/learn-about-hardware/usb-support" target="test_blank"&gt;https://docs.microsoft.com/en-us/windows/iot-core/learn-about-hardware/usb-support&lt;/A&gt;&lt;BR /&gt;Using the schematic diagram of the different components, I am trying to figure out, what is currently available and what would need to be supplied (e.g. by us or by a SOM provider):&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;IoT Core Drivers for USB CDC/ACM and USB HID Keyboard: From what I could gather, there are currently no class drivers supplied with IoT Core. Is that correct?&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;USB Function Stack: I am not sure which controllers the i.MX8M Mini uses. Are those supported by NXP/MS on IoT Core or would we need a custom driver?&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;USB Role Switching driver: our USB Controllers would not need to switch, one is always a Host and the other always a Device. Is that currently possible?&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; &amp;nbsp;Is there any external hardware necessary with the i.MX8M Mini? From what I could gather, the controllers and PHYs are already part of the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input on these topics would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 05:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/925157#M138971</guid>
      <dc:creator>marcow</dc:creator>
      <dc:date>2019-09-16T05:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini - IoT Core - USB Device</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/925158#M138972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Connect USB keyboard and mouse, otherwise it might hung up while booting. You can try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 05:58:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/925158#M138972</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2019-09-16T05:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini - IoT Core - USB Device</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/1166384#M163363</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/19116"&gt;@marcow&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you have success in switching USB port to device mode with Windows 10 IoT Core? I'm doing research for the same task - I need one of USB ports to be connected to PC (or other capable device) as a webcam. I suppose a lot of low-level manual work here and still not sure if it's even possible.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 01:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-IoT-Core-USB-Device/m-p/1166384#M163363</guid>
      <dc:creator>Alexey_Zazhorik</dc:creator>
      <dc:date>2020-10-13T01:44:43Z</dc:date>
    </item>
  </channel>
</rss>

