Basic UART, I2C, SPI, CAN, and USB Serial Communication Interfaces

Basic UART, I2C, SPI, CAN, and USB Serial Communication Interfaces

Follow+Star Public Account, don’t miss exciting content Author | strongerHuang WeChat Official Account | Embedded Column This article mainly describes the basic knowledge of communication interfaces such as UART, I²C, SPI, CAN, and USB for beginners. 1Overview Why talk about serial communication? Because parallel communication is relatively rare now, it’s basically all serial communication.Today, I … Read more

UART-485 Communication Guide: Wireless Dialogue Between MCU and PLC

UART-485 Communication Guide: Wireless Dialogue Between MCU and PLC

Hello everyone, I am Da Yi! Today we will talk about a very practical topic: UART-485 communication. This technology allows microcontrollers and PLCs to communicate wirelessly, just like two people conveniently chatting via video call on their phones. Have you ever wondered how mobile phones achieve wireless communication? Let’s start with an example from our … Read more

An In-depth Explanation of UART, I2C, SPI, and 1-Wire Communication Interfaces

An In-depth Explanation of UART, I2C, SPI, and 1-Wire Communication Interfaces

1. UART: The Lightness of Qiu Qianzhang’s Skills In “The Legend of the Condor Heroes”, Qiu Qianzhang says, “UART is like my lightness skill, floating over the water to cross the river.” To cross the river (communication), one must prepare in advance, setting markers at fixed intervals (baud rate predetermined). If the steps are too … Read more

Clock Synchronization of Serial Data (SPI/I2C/UART/USB)

Clock Synchronization of Serial Data (SPI/I2C/UART/USB)

Click the blue text Follow us 1. Clock Synchronization Issues in Serial Data Sending serial data (such as USB, UART, I2C, SPI, etc.) is done over a single data bus. If a continuous stream of 01 signals is sent to the receiving device over this bus, the difference in clock frequencies between the sender and … Read more

Quick Comparison of SPI, UART, and I2C Communication

Quick Comparison of SPI, UART, and I2C Communication

Communication between electronic devices is like communication between humans, as both parties need to speak the same language. In electronic products, these languages are called communication protocols. Previously, I shared separate articles on SPI, UART, and I2C communication; this article compares them. Serial vs Parallel Electronic devices communicate by sending data bits. A bit is … Read more

In-Depth Explanation of UART/I2C/SPI/1-Wire Communication Interfaces

In-Depth Explanation of UART/I2C/SPI/1-Wire Communication Interfaces

1. Qiu Qianzhang’s Lightness Skill: UART In “The Legend of the Condor Heroes”, Qiu Qianzhang says, “UART is like my lightness skill, gliding over the water to cross the river.” To cross the river (communication), one must set up hidden stakes in advance, and while moving, the steps must be fixed according to the distance … Read more

The First Sin of I2C: Understanding Common Issues

The First Sin of I2C: Understanding Common Issues

The Seven Deadly Sins, seven sins in Catholicism, abbreviated as the Seven Deadly Sins. The term ‘sin’ refers to the source or root of something. In Catholic doctrine, it is stated that “according to John Chrysostom and Pope Gregory I, we can discern the major evils that believers often encounter.” Here, ‘major’ means that these … Read more

In-Depth Explanation of STM32 Serial Communication Principles

In-Depth Explanation of STM32 Serial Communication Principles

▲ For more exciting content, please click on the blue text above to follow us! Communication Methods Between Devices Generally, communication methods between devices can be divided into parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the direction … Read more

Discussing the Complexity of Embedded Programming

Discussing the Complexity of Embedded Programming

The first step is to look at embedded issues from the perspective of PC programming; the second step is to learn to use embedded programming concepts; the third step is to combine PC and embedded thinking and apply it to actual projects. Many friends transition from PC programming to embedded programming. In China, few embedded … Read more