Implementation example AN2739
8/26
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:
– a microcontroller (STM32F103xx device)
– an audio codec
– a speaker
– a memory support (where the audio file is stored).
Figure 3. Typical implementation design description
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).