Principles of Embedded Communication Protocols

Principles of Embedded Communication Protocols

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

Using Logic Analyzer to View Software Simulated I2C Timing

Using Logic Analyzer to View Software Simulated I2C Timing

Click here to download the materials (3rd update) We are giving away materials, copy and reply with the following keyword to receive them Material Collection About Today’s Post IIC stands for Inter-Integrated Circuit, a simple, bidirectional, two-wire, synchronous serial bus designed by Philips Semiconductor in the early 1980s. Microcontrollers generally have hardware I2C, so why … Read more

Logic Analyzers: A Budget-Friendly Solution for Hobbyists

Logic Analyzers: A Budget-Friendly Solution for Hobbyists

Recently, I was debugging an OLED display, and I just couldn’t get it to communicate correctly, which was very frustrating. So, I casually searched on eBay for a logic analyzer, planning to buy a cheap one to use. The most common item on eBay was this one: 8 channels, 24MHz maximum sampling rate, priced around … Read more

The Evolution of Logic Analyzers: Past and Present

The Evolution of Logic Analyzers: Past and Present

A logic analyzer is an instrument used to simultaneously capture, display, and measure multiple electronic signals in digital circuits. Logic analyzers can show the relationships and timing between many different signals in digital systems and are often capable of analyzing digital communication protocols such as I2C, SPI, and serial. Therefore, logic analyzers are the best … Read more

Implementing Logical Simulation of I2C Bus Abstraction Based on Linux and RT-Thread Device Driver Model

Implementing Logical Simulation of I2C Bus Abstraction Based on Linux and RT-Thread Device Driver Model

Author | Acuity 1. Introduction The I2C bus is a simple, “bidirectional two-wire synchronous serial bus” developed by PHILIPS. The use of I2C is not unfamiliar; C51, ARM, MSP430, etc., generally integrate hardware I2C, or for those that do not integrate I2C, it is possible to simulate an I2C bus using ordinary IO ports based … Read more

Building a Bidirectional Pager Using LoRa

Building a Bidirectional Pager Using LoRa

Produced by Big Data Digest Source: IEEE Compiled by: xt Nowadays, if you want to send data wirelessly, you have many options: Wi-Fi, Bluetooth, Zigbee, and cellular connections are some common choices. However, a relatively new protocol is gradually becoming popular: LoRa-based communication provides low-power, low-bandwidth communication over medium distances (2 kilometers to 15 kilometers)—its … Read more

Don’t Get Trapped by IIC Bus!

Don't Get Trapped by IIC Bus!

1. Understanding I2C Communication Many friends often feel confused when developing the IIC communication protocol. On one hand, it’s normal to forget related knowledge if it hasn’t been used for a long time. However, it can be quite troublesome to keep looking at the communication timing diagrams, such as the starting level conditions, stopping level … Read more

Common Bus Types Explained

Common Bus Types Explained

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

Understanding UART, SPI, and I2C Communication Protocols

Understanding UART, SPI, and I2C Communication Protocols

UART, SPI, and I2C are common serial communication methods in embedded development. The underlying communication principles are not difficult, but many beginners struggle to learn them. Today, I will share some common low-level data transmission principles of these communication protocols. 1 UART Serial Communication UART: Universal Asynchronous Receiver/Transmitter. The UART interface is the most commonly … Read more

Realistic Animation Demonstrating I2C, SPI, and UART Communication

Realistic Animation Demonstrating I2C, SPI, and UART Communication

So far, protocols like I2C, SPI, and UART remain the most commonly used communication protocols in electronic embedded devices. In this article, we will analyze these three protocols to provide a clear and intuitive understanding of their functions, advantages, and limitations, supplemented with GIF animations. I2C Protocol I2C is a serial communication protocol commonly used … Read more