Skip to main content
AA.10
Associate II
Nov 16, 2022 6:46 AM UTC
Question

USB microphone on STM32U5

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

This topic has been closed for replies.

2 replies

Mohamed Aymen HZAMI
ST Employee
Jan 16, 2023 4:55 PM UTC

Hello @Community member​ and welcome to the community,

make sure that the USB Handler interrupt is enabled.

Mohamed Aymen

Mohamed Aymen HZAMI
ST Employee
Jan 17, 2023 8:41 AM UTC

Hello

Can you please specify the STM32L4 example?

Mohamed Aymen