STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phils Lab #111 @PhilsLab
STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phils Lab #111  @PhilsLab
Uploaded June 2023 | Updated November 2026, 3 hours ago
How to implement a Fast Fourier Transform (FFT) on an embedded system (STM32 microcontroller + CODEC) using ARM's CMSIS library. Full walkthrough and demo of a peak frequency detector. PCBs by PCBWay pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium).

[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses

Free trial of Altium Designer: altium.com/yt/philslab (AD)

Patreon: patreon.com/phils94

[GIT]
github.com/pms67

[SOCIAL]
Instagram: instagram.com/philslabyt

[LINKS]
CMSIS Libraries: github.com/ARM-software/CMSIS_4
STM32CubeIDE: st.com/en/development-tools/stm32cubeide.html

3blue1brown FFT Video: youtube.com/watch?v=spUNpyF58BY

Hardware Walkthrough Video: youtube.com/watch?v=AxEL3eESL9I
I2S/DMA Set-Up Video: youtube.com/watch?v=zlGSxZGwj-E

[TIMESTAMPS]
00:00 Introduction

01:13 Altium Designer Free Trial (Ad)
01:36 PCBWay (Ad)
01:56 Previous Videos

02:27 FFT Basics
03:04 CMSIS Libraries
04:24 Adding Libraries to CubeIDE

06:06 Basic Code Structure

07:12 Including arm_math.h
07:43 ARM FFT Function Overview

09:04 FFT Variables & Defines
09:56 Initialising FFT

10:14 Processing Callback (Fill Buffer, Compute FFT)

12:32 Peak Frequency Detector

13:26 FFT Complex Result
14:27 Computing Magnitude

15:10 Frequency Bins

17:15 Data via USB
17:38 Test Set-Up
18:10 Live Demo

19:43 Outro
STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phils Lab #111(Sponsored) ESC Hardware Design - Phils Lab #66(Sponsored) STM32 Board Bring-Up (Firmware and Test) - Phils Lab #54HyperLynx DC Drop Simulation - Phils Lab #164Critiquing My Own PCB Designs - Phils Lab #43(Sponsored) Design Review (Buck + STM32 + Peripherals)  - Phils Lab #81IMU Sensor Fusion - Kalman vs Complementary FilterPCB Silkscreen & Solder Mask 101 - Phils Lab #133STM32 + Segger Real-Time Transfer (RTT) Debugging Basics - Phils Lab #177Audio Compressor Software Implementation (STM32 DSP) - Phils lab #157PCB Via Fencing & Edge Plating Basics - Phils Lab #175Self-Balancing Bicycle - Lego Prototype
Phil’s Lab |

STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phil's Lab #111

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER