cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the correct configurations to develop a USB microphone with STM32L476?

JacquiG29
Associate II

I am trying to configure the STM32L476 as a USB Microphone, my input is an analogue microphone through the ADC. I configure the device as an Audio class, at first my computer found it as a speaker, so I search about it and find that I need to redefine some parameters at the usbd_audio.c and .h (The reference that I found was at Hackaday with the title STM32F4 USB microphone). Now my computer recognize it as a microphone, but I'm not being able to acquire the ADC data through the USB. Finally, I found this resource from ST AN5012 Application note but they don't mention any change at the files from usb class, I wonder if there is a place where I can found the source code and complete declaration of the libraries from these examples mention at the ST resource?

I will appreciate your help.

2 REPLIES 2
Andrew Neil
Evangelist II

"The reference that I found was at Hackaday with the title STM32F4 USB microphone"

please give a link

JacquiG29
Associate II