2022-11-11 02:41 AM
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.
2022-11-18 08:16 PM
2022-11-20 10:51 PM
Hi Piranha! Thank you indeed! Will try it out.
2022-11-24 04:55 AM
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