Understanding Why C Language is Used for Microcontroller Programming

Understanding Why C Language is Used for Microcontroller Programming

With the development of technology, electronic products are becoming more and more common, making our daily lives more convenient. Most electronic products have microcontrollers, which achieve functionality by executing software logic. While assembly language is the most suitable programming language for microcontroller programming, the most commonly used and widespread is C language. So, why should … Read more

Learning STM32 Made Simple: A Comprehensive Guide

Learning STM32 Made Simple: A Comprehensive Guide

Follow and star our official account to access exciting content 1. If you find it simple, it means ST has succeeded. How did STM32 stand out among many microcontrollers back then? Because of the library functions. Before this, microcontrollers like 51, AVR, PIC, MSP430 required searching for others’ code to “borrow” when writing a UART … Read more

How to Self-Learn STM32 Microcontrollers

How to Self-Learn STM32 Microcontrollers

Continuing to post my answer. First, you need a development board. If you are just starting in the field of microcontrollers, I recommend starting with videos. At the very least, you should have a book on C programming for reference on C language concepts. When you first start learning, focus on videos. For concepts that … Read more

Mastering STM32: A Comprehensive Guide for Beginners

Mastering STM32: A Comprehensive Guide for Beginners

Learning microcontrollers just for the sake of it is not the correct approach. You may ask: How to systematically start learning STM32? This is fundamentally a wrong question. If you know how to use the 8051 and can write C, then there is no need to deliberately learn STM32. What you should consider is what … Read more

Detailed Process of Porting Modbus on STM32 Bare Metal

Detailed Process of Porting Modbus on STM32 Bare Metal

Follow+Star public number, don’t miss wonderful content Source | Wenxin Yiyan Modbus has many application scenarios and is an essential skill for embedded practitioners. We don’t need to understand it in depth, but it’s necessary to grasp the basic principles. Today, I would like to share the detailed process of porting Modbus on STM32 bare … Read more

Unlocking Embedded Rust Programming on ESP32-C3: In-Depth Analysis of Espressif’s Official Tutorial

Unlocking Embedded Rust Programming on ESP32-C3: In-Depth Analysis of Espressif's Official Tutorial

This article will delve into the embedded Rust learning resources provided by Espressif—the std-training project (https://github.com/esp-rs/std-training), which aims to help developers quickly master embedded programming with Rust on the Espressif ESP32-C3 chip. 1. Project Overview: A Treasure Trove of Embedded Rust Learning for ESP32-C3 The std-training project is not merely a collection of code examples, … Read more

Revolutionizing Embedded Application Development with Rust

Revolutionizing Embedded Application Development with Rust

The field of embedded development has always faced challenges regarding code security, efficiency, and resource management. Traditional embedded development models often require developers to directly manipulate hardware registers, leading to complex and error-prone code with high maintenance costs. To address these issues, Embassy was born, combining the advantages of the Rust language with asynchronous programming … Read more

Why C++ is Not Recommended for Microcontroller Programming

Why C++ is Not Recommended for Microcontroller Programming

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column Generally speaking, when programming on microcontrollers, either assembly or C language is used, and it is rare to develop with C++. So why is it not recommended to use C++ for microcontroller development? Below, I will discuss … Read more

Mastering FreeRTOS: A Comprehensive Guide to Doubly Linked Lists

Mastering FreeRTOS: A Comprehensive Guide to Doubly Linked Lists

Abstract: Today, we will discuss the doubly linked list by combining the source code of FreeRTOS’s linked list. Note: A linked list item is a node, and a node is a linked list item; they refer to the same thing, and it doesn’t matter what you call it. 1. Defining the Linked List Structure // … Read more