Guide to Routing and Layout for UART, SPI, and I2C

Guide to Routing and Layout for UART, SPI, and I2C

This is a very basic article translated from PCB Hero. There is also a comparative article about these three buses that you can refer to: https://www.totalphase.com/blog/2021/12/i2c-vs-spi-vs-uart-introduction-and-comparison-similarities-differences/ Differences Between I2C, SPI, and UART and Their Layout Guidelines MCUs from 8-bit to 32-bit will use at least one of these protocols along with GPIO to achieve programmability … Read more

FPGA Implementation of UART (Including Source Code)

FPGA Implementation of UART (Including Source Code)

1. What is UART? As one of the three commonly used low-speed buses (UART, SPI, IIC), UART plays an important role in designing various communication interfaces and debugging. UART stands for Universal Asynchronous Receiver/Transmitter, which is mainly used for serial data transmission, and operates in a full-duplex mode. When sending data, it converts parallel data … Read more

Understanding UART: History, Principles, and Standards

Understanding UART: History, Principles, and Standards

1. History of Serial Ports First of all, the serial port is an essential tool for anyone working with hardware and embedded software, especially when debugging a system with an MCU or CPU. Generally, the first thing we do during debugging is to light up the GPIO, and the second is to establish a communication … Read more

Understanding UART Serial Communication

Understanding UART Serial Communication

UART stands for Universal Asynchronous Receiver/Transmitter, also known as serial communication. Unlike communication protocols like SPI and I2C, it is a physical circuit within microcontrollers or an independent IC. The main purpose of UART is to send and receive serial data, and its greatest advantage is that it uses only two wires to transmit data … Read more

UART Serial Port Debugging Guide

UART Serial Port Debugging Guide

0x00 Introduction Recently, I have been learning about debugging hardware interfaces such as optical modems, routers, and cameras, but I did not make any records. Therefore, I will briefly document the learning process here for future reference. 0x01 Required Tools 1. TTL to USB converter 2. Multimeter 3. TTL to USB converter 4. SecureCRT connection … Read more

In-Depth Explanation of UART Serial Communication Protocol

In-Depth Explanation of UART Serial Communication Protocol

  UART (Universal Asynchronous Receiver/Transmitter) is a widely used serial communication protocol in embedded systems. It supports full-duplex communication, allowing simultaneous data transmission and reception, making it very useful in applications that require bidirectional communication. The working principle of UART is to transmit data bit by bit, meaning each binary bit is transmitted independently through signal … Read more

Understanding UART, I2C, SPI, and 1-Wire Communication Interfaces

Understanding UART, I2C, SPI, and 1-Wire Communication Interfaces

1. Qiu Qianzhang’s Lightness Skill: UART In the Legend of the Condor Heroes, Qiu Qianzhang says that UART is like my lightness skill, allowing me to float over water to cross rivers. To communicate (cross the river), set up hidden stakes in advance, and during the crossing, maintain a fixed step based on the distance … Read more

Understanding I2C, SPI, and UART Serial Communication

Understanding I2C, SPI, and UART Serial Communication

1.I2C: Inter-Integrated Circuit, abbreviated as I2C Bus. I2C mainly distinguishes slave devices through addresses, and its communication principle is relatively simple. 2.SPI: Serial Peripheral Interface, a common serial synchronous communication protocol widely used in applications. 3.UART: Universal Asynchronous Receiver/Transmitter, a serial, asynchronous, full-duplex communication protocol. GIF source from https://www.parlezvoustech.com/en/comparaison-protocoles-communication-i2c-spi-uart/ Follow the WeChat public account “Embedded … Read more

Comprehensive Introduction to UART, SPI, and I2C Protocols

Comprehensive Introduction to UART, SPI, and I2C Protocols

I2C Communication Protocol Basics 3.1 Communication Overview I²C (Inter-Integrated Circuit) is a serial communication bus designed by Philips in the early 1980s. It facilitates communication between motherboards, embedded systems, or mobile phones and peripheral devices. Due to its simplicity, it is widely used for communication between microcontrollers and sensor arrays, displays, IoT devices, EEPROMs, etc. … Read more

Understanding UART, I2C, SPI, and Other Communication Protocols

Understanding UART, I2C, SPI, and Other Communication Protocols

UART, I2C, RS485… These communication protocols are commonly used, but their explanations can be ambiguous. I feel it’s necessary to organize them to consolidate and differentiate. The article is a bit long, so I suggest saving it for later reference. UART stands for Universal Asynchronous Receiver-Transmitter. The UART port refers to a type of physical … Read more