I am trying to build an USB composite device (UVC + UAC + CDC). Among these, the UVC and CDC works. But the UAC is shown in Windows Device Manager with "This device cannot start. (Code 10)" error. I used Thesycon Descriptor dumper utility to inspect the descriptors. It reports error for the UAC Endpoint descriptor. I m confused with this.
I am using USB HighSpeed. Firmware is attached.
In the "Endpoint descriptor for ISO streaming Audio data" you have not provided bRefresh & bSynchAddress information. Please try and let us know.
You can refer attached link for Audio class specifications: http://www.usb.org/developers/docs/devclass_docs/audio10.pdf
Do you have any working example for UVC + UAC Composite device. I need UAC to be a part of composite compulsorily. Even with the proper descriptor , if its a composite device, Windows shows error code 10 and yellow mark for the UAC device.
Is there anything to be handled in the setup call back in the source code? Please share a working example.
Please find the attached UVC + UAC example project. When this project is loaded onto FX3, it will enumerate with both UVC and UAC interfaces on a High-Speed port, as the descriptors are implemented only for High-Speed.
The UAC request handling is not done in this project. You can refer to the 'cyfxuac' example project in FX3 SDK
I need the UAC to be comprised of Speaker and Microphone (as a single UAC class) along with UVC class.
I was trying to build an UAC device alone (with speaker and microphone). Even that shows up error in the device manager. I guess it is something to do with bmacontrols. If i put bmacontrols of feature unit descriptor as all zeroes, the error goes away. But the audio devices does not appear in the Audio Control or Audacity software.
Attached is the firmware. Please help me.