Overview of Embedded IoT Protocols

Overview of Embedded IoT Protocols

For software companies, the IoT model brings decisive changes to their hardware design and the services they provide. One of the most impactful aspects is the communication protocols. 1 Communication Protocols Communication protocols can be thought of as a language, allowing two or more devices to communicate with each other. Just as there are rules … Read more

Implementing CAN Bus Communication Protocol in Embedded C

Implementing CAN Bus Communication Protocol in Embedded C

For training, consulting, or project development, please contact 【Thought】 Readers of this public account must be familiar with the CAN communication protocol. Have you ever wondered how these signals are implemented in the communication protocol within the Electronic Control Unit (ECU) when collecting CAN bus signals and analyzing data? This content introduces how to implement … Read more

Detailed Explanation of File Transfer Protocols for Embedded Devices

Detailed Explanation of File Transfer Protocols for Embedded Devices

The previous article detailed the file transfer protocol Xmodem family. The Xmodem family is usually used for short-distance file transfers via serial ports, but in reality, many file transfer needs are much more complex, requiring us to flexibly design communication protocols for specific scenarios to achieve more diversified file transfers. This article expands on the … Read more

Explaining the SPI Protocol and Its Applications in Embedded Systems

Explaining the SPI Protocol and Its Applications in Embedded Systems

SPI is very common in embedded systems, whether in system processors on chips (such as ARM, MIC, or high-end 32-bit processors like Power PC), or in microcontrollers (such as AVR, PIC, etc.), which typically include SPI controllers capable of operating in master-slave mode. Programmable AVR controllers in the system can be programmed using the SPI … Read more

How to Write Communication Interface Protocols

How to Write Communication Interface Protocols

Scan to FollowLearn Embedded Together, learn and grow together 【One Minute Talk on Embedded】, striving for brevity, aiming to finish reading in about one minute. Each article discusses a topic related to embedded systems, such as technology, workplace, learning methods, or a piece of code. If any friends want to express their opinions or want … 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

IIC Communication Interface Protocol – Layered Architecture Design Simulation

IIC Communication Interface Protocol - Layered Architecture Design Simulation

Regarding the idea of layered design, a detailed design process was explained in a previous article titled “Embedded Hardware Communication Interface Protocol-SPI (Part 2) Layered Architecture Design Simulation Interface” when discussing SPI interface design, so I won’t elaborate further here. Now, using the BSP layer design approach of SPI as a reference, we will use … Read more

Understanding USB Communication Protocol with a Diagram

Understanding USB Communication Protocol with a Diagram

1. Overview 2. Related Materials 3. USB Block Diagram 4. Understanding USB Concepts 4.1 USB Specification 4.2 USB Interface 4.3 USB Endpoint 4.4 USB Pipe 4.5 USB Data Transfer Types 4.6 USB Device Class 4.7 USB Descriptors 4.8 USB Communication Process 5. Summary 6. Discussion or Reflection 1. Overview USB (Universal Serial Bus) is ‘universal’ … Read more