- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use uac2.0 in FX3,download firmware to board,my PC(windows10 20H2) device manager dispaly audio device of FX3,but corresponding driver was not installed successfully.
Attachments are partial descriptors for uac2.0,Please check it for me.
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Tags:
- uac2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Apologies for the delayed response.
Also, I apologize for making a mistake in my previous response. For UAC 2.0, Audio In Class-Specific AS Type I Format Descriptor should be same as the one in the project that you shared.
We have developed a project to enumerate FX3 device as a UAC 2.0 device. Please note that this project is not a fully functional project. This example project just makes the device enumerate as a UAC 2.0 device.
There are some modifications in the descriptors (specifically in the clock source descriptors). Also, class specific requests (sampling frequency control) needs to be handled. We have added all these in the project attached along with this response. Please refer to the UAC 2.0 specification to understand more on the requests.
Please use this project as a reference for enumerating the device as a UAC 2.0 device. You can develop your end application by adding functionalities on top of this project.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I could not find the descriptor file attached along with this thread. Currently, we do not have an example project for FX3 that supports UAC2.0 to share for your reference. You can refer to the following thread where a similar issue was asked before:
https://community.cypress.com/t5/USB-Superspeed-Peripherals/FX3-UAC2-0-Enumeration/m-p/271518
Please let us know if this helps.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It looks like the descriptors shared is not complete. Please share the complete descriptor file for us to check.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please cross check the following descriptor:
/* Audio In Class-Specific AS Type I Format Descriptor */
0x06, /* bLength */
0x24, /* bDescriptorType */
0x02, /* bDescriptorSubtype */
0x01, /* bFormatType */
0x02, /* bSubSlotSize 2byte*/
0x10, /* bBitResolution 16bit*/
As per my understanding, you are using Type 1 PCM format. In this case, you need to use the following descriptor:
/* Audio In Class-Specific AS Type I Format Descriptor */
0x0B, /* Descriptor size */
0x24, /* Class-specific Interface Descriptor Type */
0x02, /* Format Type Descriptor subtype */
0x01, /* PCM FORMAT_TYPE_I */
0x02, /* Number of channels - 2 */
0x02, /* Subframe size - 2 bytes per audio subframe */
0x10, /* Bit resolution - 16 bits */
0x01, /* Number of samping frequencies - 1 */
0x80, 0xBB, 0x00, /* Sampling frequency - 48000 Hz */
Apart from this, I could not find any problems with the descriptors.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,after modifying the descriptors as you said, the problem is the same as before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Apologies for the delayed response.
Also, I apologize for making a mistake in my previous response. For UAC 2.0, Audio In Class-Specific AS Type I Format Descriptor should be same as the one in the project that you shared.
We have developed a project to enumerate FX3 device as a UAC 2.0 device. Please note that this project is not a fully functional project. This example project just makes the device enumerate as a UAC 2.0 device.
There are some modifications in the descriptors (specifically in the clock source descriptors). Also, class specific requests (sampling frequency control) needs to be handled. We have added all these in the project attached along with this response. Please refer to the UAC 2.0 specification to understand more on the requests.
Please use this project as a reference for enumerating the device as a UAC 2.0 device. You can develop your end application by adding functionalities on top of this project.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for your response,and then my computer could identified the uac2.0 device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are glad to hear that the issue is resolved.
Jayakrishna