Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


You are viewing a reply to STM32F4 DAC Audio configuration  

STM32F4 DAC Audio configuration

France

Hi Ravi,

The click has nothing to do with the MCU or the DAC; it is inherent to your way to start playing sound. The only configuration issue could be the position of the “idle” output: it must be at the middle of the output range (thus corresponding to “no signal”); otherwise you will get a steep front (thus a click) when switching even to no-signal waveform.

However even in this case you will still hear a click if you start playing sound at full volume immediatly as going from no-signal to full-signal (even a sinus waveform), when converted in frequency space will have a wide spectrum at the beginning, heard as a click by your ear. Note that this artefact can be heard even on some high quality devices (like Bose Quiet-Comfort noise reducing headphones...)

The cleanest way to suppress the click is thus to start playing your waveform at 0 volume, then raise it progressively to full volume in a few hudrends of milliseconds.

Bernard (Ac6)