Skip to main content
Visitor II
November 11, 2021
Question

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.

  • November 11, 2021
  • 2 replies
  • 1198 views

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?

    This topic has been closed for replies.

    2 replies

    Graduate II
    November 11, 2021
    JVoro.2Author
    Visitor II
    November 11, 2021

    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. ;)