Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
Hardware

/

Embedded IoT

STM32 FFT Implementation

Implement FFT using DSP Library in STM32.

(5.0) 3 reviews

110 learners

  • ihil
stm32
stm32cubeide
FFT
dsp
cmsis

What you will learn!

  • FFT implementation in STM32

  • DSP Library Installation

FFT knowledge based on the trial and error of current practitioners!
Don't you want to learn? 😉

Lecture Topics 📖

There are many limitations to implementing FFT with coding. I went through a lot of trial and error while searching for various materials to implement FFT. I thought that if there were materials that were neatly organized from beginning to end, it would be helpful to many developers who are trying to implement FFT using STM 32, so I created this lecture.

This lecture explains in detail how to implement FFT using DSP Library in STM 32. It explains the entire process from project setup, library installation, code implementation, and result verification using STM32CubeIDE. It explains the process of installing CMSIS's DSP Library, verifying the result using the example included in the library, and the series of processes to actually implement FFT . It will be an opportunity for developers who have experience using STM32 to upgrade one step. Even those who are new to STM32 will be able to understand and utilize STM32 by following the document. This lecture is structured so that you can input a sine wave to the ADC and verify the result.

Wait! ✋ What is FFT?

FFT stands for Fast Fourier Transform, and is mainly used in signal processing in the frequency domain.

ST provides a library for DSP (Digital Signal Processing). Using the DSP Library, you can use various signal processing and mathematical libraries such as FFT, FIR, and IIR filters. If you learn how to install and use the DSP Library through this lecture, you will be able to implement various functions. If there is anything you do not understand in the lecture, please post a question through the Inflearn community or the cafe I run and I will answer it.

📢 Please make sure to check before taking the class!

  • This lecture is a text lecture in electronic document format . All source files explained in the lecture are provided to those who take the lecture. A Windows program for debugging is also provided.
  • In this lecture, we use the NUCLEO-F411RE development board and the compiler tool is STM32CubeIDE v1.9.0.
  • Lecture materials can be downloaded from 'Section 0 - Material Sharing Link - Attachments'.

I recommend this to these people 🙋‍♀️

Anyone interested in ST's MCU

Anyone interested in utilizing the DSP library


Learn things like this 📚

Composition of HW and SW

Installing the DPS library and
How to set up a project

Source code implementation

Check the results

Are you curious about the detailed curriculum?
  1. outline (3)
  2. HW configuration (4)
    1. FW Download Pinmap (5)
    2. Power Pin Map (5)
    3. UART pin map (5)
    4. Other pin maps (6)
    5. Download the program (7)
      1. ST-LINK FW Update (8)
      2. Board Connection (9)
  3. SW configuration (10)
    1. Installing SW Package (10)
    2. Create a project (12)
    3. Configuration (14)
      1. SYS, RCC (15)
      2. Clock Configuration (16)
      3. ADC Settings (17)
      4. Timer setting (19)
      5. UART1 Settings (21)
      6. GPIO Settings (22)
  4. Installing the DSP Library (24)
  5. Source code implementation (31)
    1. Formatter Settings (31)
    2. Source Analysis (33)
    3. Added function description (37)
      1. common.h (37)
      2. uart1.h, uart1.c (37)
      3. comm_task.h, comm_task.c (37)
      4. arm_fft_bin_data.c (37)
      5. arm_fft_bin_f32.h, arm_fft_bin_f32.c (38)
  6. Check results (39)
    1. Check timer interrupt (40)
    2. Check ADC input waveform (41)
    3. Check FFT results (43)
    4. Measuring FFT time (44)
    5. Release mode and debug mode (45)
  7. References (46)
  8. Revision History (47)

Expected Questions Q&A 💬

Q. Is there anything I need to prepare to attend the lecture?

This lecture will be conducted on the NUCLEO-F411RE practice board. If you do not have a board, please check the contents first and then purchase the board later and check it on the board.

Q. What program tools do you use?

We use STMCubeIDE v1.9.0, which is provided free of charge by ST. Please install it before taking the course.


Introducing the knowledge sharer ✒️

History

I have been working as a developer for over 20 years in large and small companies and currently run a small business. I have developed an ISP (Image Signal Processing) ASIC for CCTV and many products using FPGA such as OLED inspection equipment and DAQ (Data Acquisition System). In addition to FPGA, I have a lot of experience in FW development (STM32, PIC32, AVR, ATMEGA, etc.), circuit design, and Windows Program.


Recommended for
these people

Who is this course right for?

  • FW Developer

  • DSP Developer

Need to know before starting?

  • C language

  • FFT concept

Hello
This is

1,647

Learners

66

Reviews

123

Answers

4.8

Rating

19

Courses

저는 지난 20여년 동안 대기업, 중소기업에서 개발자로 일해왔고

현재는 작은 기업의 대표로 있습니다.

주요 경력사항은

  • Verilog HDL을 이용한 FPGA 설계

    • CCTV용 ISP ASIC 개발 (약 10년)

    • OLED Display 검사장비 개발 (약 3년)

    • FPGA를 이용한 장비 개발

  • MCU FW

    • STM32

    • PIC32

    • AVR, ATMEGA

    • DSP (TI)

  • Windows Application Program

    • Visual Studio MFC, C++

입니다.

Curriculum

All

47 lectures

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

3 reviews

5.0

3 reviews

  • wxa0052701님의 프로필 이미지
    wxa0052701

    Reviews 12

    Average Rating 5.0

    5

    32% enrolled

    I was able to learn how to implement FFT through a good lecture. The lecture content is detailed and friendly.

    • ihil
      Instructor

      Thank you for your review. I hope you have a happy 2025. Thank you ~!!

  • neulha님의 프로필 이미지
    neulha

    Reviews 12

    Average Rating 5.0

    5

    100% enrolled

    Great new knowledge is always sweet

    • ihil
      Instructor

      Thank you for your first class review. If you always live with anticipation for new knowledge, you will become a great developer~!!

  • skycom948143님의 프로필 이미지
    skycom948143

    Reviews 3

    Average Rating 5.0

    5

    32% enrolled

    $17.60

    ihil's other courses

    Check out other courses by the instructor!