Skip to main content
Visitor II
November 16, 2022
Question

USB microphone on STM32U5

  • November 16, 2022
  • 2 replies
  • 1305 views

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

    ST Employee
    January 16, 2023

    Hello @Community member​ and welcome to the community,

    make sure that the USB Handler interrupt is enabled.

    Mohamed Aymen

    ST Employee
    January 17, 2023

    Hello

    Can you please specify the STM32L4 example?

    Mohamed Aymen