Oscilloscope Practical Series 29: UART Protocol Triggering

Oscilloscope Practical Series 29: UART Protocol Triggering

The ZDS2022 oscilloscope technical exchange conference is still in full swing. Recently, a customer communicated with our FAE, stating that he wanted to stably trigger the first bit of the UART data frame. He sequentially set “edge trigger” and “rising edge trigger” and then performed a single trigger in Simple mode. After multiple tests, the … Read more

Why Serial Interfaces Are Faster Than Parallel Interfaces

Why Serial Interfaces Are Faster Than Parallel Interfaces

Many engineers who started learning with the 51 microcontroller might feel a bit confused by this question. How can a parallel interface, which can send a large amount of parallel data, be slower than a serial interface? The 51 microcontroller also has a parallel port, which is used for driving LCD screens and connecting external … Read more

Automatic Baud Rate Detection for Serial Ports

Automatic Baud Rate Detection for 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 convenient? 1 Overview Regarding the issue of automatically recognizing UART serial port baud rates, I believe those with project experience or who have seriously studied serial ports should … Read more

Extracting Firmware from 360 Router Using UART Debugging

Extracting Firmware from 360 Router Using UART Debugging

During the process of vulnerability exploitation for smart devices, firmware extraction is the first step in analysis and the first step towards success. In previous analyses, the firmware was stored in TSOP8 package NOR flash, which could be extracted directly using a chip clip or by soldering the flash chip for extraction, followed by using … Read more

Simulating Standard UART Serial Port Using General I/O Ports

Simulating Standard UART Serial Port Using General I/O Ports

Frame The UART communication standard uses an 8-bit binary number as a frame, with the least significant bit first, transmitted bit by bit. To distinguish each frame, a 0 is used as a start marker before each frame, followed by a 1 as a stop marker. Before the stop marker, an optional “parity bit” can … Read more

Common Data Loss Issues in UART Communication

Common Data Loss Issues in UART Communication

When we talk about serial ports, we generally refer to UART (Universal Asynchronous Receiver / Transmitter), the Universal Asynchronous Transceiver. The serial port is one of the most commonly used serial peripherals by engineers, but various issues are often encountered in practical applications. For example: losing one byte of data. Today, we will discuss UART-related … Read more

Basics of UART Communication

Basics of UART Communication

Introduction Previously, we introduced the basic knowledge of I2C and SPI. In this chapter, we will discuss UART (Universal Asynchronous Receiver/Transmitter), which is used for communication between internal and external devices of a computer. Data transmission within a computer is parallel, while data transmission with external devices is often serial. Therefore, a chip is needed … Read more

Understanding the Differences Between RS-232, RS-422, and RS-485

Understanding the Differences Between RS-232, RS-422, and RS-485

Serial Communication My Diary 2024 Is the most basic communication method faced by electrical engineers, with RS-232 being the simplest among them. Many beginners often struggle to understand the relationship and differences between UART and RS-232, RS-422, RS-485. This article will discuss these concepts to help clarify their relationships. If we compare serial communication to … Read more

Understanding UART, TTL, RS232, RS422, RS485, CAN, and USB

Understanding UART, TTL, RS232, RS422, RS485, CAN, and USB

UART, I2C, RS485… Although these communication methods are commonly used, their explanations can be ambiguous. I felt it necessary to organize them to consolidate and distinguish the concepts. The article is a bit lengthy, so I suggest saving it for future reference when needed. UART Universal Asynchronous Receiver-Transmitter The UART port refers to a physical … Read more

Overview of Common Bus Types

Overview of Common Bus Types

Before discussing buses, we should first understand what a bus is. According to Baidu, the complete definition is: a bus is a common communication trunk for transmitting information between various functional components of a computer. It is a transmission line bundle composed of wires, categorized according to the type of information transmitted by the computer. … Read more