Basics of Embedded Programming | Configuration of Serial Port DMA for APM32E030

Basics of Embedded Programming | Configuration of Serial Port DMA for APM32E030

01Introduction: The industrial-grade basic expansion MCU, based on the performance of APM32F030, achieves higher main frequency, lower power consumption, and more advanced analog and communication interfaces. It is also equipped with rich on-chip resources to meet the application upgrade needs of various industries, especially for cost-sensitive applications. It can be widely used in industrial control, … Read more

Embedded Sharing #39: Troubleshooting Serial Port Input Issues on Allwinner T527

Embedded Sharing #39: Troubleshooting Serial Port Input Issues on Allwinner T527

Cover Image A mushroom photographed on a rainy day in Greece by a National Geographic photographer. Main Text When debugging a board, what is your troubleshooting approach when the debug serial port is not functioning? Seemingly simple serial communication actually involves an entire chain: from the serial software on the PC, USB to serial modules, … Read more

Differences Between RS232 and RS485

Differences Between RS232 and RS485

RS232 and RS485 are two popular serial data communication protocols established by the Electronic Industries Alliance (EIA) for communication between systems and peripheral devices. Although they have been largely replaced by the USB standard on the PC side, they are still widely used in the industrial control field. What is the RS232 Protocol? The RS-232 … Read more

ESP32 | Basics 05 – Serial Communication

ESP32 | Basics 05 - Serial Communication

01 Overview Serial communication, known in English as Serial Communication, is a method of transmitting data bit by bit. It is a general term for this type of communication, with specific implementation protocols includingUART, TTL, RS232, RS485, etc. UART (Universal Asynchronous Receiver/Transmitter) is a general-purpose asynchronous transceiver. The ESP32 integrates three UART controllers: UART0: Typically … Read more

TTL, RS232, and RS485 Voltage Standards

TTL, RS232, and RS485 Voltage Standards

▼Click the card below to follow our official account▼ TTL, RS232, and RS485 are representations of logic levels, which are three different voltage standards for serial communication. TTL TTL: Full duplex (5V system, logic 1: 2.4V–5V, logic 0: 0V–0.5V). TTL refers to Transistor-Transistor Logic circuits. Many “USB to TTL” modules available on the market are … Read more

How Embedded Linux Solves Baud Rate Limitations in Traditional Serial Communication

How Embedded Linux Solves Baud Rate Limitations in Traditional Serial Communication

Hello everyone, I am the Intelligence Guy~ If you have worked on high-speed serial communication projects, you must have encountered the issue where traditional <span>termios</span> cannot configure high baud rates for serial communication parameters. So how can we solve this problem? In Linux systems, <span>struct termios2</span> is a data structure used for advanced serial communication … Read more

Common Serial Communication Protocols – UART Serial Port

Common Serial Communication Protocols - UART Serial Port

1. Introduction UART is a universal serial data bus used for asynchronous communication. This bus supports bidirectional communication, converting parallel data into serial data for transmission when sending data, and converting received serial data back into parallel data upon reception, enabling full-duplex transmission and reception. 2. Wiring Methods ① One-to-One Communication: Typically, UART serial communication … Read more

UART Serial Communication Template (Feel free to take it)

UART Serial Communication Template (Feel free to take it)

UART is frequently used in our embedded development process. It is quite simple, but to avoid reinventing the wheel, I have specifically summarized the serial communication software into a template for everyone to reference~Generally, our serial protocol format is as follows: [Frame Header] [Length] [Data Field] [Checksum] [Frame Tail] Frame Header: A fixed byte sequence … Read more

UART Serial Communication System Based on 51 Microcontroller

UART Serial Communication System Based on 51 Microcontroller

Introduction In embedded system development, serial communication is one of the fundamental technologies for data exchange between devices. UART (Universal Asynchronous Receiver/Transmitter) is the most commonly used serial communication interface, widely applied in 51 microcontroller systems due to its simplicity, reliability, and low resource consumption. This article will detail the implementation method of a dual-machine … Read more

Omron PLC Communication Protocol Guide: Detailed Explanation of Fins/TCP and HostLink

Omron PLC Communication Protocol Guide: Detailed Explanation of Fins/TCP and HostLink

Those involved in industrial automation know that whether the PLC can communicate with the host computer directly determines whether the entire system can operate. Omron’s Fins/TCP and HostLink protocols are the most commonly used on-site, but beginners often stumble on handshake and address configuration. This article does not delve into theoretical concepts; instead, it follows … Read more