Quick Start Guide to STM32 GPIO

Quick Start Guide to STM32 GPIO

⭐ Quick Start Guide to STM32 GPIO Includes: Best Practices | Common Functions | Debug Output | Example Code (Compilable) 🧩 1. What is GPIO – The Fundamental “Control Interface” Chinese English Brief Description 通用输入输出端口 General Purpose Input/Output (GPIO) The most basic module for the MCU to “read from the outside” and “control the outside”. … Read more

Three Weeks of Intensive Training: A Steady Progress on the Path to Embedded Systems

Three Weeks of Intensive Training: A Steady Progress on the Path to Embedded Systems

In the past three weeks The “Meet Embedded Systems” event organized by the university’s student science association has been successfully conducted From software fundamentals to hardware introduction The progression path is clear and defined Students have gradually improved through each theoretical class Review of Embedded Training Building Foundations for Beginners and Developing Programming Mindsets As … Read more

Introduction to Electronic Components

Introduction to Electronic Components

1. Versions of ESP32 1. Classic Basic Model (Core Chip + General Module): ESP32-D0WD/D0WD-V3, ESP32-WROOM-32E/32UE. 2. Low-Cost Simplified Model: ESP32-SOLO-1, ESP32-C3, ESP32-C2. 3. Small Size High Integration Model: ESP32-PICO-D4, ESP32-PICO-MINI-02. 4. Performance Enhanced Model: ESP32-S3, ESP32-WROVER-E/IE. 5. New Protocol Adaptation Model: ESP32-C6, ESP32-D2WD, ESP32-S2. 6. Low Power Special Model: ESP32-D2WD, ESP32-S2. 2. Preparation for Getting … Read more

MultiButton: An Efficient State Machine Library Supporting 7 Button Events for Bare Metal and RTOS

MultiButton: An Efficient State Machine Library Supporting 7 Button Events for Bare Metal and RTOS

Repository Address:https://github.com/0x1abin/MultiButton An efficient and flexible multi-button state machine library that supports various button event detection. Features ✅ Multiple Button Events: Press, Release, Single Click, Double Click, Long Press Start, Long Press Hold, Repeat Press ✅ Hardware Debounce: Built-in digital filtering to eliminate button bounce ✅ State Machine Driven: Clear state transition logic with high … Read more

The Eight Pin Modes of STM32

GPIO This article is based on the HAL library The Eight States of GPIO Output Input Push-Pull Floating Multiplexed Push-Pull Pull-Up Open-Drain Pull-Down Multiplexed Open-Drain Analog Note: STM32 pins are 3.3V tolerant (3.6V is the limit), 5V tolerant (5.5V is the limit). Exceeding the pin tolerance will damage the chip. Output Both push-pull and open-drain … Read more

Analysis of Less Common Library Functions for STM32 GPIO

1. void GPIO_DeInit(GPIO_TypeDef* GPIOx); First, let’s take a look at this function. We can see that the parameter of this function is a GPIO group parameter (GPIOB, GPIOC, GPIOA, etc.),Now, let’s enter the definition of this function in the standard peripheral library. void GPIO_DeInit(GPIO_TypeDef* GPIOx){ /* Check the parameters */ assert_param(IS_GPIO_ALL_PERIPH(GPIOx)); if (GPIOx == GPIOA) … Read more

C-Periphery: Simplifying Linux Embedded Peripheral Device Operations!

Introduction Have you ever encountered difficulties in Linux embedded development when trying to directly manipulate hardware interfaces such as GPIO, LED, PWM, SPI, I2C, MMIO, Serial, etc., only to find that the native APIs are complex, cumbersome, and hard to maintain? Or do you find yourself writing a lot of low-level code every time, making … Read more

Introduction: A Beginner’s Embedded Practice, Starting with Driving an LED Strip

Introduction: A Beginner's Embedded Practice, Starting with Driving an LED Strip

Hello everyone, I am a newly hired embedded engineer. Like many friends who are just starting out, I feel both excited and a bit anxious in the vast ocean of technology: how can I transform the theories from books into the ability to solve real problems? My answer is – to get hands-on with a … Read more

RISC-V New Benchmark! In-Depth Testing of the Qinheng CH32V307 Development Board [Domestic MCU Column Issue 122]

RISC-V New Benchmark! In-Depth Testing of the Qinheng CH32V307 Development Board [Domestic MCU Column Issue 122]

Qinheng USB Bluetooth MCU Forum https://bbs.21ic.com/iclist-900-1.html *Reading Instructions: The following is a brief summary display, with no specific order of ranking. For detailed evaluation processes, source code, and materials, please click the original link to view. Evaluation One 1. Unboxing: Industrial Grade New Benchmark https://bbs.21ic.com/icview-3457910-1-1.html The original factory packaging box is labeled with Qinheng, and … Read more

New Book Recommendation | Embedded System Application Development

New Book Recommendation | Embedded System Application Development

Click the blue text Follow usTable of Contents Chapter 1 Overview Video Explanation: 26 minutes, 2 episodes 1.1 Introduction to Embedded Systems 1.1.1 Operating Hardware Systems 1.1.2 Introduction to Practical Systems 1.2 Definition, Development History, Classification, and Characteristics of Embedded Systems 1.2.1 Definition of Embedded Systems 1.2.2 Origin and Development History of Embedded Systems 1.2.3 … Read more