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

Advanced Techniques in Communication Protocol Transmission Principles

Advanced Techniques in Communication Protocol Transmission Principles

UART, SPI, I2C and other serial communications are very common methods in embedded development. The underlying communication principles are not difficult, but many beginners struggle to learn them. Today, I will share some common underlying data transmission principles of communication. 1UART Serial Port UART: Universal Asynchronous Receiver/Transmitter. The UART serial port is the most common … Read more

Everything You Need to Know About SPI Protocol

Everything You Need to Know About SPI Protocol

What is covered? Introduction to SPI Protocol 4-Wire or 3-Wire? 4 Operating Modes Multiple Transmission Rates Timing of SPI Protocol Upgraded SPI Protocol FPGA Implementation of SPI Protocol Comparison of SPI and IIC Conclusion Introduction to SPI Protocol The three most commonly used serial communication protocols between different chips on a board are UART, I2C, … Read more

Understanding Serial Interfaces: COM, UART, USB, and More

Understanding Serial Interfaces: COM, UART, USB, and More

Electronic products, such as computers, mice, chargers, and even cars, have many interfaces around us. This article will introduce you to these interfaces, what they look like, where they are used, how to use them, and their principles. This article serves as a simple description for beginners. 1. Serial Port 2. UART 3. TTL Level … Read more

10 Animated GIFs to Understand Common Bus Communication Principles

10 Animated GIFs to Understand Common Bus Communication Principles

These animated GIFs displaying signal waveforms in electronic systems help us understand the mechanisms of signal transmission. 1 SPI Transmission ▲ Figure 1 SPI Data Transmission ▲ Figure 1.2 SPI Data Transmission (2) ▲ Figure 1.3 SPI Timing Signal 2 I²C Transmission ▲ Figure 1.2.1 I2C Bus and Addressing Method 3 UART Transmission ▲ Figure … Read more

Understanding Communication Protocols Through Animations

Understanding Communication Protocols Through Animations

Search on WeChat Technical Training The following animations displaying signal waveforms in electronic systems help us understand the principles of transmission. Sharing with everyone. 1. SPI Transmission ▲ Figure 1 SPI Output Transmission ▲ Figure 2 SPI Data Transmission (2) ▲ Figure 3 SPI Timing Signal 2. I2C Transmission ▲ Figure 4 I2C Bus and … Read more

Detailed Explanation of SPI in Electronic Communication

Detailed Explanation of SPI in Electronic Communication

When connecting a microcontroller to sensors, displays, or other modules, have you ever considered how the two devices communicate? What exactly are they saying? How can they understand each other? Communication between electronic devices is like communication between humans; both parties need to speak the same language. In electronics, these languages are called communication protocols. … Read more