App note: Audio and waveform generation using the DAC in STM32 microcontroller families

in app notes by DP | 2 comments


App note on utilizing the built-in DAC on your STM32 micro.

This application note gives examples for generating audio output signals using the Digital to Analog Converter (DAC) peripheral embedded in the STM32F10xx microcontroller family.

The STM32 DAC module is a 12-bit word converter, with two output channels for supporting stereo audio.

The DAC can be used in many audio applications such as: security alarms, Bluetooth headsets, talking toys, answering machines, man-machine interfaces, and low-cost music players STM32 DAC can also be used for many other analog purposes, such as analog waveform generation and control engineering.

This entry was posted in app notes and tagged , , .


  1. Wow, this is literally the best timing ever. Yesterday I got the idea of building a waveform generator with my STM32L-Discovery but I had no idea how. Honestly going from Arduino to ARM isn’t the easiest thing, but hell, it is fun. Does anyone here have some other resources for me that teach the ARM-Cortex M3? That would be awesome.

    – Nick

  2. Risto Pejasinovic says:

    The Definitive Guide to the ARM Cortex-M3, Second Edition,
    Joseph Jiu.

    Excellent book about the ARM core.

    He’s got one for M4 also…

Leave a Comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.