UART Communication Protocol

UART Communication Protocol

Communication protocols serve as a “common language” between two devices. Data exchange can only proceed smoothly if both parties use the same rules and settings. UART is a point-to-point (P2P) hardware communication method, where the connected ends can be a microcontroller and anothermicrocontroller, a sensor, or a computer (with conversion). Before data transmission begins, both … Read more

STM32 UART DMA Reception

STM32 UART DMA Reception

Introduction When sending data via UART, we clearly know the timing and quantity of the data being sent, making it relatively straightforward to handle. However, the timing and quantity of data received via UART are often unknown, requiring more consideration in handling. There are generally several methods to handle the issue of reception timing: Polling: … Read more

How Undergraduates Can Enter the FPGA Field

How Undergraduates Can Enter the FPGA Field

For undergraduates, entering the FPGA development field requires systematic planning and practical accumulation. Below is a grounded guide summarized from industry experience to help you start from scratch: 1. Solidify the Basics: Build a knowledge framework with core courses covering essential content: Digital Circuits (Digital Logic), Computer Architecture, and Interface Technology. Recommended book: Fundamentals of … Read more

Air780EGH Hardware Guide: UART Serial Circuit Design

Air780EGH Hardware Guide: UART Serial Circuit Design

The Air780EGH is the flagship 4G-Cat.1 module from Hezhao in 2025 and features a dual function of 4G communication + GNSS positioning, in a classic 1618 package, supporting LuatOS secondary development. The serial port serves as the primary communication interface for the Hezhao Air780EGH module, undertaking important functions such as control, data transmission, and peripheral … Read more

The Resurgent Growth of the UART Transceiver Industry: Market Size Reaches $396 Million and Continues to Increase!

The Resurgent Growth of the UART Transceiver Industry: Market Size Reaches $396 Million and Continues to Increase!

The UART transceiver is a dedicated integrated circuit or module that implements the Universal Asynchronous Receiver-Transmitter (UART) communication function, used for serial data transmission between digital devices. This device typically integrates transmitter (TX) and receiver (RX) functions, capable of processing start bits, data bits, parity bits, and stop bits, enabling point-to-point full-duplex or half-duplex asynchronous … Read more

Various Methods for Sending Strings via STM32 UART

Various Methods for Sending Strings via STM32 UART

Using USART to send strings with STM32: The meaning of the code is: When there is data on the receive pin, the status register USART_FLAG_RXNE will be set to 1. At this point, the return value of USART_GetFlagStatus(USART1, USART_FLAG_RXNE) will be 1 (SET), and if there is no data, it will be RESET. Common code … Read more

A Comprehensive Guide to UART Communication

A Comprehensive Guide to UART Communication

Hello everyone, welcome to <span>LiXin Embedded</span>. Do you remember those bulky serial printers, mice, and modems on old desktop computers? The plugs were larger than fingers and had to be screwed in place—yes, back then most data was quietly transmitted via UART. Although USB has almost dominated all peripheral interfaces today, serial communication has not … Read more

Communication Protocols in Hardware: I2C, UART, and SPI

Communication Protocols in Hardware: I2C, UART, and SPI

My primary job is as an automotive electronics engineer. Previously, I have been working on the software side. Recently, I started learning about hardware. Here, I will document my learning content. Starting with the MCU collecting sensor data. After studying the pin configuration of the MCU, I decided to begin with communication methods. I²C, UART, … Read more

Efficient Parsing of Variable-Length Data Frames in Embedded Communication Protocols

Efficient Parsing of Variable-Length Data Frames in Embedded Communication Protocols

I am Lao Wen, an embedded engineer who loves learning.Follow me to become even better together! In communication design, considering the flexibility of protocols, they are often designed to be “variable length”. An example is shown in the figure below: the communication protocol frame of the Ruimi LoRa terminal. If a system receives the above … Read more

Combining Embedded and PC Programming Concepts

Combining Embedded and PC Programming Concepts

The first step is to look at embedded issues from the perspective of PC programming; The second step is to learn to use embedded programming concepts; The third step is to combine PC and embedded thinking and apply it to real projects. Many friends transition from PC programming to embedded programming. In China, very few … Read more