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

Animated Explanation of Common Embedded Communication Protocols: SPI, I²C, UART, Infrared…

Animated Explanation of Common Embedded Communication Protocols: SPI, I²C, UART, Infrared...

These animated diagrams of signal waveforms in electronic systems help us understand the mechanism 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

Common Hardware Interview Questions on Communication Protocols

Common Hardware Interview Questions on Communication Protocols

Image Source: www.parlezvoustech.com 1. Common Hardware Communication Protocols? Serial Communication Protocols UART (Universal Asynchronous Receiver Transmitter): An asynchronous serial communication protocol that does not require a clock signal, commonly used for simple point-to-point communication. SPI (Serial Peripheral Interface): A synchronous serial communication protocol, typically used for high-speed communication between microcontrollers and external devices such as … Read more

Implementation of Communication Protocols in Industrial Automation Using C

Implementation of Communication Protocols in Industrial Automation Using C

Implementation of Communication Protocols in Industrial Automation Using C Introduction With the development of industrial automation, the demand for communication between various devices, sensors, and control units is increasing. In this context, communication protocols have become an essential foundation for data exchange among different systems. The C language, with its efficiency and low-level characteristics, is … Read more

JTAG Interface Hardware Design for STM32

JTAG Interface Hardware Design for STM32

What is the JTAG Interface? Visually, the JTAG interface is the blue 20-pin connector shown in the image above. What is the Purpose of the JTAG Interface? To download programs to the microcontroller. To debug the microcontroller online, such as step debugging, power-off debugging, viewing register values, etc. Does the JTAG interface for STM32 need … Read more

Debugging Protocol SWD as a Replacement for JTAG on ARM Architecture

Debugging Protocol SWD as a Replacement for JTAG on ARM Architecture

For embedded developers and hardware hackers, JTAG is the standard for debugging and accessing microprocessor registers. This protocol has been in use for many years and is still used today. The JTAG debugging interface requires VCC, GND power signals, and four debugging signals: TMS, TCK, TDI, and TDO. Additionally, TRST and RESET reset signals and … Read more