cancel
Showing results for 
Search instead for 
Did you mean: 

The USB audio middleware is not working for me on STM32F103 or F303, but working with F411 or F407. Just the generated code, 48000 sample rate, increased heap, not a single own code line.

JVoro.2
Associate II

Enumeration seems correct, I can select the audio device on the PC, but mem[] buffer is not filled if I send audio to the device. If I set the exact same settings for a F407 or 411, the mem[] buffer is filled by the incoming stream.

I searched a lot with Google for a working sample code for the STM32f103 (BluePill is popular), usb audio speaker, ucb to i2s etc, without success. There was a project based on SPL library, that one is working for me too.

Not sure if I missed something, or the CubeMX generated code is broken?

2 REPLIES 2
MM..1
Chief III
JVoro.2
Associate II

Thank you. Unfortunately that's an unsuccesful effort too. I suspect the CubeMX generated code is faulty, that's why no succesful BluePill usb audio projects on the net. ;)