Digital Signal Processing with STM32, software expansion for STM32Cube (AN4841)

The X-CUBE-DSPDEMO firmware package demonstrates the usage of DSP library provided within the CMSIS (Cortex®Microcontroller Software Interface Standard).

It includes an FFT example and an FIR example to show a full integration with the STM32 families using its peripherals.

The user can choose the example to run via a graphical user interface that was developed using STemWin.

Choosing FFT will give the user several options such changing the frequency of the input signal to process and choosing the data types (floating-point or fixed-point format).

Choosing FIR will give the user options such as data types or applying a low-pass or high-pass filter.

This application is developed with the STM32Cube embedded software. It uses the IAR™ EWARM, the Keil® MDK-ARM™ and the SW4STM32 tool chains and can be easily tailored for any other tool chain.

For more details refer to the application note Digital signal processing for STM32 microcontrollers using CMSIS (AN4841).

Key Features

  • Digital signal processing (DSP)
  • Finite impulse response (FIR)
  • Fast Fourier transform (FFT)
  • STemWin


Technical Documentation

Product Specifications
Description Version Size
DB2927 DB2927: Digital signal processing with STM32 software expansion for STM32Cube 1.0 177 KB
Application Notes
Description Version Size
AN4841 AN4841: Digital signal processing for STM32 microcontrollers using CMSIS 2.0 1 MB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB

Presentations & Training Material

Description Version Size
STM32 and STM8 embedded software solutions 6.0 2 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 17.09 1 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 544 KB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 4.10 86 KB

Get Software

Part Number Software Version Marketing Status Supplier Download
X-CUBE-DSPDEMO 1.0.0 Active ST