2020-07-16 08:10 AM
Hi,
We're running an STM32F730.
Using the ST provided drivers for USB Audio, USB MIDI and USB CDC, we have created a USB composite device that displays a USB speaker and several USB MIDI input / output ports.
We have an issue where USB audio will stop receiving data after some period of time. Typically it is 20 minutes to an hour. USB MIDI output suffers from the same issue, where it seems that eventually USB MIDI messages are no longer transmitted from our device to the host. Typically it's either USB MIDI or USB audio that fail, I don't know if we have ever seen BOTH fail simultaneously.
We aren't sure if this problem affects USB CDC as well.
Does anyone know of anything in the ST USB stack that could get stalled in this fashion? Could missing an interrupt cause this? We never intentionally disable interrupts, but maybe there's an interrupt contention at play? Unplugging the device and plugging it back in brings back both USB MIDI and USB audio, so does power cycling the device.
Thanks!