cancel
Showing results for 
Search instead for 
Did you mean: 

USB microphone on STM32U5

AA.10
Associate III

Hi,

I am trying to activate the USB Audio as a microphone profile.

This feature already implemented for STM32L4 family, and it works correctly.

I am trying to run the same USB stack on EVB B-U585I-IOT02A board, I see that the device is detected as USB microphone, but the dataIn() callback is not called. When I am checking HAL_PCD_IRQHandler it is not called any more after the initialization process.

I understand there are some differences in the USB module between the L4 to U5 family, but still I don’t the get reason why dataIn() is not called.

I will appreciate your assistance on that issue.

Avi

2 REPLIES 2
Mohamed Aymen HZAMI
ST Employee

Hello @Community member​ and welcome to the community,

make sure that the USB Handler interrupt is enabled.

Mohamed Aymen

Mohamed Aymen HZAMI
ST Employee

Hello

Can you please specify the STM32L4 example?

Mohamed Aymen