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

Posted on Sunday, March 9th, 2014 in app notes by DP


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 on Sunday, March 9th, 2014 at 1:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “App note: Audio and waveform generation using the DAC in STM32 microcontroller families”

  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 Reply

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

Recent Comments

  • Stephen Tinius: Thank you.
  • KH: Ah, the site sells boards, that's the reason. At least it's a XC6SL9 board that does not cost an arm and a leg, though it...
  • Max: While I understand this is more educational than practical in nature, I prefer my edutainment a lot more firmly grounded in economic reality. Sure, you...
  • KH: Using an alkaline coin cell down to 1.0V or under is a very bad idea anyway, unless you as the designer or manufacturer don't care...
  • KH: Farnell says TS1001 is no longer stocked. Not on RS. Digikey says it's obsolete. That said, there are a lot of nanoamp-class parts on sale...