USB Audio 2.0 on USB HS issue with STM32H7 series and USB3320 external PHY (Data transmission on Isochronous ISO IN EP (Feedback OR recording) abruptly stops being sent)
I've asynchronous USB Audio 2.0 implementation where speaker with feedback and microphone interfaces are configured.
I have strange problem with audio Feedback and microphone respective interface which are Isochronous-in type.
The issue observation is as per below.
-> While playing audio through speaker interface - the data on speaker out EP is coming without any issue. The feedback EP also shows that it communicates with Host
at the start of session.
However, after certain time - abruptly the feedback endpoint stops sending data to the host, but the speaker EP getting the data from host properly. It leads to
device and Host get out of sync after certain time as host is not getting proper feedback related data.
Wiresharc shows that zero length isochrounos-in packet is being transferred when feedback is polled from host. It seems that either the external PHY or stm usb stack sends zeroed reply - however, there is no error and indication in usb stack when the issue occurs.
-> The same happens with the microphone channel - isochronous-in - transmission starts and recording works fine for few amount of times.
Abruptly it stops generating interrupt for transmitting the data - even though request is queued properly. The stm stack stops sending the isochronous-in data - however, wiresharc shows that zeroed out packet is being transmitted back to host.
Any help here?
