English
Language : 

AN3126 Datasheet, PDF (18/24 Pages) STMicroelectronics – Audio and waveform generation using the DAC in STM32 microcontrollers
Application examples
AN3126
2.2
2.2.1
Using the DAC to implement an audio wave player
Description
The purpose of this application demo is to provide an audio player solution for the STM32
microcontroller for playing .WAV files. The approach is optimized to use a minimum number
of external components, and offers the flexibility for end-users to use their own .WAV files.
The audio files are provided to the STM32 from a MicroSD memory card.
Figure 15. Flow of data from MicroSD Flash memory to external speakers
.WAV
CPU
SPI
DAC
RAM
DMA
TIM6
ai18314
The audio wave player demonstration described in this section is a part of the
STM32100B-EVAL demonstration firmware. You can download this firmware and the
associated user manual (UM0891) from the STMicroelectronics website www.st.com.
18/24
Doc ID16895 Rev 2