STM32F10x DSP Library User Manual

This document describes the STM32F10x DSP library, which is a suite of common digital signal processing functions, including PID controller, Fast Fourier Transform, FIR and IIR filters.


STM32F10x DSP Library User Manual - cover page
Brand
STMicroelectronics
Document type
User Manual
Language
English
Pages
25
File format
PDF
File size
233 KB
Published
04 January, 2023
Updated
28 September, 2023
MD5 checksum
419ABA5FEE2C86BB62897768B758B3D4

About this manual

The STM32F10x DSP (Digital Signal Processing) library is a collection of common functions designed for signal processing on STMicroelectronics STM32 microcontrollers. The library includes implementations in both C and assembly code, with the assembly versions ported to ARM, GCC, and IAR Systems assemblers.

Key features provided by the library include a PID controller (with options for error computation inside or outside the function), complex 16-bit radix-4 Fast Fourier Transform (FFT) functions for vector sizes of 64, 256, and 1024 points, a 16-bit FIR filter, and two types of 16-bit IIR filters (direct form and canonical biquad forms). The document also details the code footprint and execution time benchmarks for these functions.

What's inside

  • DSP Library description
  • PID controller
  • Complex 16-bit radix-4 FFT
  • 16-bit FIR filter
  • 16-bit IIR filters
  • STM32F10x DSP library benchmark
  • STM32F10x DSP demo description

Specifications

Supported AssemblersARM, GCC and IAR Systems
FIR Filter Type16-bit FIR filter
Data Format for FFT32-bit data containing the 16-bit real part followed by the 16-bit imaginary part

Frequently asked questions

What assemblers are supported for the assembly code?

The assembly code is ported on ARM, GCC and IAR Systems assemblers.

What are the three specific functions included in the STM32F10x DSP library?

The library includes a PID controller, complex 16-bit radix-4 FFT optimized functions for 64, 256 and 1024 points, a 16-bit FIR filter, and a 16-bit direct-form I IIR filter.

What conditions must be satisfied to use the FFT functions of the DSP library?

The number of points must be a power of 4, and all signal samples must be 32-bit data containing the 16-bit real part followed by the 16-bit imaginary part.

What is the frequency range and step size for the sine wave in the STM32F10x DSP demo?

The frequency of the sine wave is increased from 40 Hz to 4 kHz by steps of 30 Hz.

Download PDF (233 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →