Skip to main content
Senior
January 12, 2026
Solved

USBX Audio - Speaker does not play true stereo

  • January 12, 2026
  • 4 replies
  • 317 views

I am using a UX_Device_Audio2.0-based project on H7. 

  1. When I play a stereo file (actually dual mono), the right channel plays correctly, but the left channel contains a mix of left + right.
  2. When I play mono file, the right channel is much louder while the left is extremely quiet.

Could this be a codec configuration issue (mixer/settings), a USB audio packet scheduling problem, or something else? I can't seem to find a fix yet. 

Best answer by audio

Hello @FBL 

The issue was the cable. It was mixing two channels together thus not giving a true stereo output. 

Once I changed the cable, it worked as normal. 

Thanks. 

4 replies

LCE
Principal II
January 12, 2026

> Could this be a codec configuration issue (mixer/settings), a USB audio packet scheduling problem, or something else?

Yes, yes, and yes.

Hard to guess without any info - except that it doesn't work.

audioAuthor
Senior
January 12, 2026

LOL - that's funny, thanks for the laugh.

This can be tested with base example from STM32 - I just tested it on H753i-eval board.

AScha.3
Super User
January 12, 2026

>This can be tested 

- I dont have this board.

- what sample rate you set ? Try 48k 16b stereo. (USB /UAC1 only working correct at 48k...afaik. Maybe UAC2 can do more...but i never tried, lost interest /too much to learn and check and program then )

- what you set/tried at host side ? + host is...Win/mixer , Linux/Alsa , pulse.., pipe ..or ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
LCE
Principal II
January 12, 2026

... which surely everybody has and uses it that way?

;) 

At least we have one more info now.

Technical Moderator
January 14, 2026

Hi @audio 

Thank you for providing your feedback regarding this issue. 

Did you play test signals from PC :a left-only /right-only sine, a dual-mono tone ?..

 To better isolate the root cause, do you reproduce using this example Projects\STM32H743I-EVAL\Examples\SAI\SAI_AudioPlayback and can you log a few frames of what you receive into a small array and inspect via debugger or UART . 

Your symptoms are more likely coming from codec mixer /analog routing or digital channel mapping (USB buffer to SAI) rather than USB packet scheduling.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.Best regards,FBL
audioAuthorBest answer
Senior
January 20, 2026

Hello @FBL 

The issue was the cable. It was mixing two channels together thus not giving a true stereo output. 

Once I changed the cable, it worked as normal. 

Thanks.