Sending multiple USB device descriptors while using the audio interface

Technical questions regarding the XTC tools and programming with XMOS.
Jakub
Newbie
Posts: 1
Joined: Thu Aug 01, 2024 2:49 pm

Sending multiple USB device descriptors while using the audio interface

Post by Jakub »

I want to be able to define my own second descriptor to use the XK-AUDIO-316-MC EVK as both an audio device and as a serial COM Port. I have seen from the example app AN00124_CDC_VCOM_class how to achieve solely the COM Port functionality.

My problem is that when using the XUA library, the Endpoint 0 is fully controlled by the XUA_Endpoint0 function.

How can I achieve desired functionality that the board can act as the audio device and be able to receive data through a serial port?
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1140
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

I haven't personally done this but know it has been achieved. This post is a bit old but the core of it should still apply -

https://www.xcore.com//viewtopic.php?t=5137
Engineer at XMOS