Where Does ECU Diagnostic Data Go? A Deep Dive into Single and Multi-Frame Communication on the CAN Bus!

Where Does ECU Diagnostic Data Go? A Deep Dive into Single and Multi-Frame Communication on the CAN Bus!

Today, I want to take you into the fascinating world of automotive electronic systems, much like lifting the hood to observe the beating heart of a car. Have you ever encountered a situation where, when your beloved car suddenly lights up the malfunction indicator, a mechanic connects a mysterious device to the OBD interface to … Read more

STM32 CAN Bus “Domino Effect”! Autonomous Vehicle Road Test Network Failure Nearly Causes Accident, Triggered by a Microsecond Timing Deviation

STM32 CAN Bus "Domino Effect"! Autonomous Vehicle Road Test Network Failure Nearly Causes Accident, Triggered by a Microsecond Timing Deviation

That afternoon, I was sitting in the passenger seat as the car just left the industrial park, traveling at a speed of only 30 km/h, while the engineer was still debugging the autonomous driving test code. The entire vehicle had over 20 nodes connected to the CAN bus, including the main control unit, radar, power, … Read more

Frame Types and Detailed Usage of CAN Bus

Frame Types and Detailed Usage of CAN Bus

The CAN (Controller Area Network) bus protocol defines four basic frame types and one inter-frame space, which are used for data transmission, error handling, bus load control, and other scenarios. Below is a detailed explanation of the structure, function, and practical applications of each frame type: 1. Data Frame 1. Function Core Purpose: Transmission of … Read more

Development of Automotive Electronic ECU BootLoader Based on CAN Bus Communication for S12(X) Series MCU Independent NVM Driver Safe Bootloader

Development of Automotive Electronic ECU BootLoader Based on CAN Bus Communication for S12(X) Series MCU Independent NVM Driver Safe Bootloader

Abstract Introduction 1. CAN Bus and Automotive ECU Bootloader 2. On-chip NVM Resources of S12(X) Series MCU and Driver Development 2.1 Paging Mechanism of S12(X) Series MCU Memory and Introduction to S12G128 On-chip NVM Resources 2.2 Development of S12(X) On-chip NVM Driver 2.3 Detailed Explanation of S19 File 3. Bootloader Design Based on CAN Bus … Read more

Understanding CAN Bus in Embedded Linux

Understanding CAN Bus in Embedded Linux

What is CAN? Also known as Controller Area Network, the initial motivation was to solve the communication between the vast electronic control systems in modern vehicles, reducing the increasing number of signal wires. Various electronic control systems have been developed, and the number of electronic control systems in vehicles is increasing, such as engine management … Read more

Technical Overview of Xiaopeng P7 Internal ECU Technology

Technical Overview of Xiaopeng P7 Internal ECU Technology

At the beginning of 2022, as the leaders of the new forces, various companies submitted their annual sales reports. The original “Weilai, Xiaopeng, and Li Auto” has transformed into “Xiaopeng and Li Auto,” with Xiaopeng achieving sales of 98,155 units, making it the sales champion among new forces. The biggest contributor to this is the … Read more

Learning the CAN Bus Communication Protocol: (6) How to Avoid Long Execution Times in Interrupt Service Routines During CAN Interrupt Reception

Learning the CAN Bus Communication Protocol: (6) How to Avoid Long Execution Times in Interrupt Service Routines During CAN Interrupt Reception

Click the blue text Follow us 1. Problem Description Performing a large number of complex operations during CAN interrupt data reception can indeed lead to long execution times for the Interrupt Service Routine (ISR). This may cause issues such as missing other interrupt requests and affecting the real-time performance of the system. Since the ISR … Read more

Common Faults of CAN Bus and Multimeter Troubleshooting Methods

Common Faults of CAN Bus and Multimeter Troubleshooting Methods

Methods for Testing the CAN Bus① Before checking the data bus system, ensure that all electronic control units (ECUs) connected to the data bus are free of functional faults. A functional fault refers to a failure that does not directly affect the data bus system but impacts the functional flow of a specific system. For … Read more

Learning the CAN Bus Communication Protocol – CANopen Protocol

Learning the CAN Bus Communication Protocol - CANopen Protocol

Click the blue text Follow us 1. Definition and Background CANopen is a high-level protocol based on the CAN (Controller Area Network) bus, used for communication between devices in various fields such as industrial automation, vehicles, ships, and medical equipment. It is an application layer protocol built on top of the CAN physical layer and … Read more

In-Depth Analysis of Independent CAN Bus Interfaces CAN0 and CAN1 in Embedded Systems

In-Depth Analysis of Independent CAN Bus Interfaces CAN0 and CAN1 in Embedded Systems

In embedded systems and industrial equipment, the CAN bus is widely used in various scenarios as an efficient and reliable communication protocol. CAN0 and CAN1, as two independent CAN bus interface identifiers, are fundamentally distinguished by their physical channel separation and application scenarios. This article will delve into the differences between CAN0 and CAN1 from … Read more