<?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: Two interface on USB CDC host in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Two-interface-on-USB-CDC-host/m-p/1387868#M17597</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177982"&gt;@SM_98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can use the MCUxpresso Config Tools to create and add CDC interface. It's very easy. RT1064 OTG USB has up to 8 bidirectional endpoints, enough for two CDC interface.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingpan_0-1639636262496.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165392i53050971B6635570/image-size/large?v=v2&amp;amp;px=999" role="button" title="jingpan_0-1639636262496.png" alt="jingpan_0-1639636262496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 06:36:02 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2021-12-16T06:36:02Z</dc:date>
    <item>
      <title>Two interface on USB CDC host</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Two-interface-on-USB-CDC-host/m-p/1385150#M17508</link>
      <description>&lt;P&gt;I am working on USB CDC host based application on RT1064 (SDK version 2.8.2). At present, USB CDC host is up and I am able to communicate with the USB device. The USB device provides 2 interfaces for data communication. In both interfaces data communication is working independently (That is the interface configured at the time works).&lt;/P&gt;&lt;P&gt;I need both the interfaces to work at the same time.&lt;/P&gt;&lt;P&gt;1. I could not find any example application for USB host that shows 2 or more host interface working at the same time. I saw this example &lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Implementation-of-Dual-USB-Host-on-RT1060-EVK/ta-p/1321021" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Implementation-of-Dual-USB-Host-on-RT1060-EVK/ta-p/1321021&lt;/A&gt; but it initializes two different USB instances with separate events and tasks.&lt;/P&gt;&lt;P&gt;2. How many maximum interfaces can be configured for USB CDC host in RT1064. I can see&amp;nbsp;USB_HOST_CONFIG_CONFIGURATION_MAX_INTERFACE is configured as 20 and USB_HOST_CONFIG_INTERFACE_MAX_EP as 4, so does that mean 20 interfaces each with 4 end points can be used?&lt;/P&gt;&lt;P&gt;3. There is a composite USB device example in the SDK. As per my understanding of the code usb_cdc_vcom_struct_t is created for each interface in usb_device_composite_struct_t. So for host USB should I make a composite structure with multiple cdc_instance_struct_t. What other parameters it may need? I am still not sure how the USB_HostCdcDataInCallback, USB_HostCdcDataOutCallback, USB_HostCdcInterruptCallback and USB_HostCdcControlCallback will handle the data received and send to individual host interfaces.&lt;/P&gt;&lt;P&gt;Similar to USB device example if a sample example for multiple USB CDC host is available it will be easy to understand.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Two-interface-on-USB-CDC-host/m-p/1385150#M17508</guid>
      <dc:creator>SM_98</dc:creator>
      <dc:date>2021-12-11T12:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Two interface on USB CDC host</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Two-interface-on-USB-CDC-host/m-p/1387868#M17597</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177982"&gt;@SM_98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can use the MCUxpresso Config Tools to create and add CDC interface. It's very easy. RT1064 OTG USB has up to 8 bidirectional endpoints, enough for two CDC interface.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingpan_0-1639636262496.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165392i53050971B6635570/image-size/large?v=v2&amp;amp;px=999" role="button" title="jingpan_0-1639636262496.png" alt="jingpan_0-1639636262496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 06:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Two-interface-on-USB-CDC-host/m-p/1387868#M17597</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-12-16T06:36:02Z</dc:date>
    </item>
  </channel>
</rss>

