cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G4-based USB microphone

Alexpp
Associate II

Tried a lot of stuff, including STM32CubeExpansion_MEMSMIC1_V5.7.0, STM32CubeExpansion_USBAudioStreaming_V1.0.0, STM32CubeFunctionPack_SMARTMIC1_V2.3.0, porting existing apps to STM32G4 with no success.

The USB device gets appeared in Windows OS in ~5s after the connection, and gets corrupted (driver error) in the next ~8s. I have not found any example project like "USB audio streaming", "USB microphone' etc. Is it possible? I have found out that the USB peripherals in STM32G4 and F4 are quite different, at least their PCD HAL drivers are.

3 REPLIES 3
Alexpp
Associate II

Hi Piranha! Thank you indeed! Will try it out.

Alexpp
Associate II

Tried with no success. Tinyusb is an excellent library, but there are issues in the STM32G4 chips themselves, hence no working solution for now. The details are at https://github.com/hathach/tinyusb/issues/1249