Рет қаралды 41,380
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 www.pcbway.com
[SUPPORT]
Hardware design courses: phils-lab-shop.fedevel.education
Course content: www.phils-lab.net/courses
Free trial of Altium Designer: www.altium.com/yt/philslab
Tag-Connect: www.tag-connect.com/solutions...
Patreon: / phils94
[GIT]
github.com/pms67
[SOCIAL]
Instagram: / philslabyt
[LINKS]
CMSIS Libraries: github.com/ARM-software/CMSIS_4
STM32CubeIDE: www.st.com/en/development-too...
3blue1brown FFT Video: • But what is the Fourie...
Hardware Walkthrough Video: • Mini 6-Layer Mixed-Sig...
I2S/DMA Set-Up Video: • STM32 I2S ADC DMA & Do...
[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