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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-11 7:25 AM
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?
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-11 8:26 AM
Maybe read Stm32f103c8t6 USB Audio problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-11 8:35 AM
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. ;)
