USB-Microphone

pugazh19

Feb 10, 2025
1
Joined
Feb 10, 2025
Messages
1
I need to transmit audio from a MEMS digital microphone to a device via USB (Audio Class 1.0) using the STM32WB55RG microcontroller. The audio is received via I2S and stored in a buffer, but I am facing difficulties in transferring this buffer to USB. Despite multiple attempts over the past 15 days, the data is not being transmitted. Can anybody help me with this?

 

HarryA1

Mar 4, 2009
481
Joined
Mar 4, 2009
Messages
481
How do you transfer data from the buffer to a USB interface?

 
Last edited by a moderator:

RyderKnox

Mar 12, 2025
2
Joined
Mar 12, 2025
Messages
2
I need to transmit audio from a MEMS digital microphone to a device via USB (Audio Class 1.0) using the STM32WB55RG microcontroller. The audio is received via I2S and stored in a buffer, but I am facing difficulties in transferring this buffer to USB. Despite multiple attempts over the past 15 days, the data is not being transmitted. Can anybody help me with this?
All good?

 

bidrohini1

Feb 1, 2023
102
Joined
Feb 1, 2023
Messages
102
Check if your STM32WB55RG is correctly receiving audio data from the MEMS microphone. Is I2S configured in master or slave mode? If the MEMS mic requires an external clock, your STM32 should provide it. Store the received I2S data in a buffer and print it via UART or store it in RAM and inspect it with a debugger.

 
Top