Implementation Example; Description; Adpcm File Generation; Figure 1. Adpcm File Generator - ST STM32F103 Series Application Note

Implementing the adpcm algorithm in high-density microcontrollers
Hide thumbs Also See for STM32F103 Series:
Table of Contents

Advertisement

Implementation example

2
Implementation example
2.1

Description

You can run the provided example on the STM3210E-EVAL board. It is a typical audio
application that consists in:
first encoding a PCM file into the ADPCM format using a PC software (This software is
called muse.exe, and was developed by ST. It implements the same ADPCM algorithm
encoder as the one that runs on STM32F103xx performance line devices. muse.exe is
included in the zipped software package that comes with this application note: please
refer to
then loading the encoded file into a Flash memory
and finally decoding the file and playing it using the high-density STM32F103xx
microcontroller.
On the STM3210E-EVAL board, the 128 Mbit NOR Flash memory stores the ADPCM file
and the firmware decoder that runs on STM32F103xx devices. It then decodes the stream
and, with the I
The hardware environment is based on the application note "AN2739: How to use the high-
density STM32F103xx microcontroller to play audio files with an external I
so please refer to that application note for more information.
To run this demo, three steps are required:
1.
generating the ADPCM file
2.
loading the ADPCM file into the NOR Flash memory
3.
playing the ADPCM file
2.2

ADPCM file generation

The application note package contains a PC software called Muse to encode PCM files into
the ADPCM format.
Figure 1.
8/15
Section 2.2
for how to use this tool.)
2
S external DAC, plays back the audio samples.
ADPCM file generator
Doc ID 15349 Rev 2
AN2931
2
S audio codec",

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F103 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents