The Association of Bus, Device, and Driver in Linux

The Association of Bus, Device, and Driver in Linux

Three important concepts in the Linux device model are bus, device, and driver. That is, bus, device, driver, and in fact, the kernel defines some data structures such as struct bus_type, struct device, and struct device_driver. These three important data structures come from one place, include/linux/device.h. We know that there are many types of buses, … Read more

Introduction and Characteristics of CAN Bus – Part 2

Introduction and Characteristics of CAN Bus - Part 2

CAN Protocol Message 1. Types of Frames Communication is carried out through the following 5 types of frames. ● Data Frame ● Remote Frame ● Error Frame ● Overload Frame ● Frame Separation Additionally, the Data Frame and Remote Frame have both standard and extended formats. The standard format has an 11 bit identifier (Identifier: … Read more

Introduction to CAN Bus Basics for In-Vehicle Testing

Introduction to CAN Bus Basics for In-Vehicle Testing

When learning about in-vehicle testing, how can we not understand CAN basics? Today, I have organized a detailed note for everyone, so let’s follow along with Songqin! Understanding CAN 01 What is CAN Bus? CAN stands for Controller Area Network, which is an internationally standardized serial communication protocol by ISO. In simple terms, the CAN … Read more

Overview of Common Bus Types

Overview of Common Bus Types

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

Understanding Computer Buses: Key Insights

Understanding Computer Buses: Key Insights

Source: Official Account — — — Technical Courtyard Introduction: Spreading knowledge and broadening horizons. A technical repository. See the world with a unique perspective, interesting and informative. 【Guide】 Engineers often use a set of lines, configured with appropriate interface circuits, to connect various components and peripheral devices, referred to as a bus, to simplify hardware … Read more

Basics of Bus – I2C Bus

Basics of Bus - I2C Bus

Introduction When it comes to driver development, we must mention the bus; the bus is the bridge for data transmission between devices. Computers categorize buses into three types: data bus, address bus, and control bus, which are collectively referred to as the system bus. Generally, the system bus, internal bus, and external bus are known … Read more

Understanding the I2C Bus

Understanding the I2C Bus

1. Overview The I2C bus is a very popular and powerful bus, commonly used for communication between one (or multiple) master devices and one or more slave devices. Figure 1 shows that various peripherals can share this bus, which only requires two wires to connect to the processor. This is one of the biggest advantages … Read more

Core Concepts of SoC Design

Core Concepts of SoC Design

This morning, we held a brainstorming session with graduate students to discuss the general concepts of SoC design. I found that many students did not grasp the core of SoC design. Now, while the discussion is still fresh, I will record it here. First of all, what is SoC design centered around? SoC design is … Read more

Understanding Microcontroller Bus Structure in 5 Minutes

Understanding Microcontroller Bus Structure in 5 Minutes

1. Overview of Buses The computer system is centered around the microprocessor, and all devices must connect to the microprocessor and work in coordination. Therefore, the concept of a bus is introduced in the microprocessor, where all devices share the bus, and at any given time, only one device can send data (multiple devices can … Read more