Skip to main content
Visitor II
February 13, 2026
Question

Heavy Noise and Distorted Audio Output on STM32F407 Discovery with USB Audio Class

  • February 13, 2026
  • 1 reply
  • 170 views

Hello,
I am working on a USB Audio streaming project using an STM32F407 Discovery board. I am using the USB Device (Audio Class) and I2S3 to output audio to the onboard CS43L22 DAC (I plan to move to MAX98357 later).
Problem:
The PC recognizes the board as an "STM32 Audio Class" device. However, when I play audio, there is a very high level of noise/distortion. While I can faintly hear the music behind the noise, the output is dominated by a harsh "buzzing" or "crackling" sound. 

Any guidance or suggestions would be greatly appreciated!

I2S Parameter SettingsI2S Parameter SettingsClock configurationClock configuration

 

1 reply

Ozone
Principal
February 13, 2026

I'm not at all an expert with USB and audio class devices.

However, have you considered this is a data format issue ?
I would record a short sample with a PC audio editor (my favorite is Audacity), and review the audio data.
Perhaps you can easily modify your F407 application to transmit a sine wave, and check this audio data on PC side.