2022-07-15 08:40 AM
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.
2022-07-15 09:41 AM
"The reference that I found was at Hackaday with the title STM32F4 USB microphone"
please give a link
2022-07-15 09:46 AM
Here is the link that I follow https://hackaday.io/project/181868-stm32f4-usb-microphone/details