Embedded Development – Detailed Explanation and Application of CAN Protocol

Embedded Development - Detailed Explanation and Application of CAN Protocol

Click the blue text Follow us Bit Time and Bit Synchronization in CAN Communication In CAN communication, Bit Time refers to the time required to transmit one bit on the bus, which is the reciprocal of the CAN bus communication rate (baud rate). CAN communication ensures reliable data transmission by sampling and synchronizing the signal … Read more

Flexible Communication Protocols in Embedded Software

Flexible Communication Protocols in Embedded Software

In embedded development, it is common to define custom protocol formats, such as for communication between boards or between client and server. There can be many types of custom protocol formats. In this article, we will introduce a commonly used, practical, and highly flexible protocol format—ITLV format. 01 【What Is ITLV Format?】 You may have … Read more

Function Overloading in C++ for Embedded Development

Function Overloading in C++ for Embedded Development

It has been a whole week since I last shared knowledge about C++, and I miss you all dearly! Now, let me briefly introduce today’s main topic: function overloading. What is function overloading? Function overloading is somewhat different from the concept of overloading in real life. Those who have a background in C may know … Read more

Inner Dev Loop: Enhancing Embedded C/C++ Developer Efficiency

Inner Dev Loop: Enhancing Embedded C/C++ Developer Efficiency

Inner Dev Loop (Internal Development Loop) is a crucial part of modern software development that helps developers deliver high-quality software products more quickly and efficiently. It refers to a repetitive iterative process adopted by developers during software development, aimed at continuously improving and refining code to enhance software quality and stability. On February 23, Incredibuild … Read more

Mastering C++ Embedded Development for Device Control

Mastering C++ Embedded Development for Device Control

Embedded development sounds impressive, but it’s not that special. It’s just using C++ on small devices, like smartwatches or home appliance controllers. Today, we’ll talk about how to use C++ to handle the control logic of these little gadgets. Don’t worry, it’s quite simple! 1 Let’s Talk About the Characteristics of Embedded Development Embedded development … Read more

Building Cross-Compiler with Buildroot for i.MX6ULL

Building Cross-Compiler with Buildroot for i.MX6ULL

Click the above “Yikou Linux“, select “Star Public Account“ Practical benefits delivered to you first! Introduction This article is based on testing and verification of the HD-IMX6ULL-MB series development board, which is co-developed by Wuhan Xinluyao Technology Co., Ltd. and Wuhan Wanxiang Aoke Electronics Co., Ltd. This development board is designed based on the NXP … Read more

Buildroot System Construction Learning Notes Using IMX6ULL

Buildroot System Construction Learning Notes Using IMX6ULL

Click the “Embedded Cloud IoT Technology Circle” above to select “Pin Public Account” to view embedded notes at the first time! Recently, I have been studying content related to audio and video development, so hardware selection is very important. Due to chip shortages, to ensure the normal supply chain of future chips, I finally chose … 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

Improving C Language Programming Efficiency: Tips and Methods

Improving C Language Programming Efficiency: Tips and Methods

Everyone engaged in embedded development writes code in C language. Many people are accustomed to using if and switch, and when defining data structures, they only use character types, integer types, arrays, and bits; rarely utilizing structs, unions, or enums. Today, I will summarize my own set of C programming methods. 1. Clever Use of … Read more

How to Catch Errors in Embedded Development at Compile Time?

How to Catch Errors in Embedded Development at Compile Time?

Have you ever thought about how some simple syntax rules in C can lead to clever methods? For example, the length of an array in C cannot be negative; of course, it makes no sense for an array length to be negative. For instance, int arr[1]; is correct, while int arr[-1]; is incorrect. This rule … Read more