Open Albent902 opened 9 months ago
Hello.
The descriptors should be modified at run time for 64bytes in fs mode. Similar to https://github.com/xmos/lib_xua/blob/fcf8aacfd2a14c4c21678fb2e1d24ece095ed9c1/lib_xua/src/core/endpoint0/xua_endpoint0.c#L1007. We'll look to patch this up in the next release.
The design doesn't support MIDI for Audio Class 1.0 mode. Please raise a separate "enhancement" issue. This isn't something that has been requested in the past, AFAIK.
If MIDI is enabled in "xua_conf.h", two problems are found: Problem 1: The MIDI packet at full speed should be 64 bytes Problem 2: If no driver is installed, the device will be abnormal in the window. USB descriptors cannot be viewed using the USB Viewer.
Try to return UAC(1.0), or change AUDIO_CLASS=1, and it still won't work. MIDI should be a subclass of audio, and in our other devices, MIDI devices never need to install drivers. We expect that XMOS will also work.
Please let us know how to modify, thank you !