How to Swap UART Rx and Tx Pins and Invert Levels

How to Swap UART Rx and Tx Pins and Invert Levels

Follow+Star Public Account, don’t miss wonderful content Source | AI Electronics Today I will share with you some features of UART in STM32, mainly targeting newer series of STM32 (such as: STM32H7, G0, G4, etc.), which allows changes to the Rx and Tx pins, level inversion, high-low order, and introduces timeout, etc. Embedded Column 1 … Read more

A Deep Dive Into UART, I2C, SPI, and 1-Wire Communication Interfaces

A Deep Dive Into UART, I2C, SPI, and 1-Wire Communication Interfaces

1. UART: The Art of Asynchronous Communication As Qiu Qianzhang from “The Legend of the Condor Heroes” said, UART is like my lightness kung fu, gliding over the water. If you want to cross the river (communicate), you need to set up markers in advance, and your steps should be fixed according to the distance … Read more

Open Source Debugging Tool: High-Speed USB to UART, SPI, I2C, JTAG

Open Source Debugging Tool: High-Speed USB to UART, SPI, I2C, JTAG

In the previous article on dynamic library encapsulation examples, a CH347 high-speed USB to UART, SPI, I2C, JTAG bridging module was used, which is now open source 👉 GitHub Repository[1]. Introduction CH347 USB High Speed Bridge is a debugging tool designed based on the CH347[2] chip, supporting high-speed USB, allowing USB to UART, USB to … Read more

Microcontroller Communication Protocols: UART, SPI, I2C

Microcontroller Communication Protocols: UART, SPI, I2C

Today, let’s talk about the topic of microcontroller communication protocols. When microcontrollers interact with peripherals, there needs to be a common language, right? That’s what communication protocols are for! We will focus on three common protocols: UART, SPI, and I2C, and see how they allow devices to communicate with each other. UART: The Simplest Serial … Read more

Embedded Learning Notes on UART Communication Protocol

Embedded Learning Notes on UART Communication Protocol

Wu Jianying Microcontroller Development Board Address Taobao Store:【Wu Jianying’s Shop】 Address:【https://item.taobao.com/item.htm?_u=ukgdp5a7629&id=524088004171】 UART is a chip used to control communication between computers and serial devices. One important point to note is that it provides a data terminal equipment interface, allowing the computer to communicate with modems or other serial devices using the RS-232C interface. As part … Read more

Embedded Hardware Communication Protocol – UART (Part 5) Packet Design and Parsing

Embedded Hardware Communication Protocol - UART (Part 5) Packet Design and Parsing

The previous section discussed the Start-Stop-Type frame structure protocol, which constructs the frame structure using frame headers, lengths, and checksums, enabling reliable and accurate transmission of packets based on the frame structure. Application Layer Packet Design Ideas Returning to the project itself, the packets within the frame structure are what the application ultimately needs to … Read more

Comprehensive Overview of 5 Common Embedded Protocols (UART, RS232, RS485, IIC, SPI)

Comprehensive Overview of 5 Common Embedded Protocols (UART, RS232, RS485, IIC, SPI)

Many students learning embedded systems often feel confused by various protocols and can’t distinguish their functions. Today, I will clarify the five commonly used protocols in embedded systems, packed with useful information. Without further ado, let’s get started! 01 UART Communication Protocol 1. Principle The data packet in serial communication is transmitted from the sending … Read more

Animated Guide to Common Embedded Communication Protocols: SPI, I²C, UART, Infrared

Animated Guide to Common Embedded Communication Protocols: SPI, I²C, UART, Infrared

These animated diagrams of signal waveforms in electronic systems help us understand the mechanics of 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 1.3.1 … Read more

Animated Guide to Common Embedded Communication Protocols: SPI, I²C, UART, Infrared…

Animated Guide to Common Embedded Communication Protocols: SPI, I²C, UART, Infrared...

This article is sourced from the Breadboard Community These animated diagrams of signal waveforms in electronic display systems help us understand the mechanisms of 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 … Read more

Common Embedded Communication Protocols Explained

Common Embedded Communication Protocols Explained

I am Lao Wen, an embedded engineer who loves learning. Follow me to become even better together! Compiled by | strongerHuang WeChat Official Account | strongerHuang 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, … Read more