cancel
Showing results for 
Search instead for 
Did you mean: 

USB Audio Device - Speaker

lkolaszewski9
Associate II
Posted on January 30, 2009 at 09:02

USB Audio Device - Speaker

4 REPLIES 4
lkolaszewski9
Associate II
Posted on May 17, 2011 at 13:01

Hi,

Does anybody has expirience with USB Audio Demo from ST USBLib? I'm trying to make STM32 based, USB speaker. With configuration stereo/16bit/44100kHz. I'm starting with this Demo, but it works only with default configuration mono/8bit/22000kHz. I don't know where is the problem, maybe descriptor. Any suggestion?

Lucas

[ This message was edited by: l.kolaszewski on 29-01-2009 17:24 ]

lkolaszewski9
Associate II
Posted on May 17, 2011 at 13:01

Problem solved, reason was pointers bug. There is only 512 bytes of dedicated USB memory, and this size can't be overdraw. Otherwise it causes in USB system malfunction.

Lucas

[ This message was edited by: l.kolaszewski on 31-01-2009 14:29 ]

maggie
Associate III
Posted on July 30, 2014 at 04:41

Hi Lucas - what specific STM32 part no. are you using? Is your board an eval board? Is your flow chart something like this?

[PC] --USB--> [MCU] --I2S--> [CODEC] --> HEADPHONES

I'm having issues on above so I was asking. Thanks!

Posted on July 30, 2014 at 05:20

These are posts from 5+ years ago, you'd have a better chance tracking down an email/contact details with Google.

Assume it's an STM32F10x part.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..