USBX UAC2 playback issues
Looking for a bit of advice.
I'm developing a full speed USB audio class device using USBX and ThreadX. So far, I've successfully rebuilt the provided example written for the H743 eval board on an F407 Discovery board. The device enumerates correctly and can successfully playback audio (albeit with some expected pops due to lack of asynchronous feedback).
I'm now faced with an issue where playback doesn't always start. The Audio_ReadChange() function is always called with the correct alternate setting (0/1) but when the _ux_device_class_audio_read_thread_entry() thread is resumed, the loop often breaks and suspends after checking the return status of the _ux_device_stack_transfer_request() function, which returns UX_TRANSFER_BUS_RESET rather than UX_SUCCESS.
Can anyone verify if the same issue persists when running the example on the H743 board? I'm not sure if I've gone wrong somewhere when porting to the F407, or if the issue might lie within the DCD itself.
Here's my current project if it's any help.
Many thanks
