Adding FINSH Console to FreeRTOS

Adding FINSH Console to FreeRTOS

1 FINSH ConsoleWith the console, we can reduce trial and error costs when debugging hardware, change PID parameters in real-time without needing to reprogram, and customize commands to call serial API for testing communication protocols. This article summarizes the entire porting process.2 Preparation Before Porting2.1 Testing EnvironmentThis test is an extension based on the io_toggle … Read more

MCU Micro Classroom | CKS32F107xx USART (Part 1)

MCU Micro Classroom | CKS32F107xx USART (Part 1)

MCUMicro Classroom CKS32F107xx USART (Part 1) Issue 53 2025.04.22 Introduction to USART The Universal Synchronous Asynchronous Receiver Transmitter (USART) provides a flexible method for full-duplex data exchange with external devices using the industrial standard NRZ asynchronous serial data format. The USART utilizes a fractional baud rate generator to offer a wide range of baud rate … Read more

Principle of Automatic Baud Rate Recognition for STM32 Serial Ports

Principle of Automatic Baud Rate Recognition for STM32 Serial Ports

Your device connects to another device, and if it can automatically recognize the baud rate without knowing the baud rate of the other device, wouldn’t that be very convenient? 1 Overview Regarding the issue of automatically recognizing UART serial port baud rates, those with project experience or who have studied serial ports should know a … Read more

Eight Essential Steps to Learning Microcontrollers

Eight Essential Steps to Learning Microcontrollers

Learning to use microcontrollers involves understanding the hardware structure of the microcontroller and the application of its internal resources, as well as learning various initialization settings for functions in assembly or C language, and programming to implement various functionalities. Here are some of my experiences: Step 1: Using Digital I/O Using button inputs to signal, … Read more

Basic Principles of STM32 Serial Communication

Basic Principles of STM32 Serial Communication

Background Knowledge of Communication Interfaces Ways of Communication Between Devices Generally, the communication methods between devices can be divided into parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the direction of data transmission, it can be divided into: … Read more

Detailed Explanation of STM32 Serial Communication Basics

Detailed Explanation of STM32 Serial Communication Basics

Communication Methods Between Devices Generally, the communication methods between devices can be divided into two types: parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the data transmission direction, it can be divided into: Simplex: Data transmission only supports … Read more

OTA Online Upgrade Process via UART for MCU

OTA Online Upgrade Process via UART for MCU

Follow+Star Public Account, Don’t Miss Exciting Content Source Material | Network OTA upgrades are no longer a novelty; most IoT terminal devices now have this capability. Today, we will share the detailed process of OTA upgrades using the AT32 as an example. Overview The OTA (Over-the-Air Technology) allows users to write to specific areas of … Read more

Firmware Upgrade Process for Microcontroller UART

Firmware Upgrade Process for Microcontroller UART

OTA upgrades are no longer a novelty; most IoT terminal devices now have this capability. I previously shared an article on the principles of OTA upgrades: Dry Goods | Principles of Embedded OTA Upgrade Implementation. Today, I will share the detailed process of OTA upgrades using the AT32 as an example. . Overview Over-the-Air Technology … Read more

How to Swap UART Rx and Tx Pins and Invert Levels

How to Swap UART Rx and Tx Pins and Invert Levels

Follow+Star Public Account, don’t miss wonderful content Source | AI Electronics Today I will share with you some features of UART in STM32, mainly targeting newer series of STM32 (such as: STM32H7, G0, G4, etc.), which allows changes to the Rx and Tx pins, level inversion, high-low order, and introduces timeout, etc. Embedded Column 1 … Read more

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Follow the blue text and reply “entry materials” to get a comprehensive tutorial from beginner to advanced on microcontrollers The development board will guide you, we will help you fly Written by | Wuji (WeChat: 2777492857) The full text is about1507 words, reading will take about 5 minutes I have been doing microcontroller development, but … Read more