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 1.0 1 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 15.10 4 MB


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

Get Software

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


Support & Community