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 [ Ссылка ]
[SUPPORT]
Hardware design courses: [ Ссылка ]
Course content: [ Ссылка ]
Free trial of Altium Designer: [ Ссылка ]
Tag-Connect: [ Ссылка ]
Patreon: [ Ссылка ]
[GIT]
[ Ссылка ]
[SOCIAL]
Instagram: [ Ссылка ]
[LINKS]
CMSIS Libraries: [ Ссылка ]
STM32CubeIDE: [ Ссылка ]
3blue1brown FFT Video: [ Ссылка ]
Hardware Walkthrough Video: [ Ссылка ]
I2S/DMA Set-Up Video: [ Ссылка ]
[TIMESTAMPS]
00:00 Introduction
01:13 Altium Designer Free Trial
01:36 PCBWay
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
![](https://i.ytimg.com/vi/d1KvgOwWvkM/maxresdefault.jpg)