<?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: Composite USB-CDC and Audio Class</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486886#M4307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I am trying something similar and getting the same error:&amp;nbsp; "This device cannot start. (Code 10) The I/O device is configured incorrectly or the configuration parameters to the driver are incorrect."&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; I am 'basically' trying to add the audio components from the current sdk example dev_composite_hid_audio_unified to the dev_composite_cdc_vcom_cdc_vcom example.&amp;nbsp; In other words, adding the audio to a dual cdc/vcom implementation on a custom board.&amp;nbsp; I tried adding the IAD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Interface Association Descriptor for audio */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_IAD_DESC_SIZE, /* Size of this descriptor in bytes */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_DESCRIPTOR_TYPE_INTERFACE_ASSOCIATION,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* INTERFACE_ASSOCIATION Descriptor Type&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x04,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The first interface number associated with this function (4 previous interfaces for vcom*2) */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x03,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The number of contiguous interfaces associated with this function */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_AUDIO_CLASS,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The function belongs to the Audio Class&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_SUBCLASS_AUDIOCONTROL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x00,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The function uses the No class specific protocol required Protocol&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x02,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The Function string descriptor index */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't help.&amp;nbsp; As far as I can tell, I have adjusted all the parameters, indexes, counts, etc. that need to be changed.&amp;nbsp; I am out of ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 09:11:24 GMT</pubDate>
    <dc:creator>michaelhuslig</dc:creator>
    <dc:date>2018-10-09T09:11:24Z</dc:date>
    <item>
      <title>Composite USB-CDC and Audio Class</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486884#M4305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to make a USB device composite with CDC and Audio class.&lt;/P&gt;&lt;P&gt;The audio calls and CDC configurations work on their own and the CDC works in the composite but the interfaces in the audio class don't - the host says that they are somehow incorrectly configured (the host does however sent a Setinterface to each of them).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuration descriptor defines the CDC interfaces first (as interface association descriptor&amp;nbsp; with CDC control as interface 0 and CDC data as interface 1), followed by 3 audio interfaces (audio control = 2, loud speaker = 3, microphone = 4).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing that I am aware of that should influence the audio configuration when the interfaces are changes is in the audio control interface's function header where two audio interfaces and their first and last interface numbers are specified:&lt;BR /&gt;- Audio alone these are 1 and 2.&lt;/P&gt;&lt;P&gt;- With CDC before it (with its two interfaces) 3 and 4 are specified instead.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone done this or know the details as to what can go wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 01:43:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486884#M4305</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-01-14T01:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Composite USB-CDC and Audio Class</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486885#M4306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;Solved with an interface association descriptor wrapped around the audio interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 00:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486885#M4306</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-01-15T00:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Composite USB-CDC and Audio Class</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486886#M4307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I am trying something similar and getting the same error:&amp;nbsp; "This device cannot start. (Code 10) The I/O device is configured incorrectly or the configuration parameters to the driver are incorrect."&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; I am 'basically' trying to add the audio components from the current sdk example dev_composite_hid_audio_unified to the dev_composite_cdc_vcom_cdc_vcom example.&amp;nbsp; In other words, adding the audio to a dual cdc/vcom implementation on a custom board.&amp;nbsp; I tried adding the IAD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Interface Association Descriptor for audio */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_IAD_DESC_SIZE, /* Size of this descriptor in bytes */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_DESCRIPTOR_TYPE_INTERFACE_ASSOCIATION,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* INTERFACE_ASSOCIATION Descriptor Type&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x04,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The first interface number associated with this function (4 previous interfaces for vcom*2) */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x03,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The number of contiguous interfaces associated with this function */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_AUDIO_CLASS,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The function belongs to the Audio Class&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;USB_SUBCLASS_AUDIOCONTROL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x00,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The function uses the No class specific protocol required Protocol&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x02,&amp;nbsp;&amp;nbsp; &amp;nbsp;/* The Function string descriptor index */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't help.&amp;nbsp; As far as I can tell, I have adjusted all the parameters, indexes, counts, etc. that need to be changed.&amp;nbsp; I am out of ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 09:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486886#M4307</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2018-10-09T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Composite USB-CDC and Audio Class</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486887#M4308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it to work by switching the order of the audio and cdc descriptors in the configuration descriptor.&amp;nbsp; I had used the correct parameters as far as I knew.&amp;nbsp; I also switched the audio and HID descriptors in the original audio_unified clone, changing the endpoint and interface indices as needed, and that also caused the windows error.&amp;nbsp; So the real cause is still up in the air.&lt;/P&gt;&lt;P&gt;Mike H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Composite-USB-CDC-and-Audio-Class/m-p/486887#M4308</guid>
      <dc:creator>michaelhuslig</dc:creator>
      <dc:date>2018-10-22T07:19:15Z</dc:date>
    </item>
  </channel>
</rss>

