Analysis of Digital Filtering with the Use of STM32 Family Microcontrollers

Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1196)


The paper presents an analysis of the realization of digital signal processing algorithms with the use of STM32F4 microcontrollers. Various programming techniques have been demonstrated focusing on the implementation of FIR filters and FFT calculations based on Cortex Microcontroller Software Interface Standard. During the tests we use STM32F407 Discovery module with WM5102 Wolfson Audio Card. The speed of algorithms and the accuracy of calculations were checked. The quality of digital filters were tested using LMS adaptive filter or Analog Discovery 2 device.


Digital filters FFT CMSIS STM32 STM32F407 


  1. 1.
    Reay, D.S.: Digital Signal Processing Using the ARM Cortex-M4. Wiley, Hoboken (2016)Google Scholar
  2. 2.
    Ünsalan, C., Yücel, M.E., Gürhan, H.D.: Digital Signal Processing using Arm Cortex-M based Microcontrollers: Theory and Practice, Arm Ltd. (2018)Google Scholar
  3. 3.
    Arm Processors for the Widest Range of Devices—from Sensors to Servers. Accessed 18 Jan 2020
  4. 4.
  5. 5.
    Szewczyk, P.: Real-time control of active stereo vision system. In: Mitkowski, W., et al. (eds.) Trends in Advanced Intelligent Control, Optimization and Automation, AISC, vol. 577, pp. 271-280. Springer, Cham (2017).
  6. 6.
    Chaber, P., Ławryńczuk, M.: Automatic code generation of MIMO model predictive control algorithms using transcompiler. In: Mitkowski, W., et al. (eds.) Trends in Advanced Intelligent Control, Optimization and Automation, AISC, vol. 577, pp. 315–324. Springer, Cham (2017).
  7. 7.
    Chaber, P., Ławryńczuk, M.: Implementation of analytical generalized predictive controller for very fast applications using microcontrollers: preliminary results. In: Mitkowski, W., et al. (eds.) Trends in Advanced Intelligent Control, Optimization and Automation. AISC, vol. 577, pp. 378–387. Springer, Cham (2017). Scholar
  8. 8.
    STM32F4DISCOVERY Discovery kit with STM32F407VG MCU (2016). Accessed 18 Jan 2020
  9. 9.
    Wolfson Microelectronics plc: WM5102 Audio Hub CODEC with Voice Processor DSP, Wolfson Microelectronics plc (2014)Google Scholar
  10. 10.
    CMSIS DSP Software Library. Accessed 18 Jan 2020
  11. 11.
  12. 12.
    Digital signal processing for STM32 microcontrollers using CMSIS, Application note, AN4841 (2018)Google Scholar
  13. 13.
    ARM-based Digital Signal Processing Lab-in-a-Box ST Discovery Board and Wolfson Audio Card Edition, ARM University Program (2013)Google Scholar
  14. 14.
    The Analog Discovery 2: A portable USB laboratory for everyone. Accessed 18 Jan 2020
  15. 15.
    Marciniak, T., Dąbrowski, A., Puchalski, R., Dratwiak, D., Marciniak, W.: Zastosowanie mikrokontrolera STM32F410 do prezentacji zagadnień cyfrowego przetwarzania sygnałów (Application of STM32F410 microcontroller for presentation of digital signal processing). Przegląd Elektrotechniczny R. 95, 118–120 (2019)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Faculty of Control, Robotics and Electrical Engineering, Institute of Automatic Control and Robotics, Division of Electronic Systems and Signal ProcessingPoznan University of TechnologyPoznanPoland

Personalised recommendations