Fast Fourier Transform Algorithm for Microcontrollers

Fast Fourier Transform Algorithm for Microcontrollers

For a faster version, see the C language implementation of FFT and IFFT source code, which does not rely on a specific platform. The porting is very simple, does not rely on other libraries, and allows custom point counts. The algorithm is based on the usage instructions of the FFT algorithm and the C language … Read more

From Beginner to Abandoning Microcontrollers: A Comprehensive Guide

From Beginner to Abandoning Microcontrollers: A Comprehensive Guide

Step 1: Create the physical chip. A microcontroller, generally understood as MCU (Microcontroller Unit), includes components such as timers, ALU (Arithmetic Logic Unit), memory, registers, buses, etc. A typical microcontroller also includes GPIO, serial ports (UART), DMA, coprocessors, AD/DA, etc. Understand the diagram below Prerequisites: Computer Organization Principles, Microcomputer Principles. Pipeline Prerequisites: Digital Logic Circuits, … Read more

Common Methods for Downloading Production Programs in Microcontrollers

Common Methods for Downloading Production Programs in Microcontrollers

What methods does your company use to download programs during production? Today, I will share several methods for downloading programs and see how many you have encountered. Downloading Programs via 【IDE】 Downloading programs via IDE means directly connecting the microcontroller (board) to a computer with a programmer and using an IDE (such as: Keil) to … Read more

Comparative Analysis of Four STM32 Libraries: Register, Standard Peripheral Library, HAL, and LL

Comparative Analysis of Four STM32 Libraries: Register, Standard Peripheral Library, HAL, and LL

Follow+Star Public Account Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | strongerHuang 1. Should I choose register development for STM32, or the Standard Peripheral Library? 2. Do you have the STM32L0 Standard Peripheral Library? 3. What are the differences between HAL and LL libraries? … Now, let’s discuss the four … Read more

Build Your Own STM32G4 Oscilloscope: A Step-by-Step Guide

Build Your Own STM32G4 Oscilloscope: A Step-by-Step Guide

With the rapid advancement of technology, the once bulky and heavy oscilloscope can now easily fit in your pocket, revealing the mysteries of the electronic world anytime, anywhere. This is not only a symbol of technological innovation but also the ultimate interpretation of portability and practicality. Recently, I discovered a striking small oscilloscope project whose … Read more

Getting Started with Microcontroller Programming: A Comprehensive Guide

Getting Started with Microcontroller Programming: A Comprehensive Guide

A microcontroller is actually an early term, initially referred to as a single-board computer or microcontroller. At that time, the processing power of microcontrollers was not very strong. Now, we mostly use microcontroller units (MCUs), which integrate a central processing unit (CPU), memory (ROM, RAM), input/output ports (I/O), timers, counters, serial communication interfaces, and other … Read more

Choosing the Right Raspberry Pi and Installing Its Operating System for Beginners

Choosing the Right Raspberry Pi and Installing Its Operating System for Beginners

Background: Playing with microcontrollers seems too limited nowadays, this article discusses the Raspberry Pi. This article has two goals: 1. Which Raspberry Pi should beginners choose in 2020; 2. Which operating system to install on the Raspberry Pi and how to do it. Difference Between Raspberry Pi and Microcontrollers Let’s discuss the differences from the … Read more

Differences Between STM32, GD32, and ESP32

Differences Between STM32, GD32, and ESP32

Follow and star my public account, direct access to wonderful content Source: Online materials STM32: A product released by STMicroelectronics on June 11, 2007, a 32-bit microcontroller. GD32: A product released by GigaDevice in 2013, which basically imitates STM32 in chip development, configuration, and naming, and even GPIO and STM32 are pin-to-pin compatible, allowing for … Read more

STM32 Microcontroller Learning Notes

STM32 Microcontroller Learning Notes

1. The AHB system bus is divided into APB1 (36MHz) and APB2 (72MHz), where 2>1 means APB2 connects to high-speed devices. 2. Stm32f10x.h is equivalent to reg52.h (which contains basic bit operation definitions), while stm32f10x_conf.h is specifically for controlling the configuration of peripheral devices, essentially acting as a switch for header files. 3. HSE Osc … Read more