<?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>Kinetis Software Development KitのトピックRe: USB stack composite device 6 cdc</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519503#M5425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andoni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every CDC interface does use 3 endpoints (One IN Interrupt endpoint, One IN Bulk Endpoint and One OUT Bulk Endpoint, 3 in Total) each, so, if you are using 3 different endpoints for every interface, then you have used 15 endpoints for first 5 CDCs. Once you want to add a new one, then you do not have enough endpoints for next CDC interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you are probably using all available endpoints. Could you please confirm this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 20:20:31 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2016-06-14T20:20:31Z</dc:date>
    <item>
      <title>USB stack composite device 6 cdc</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519502#M5424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am using a TWR - K65F180M board. I amtrying to implement a usb composite device with 6 cdc usuing the usb stack included in the KSDK 1.3.0. I was able to configure the stack to use 5 CDC but when I add the 6th the PC does not enumerate any of the COMs. Can some one help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 18:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519502#M5424</guid>
      <dc:creator>andoniiba1</dc:creator>
      <dc:date>2016-06-13T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: USB stack composite device 6 cdc</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519503#M5425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andoni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every CDC interface does use 3 endpoints (One IN Interrupt endpoint, One IN Bulk Endpoint and One OUT Bulk Endpoint, 3 in Total) each, so, if you are using 3 different endpoints for every interface, then you have used 15 endpoints for first 5 CDCs. Once you want to add a new one, then you do not have enough endpoints for next CDC interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you are probably using all available endpoints. Could you please confirm this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 20:20:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519503#M5425</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-06-14T20:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB stack composite device 6 cdc</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519504#M5426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;You are correct I am using 3 endpoints per CDC, but I modified the following macros:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define KHCI_MAX_ENDPOINT 19&amp;nbsp; (originally 16)&lt;/P&gt;&lt;P&gt;#define USBCFG_DEV_MAX_ENDPOINTS&amp;nbsp; 19&amp;nbsp;&amp;nbsp; (originally 16)&lt;/P&gt;&lt;P&gt;#define MAX_DEVICE_SERVICE_NUMBER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19&amp;nbsp;&amp;nbsp;&amp;nbsp; (originally 16)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a limitation of 16 endpoints in the usb stack?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Andoni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:01:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519504#M5426</guid>
      <dc:creator>andoniiba1</dc:creator>
      <dc:date>2016-06-15T15:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB stack composite device 6 cdc</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519505#M5427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andoni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use more than 16 endpoints, USB uses only 16 endpoints (bidirectional) so you cannot extend this value to a higher value. You will need to use the bidirectional feature (use for example, endpoint 1 OUT and endpoint 1 IN for one CDC device) for each endpoint in order to have enough endpoints for all 6 CDC devices:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Endpoints.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59816i5322C0472214369F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Endpoints.jpg" alt="Endpoints.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:40:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-stack-composite-device-6-cdc/m-p/519505#M5427</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-06-15T15:40:28Z</dc:date>
    </item>
  </channel>
</rss>

