Implementation example
2
Implementation example
2.1
General overview
The example presented in this application note aims at providing typical hardware and
software implementation basics for an audio application like portable audio players, sound
synthesis systems, speech recorders, cell phones or interactive control boards.
Typically, the system embeds:
–
–
–
–
Figure 3.
1. The audio input functionality (microphone) is not discussed in this application note.
The audio file format supported by the application is PCM, 16-bit data length, stereo/mono
channels, 8 to 48 kHz audio frequency.
2.2
Hardware description
General requirements
The developed example is mainly based on the STM3210E-EVAL evaluation board but the
functional and structural description is similar for most applications and platforms.
The memory in which the audio file is stored is the NOR Flash memory implemented on the
board. A different memory/source may be configured as the audio file support (like the SPI
Flash memory).
8/26
a microcontroller (STM32F103xx device)
an audio codec
a speaker
a memory support (where the audio file is stored).
Typical implementation design description
STM32F103xx
Display
LCD
FSMC
controls
Control flow
I2C
Data flow
I2S
Memory controller
Data flow
& memory control
Memory
Audio file:
PCM
16 bits
Stereo
8.48 kHz
AN2739
(1)
Codec
ai15114
Need help?
Do you have a question about the STM32F103 Series and is the answer not in the manual?
Questions and answers