ARM Embedded Development System and CAN Bus

Publisher:国宝集团Latest update time:2012-11-05 Source: 21ic Keywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

With the widespread application of integrated circuits and embedded computers in automobiles, the number of electronic controllers in modern automobiles is increasing. Common ones include electronic fuel injection devices of engines, anti-lock brake devices (ABS), airbag devices, electric door and window devices, active suspension, etc. Although the increase of electronic control systems has improved the power, economy and comfort of cars, the increased complex circuits have also reduced the reliability of cars and increased the difficulty of maintenance. From the perspective of wiring, most traditional electronic gas systems use a single point-to-point communication method, with little connection between each other, which will inevitably lead to a large wiring system. Therefore, a new concept, the CAN local area network of electronic controllers on cars, has come into being. In order to enable parts produced by different manufacturers to work in coordination on the same car, standards must be formulated. According to relevant ISO standards, the topology of CAN is a bus, so it is called a CAN bus. The CAN bus is designed as a microcontroller communication in the automotive environment, exchanging information between various electronic control devices ECN on the vehicle, and exchanging information between various electronic control devices ECN on the vehicle to form an automotive electronic control network.

Controller Area Network (CAN) is a multi-master serial communication bus. The basic design specifications require high bit rate, high electromagnetic interference resistance, and the ability to detect any errors. The application of CAN in automobiles has many industry standards or international standards, such as ISO11992 and ISO11783 of the International Organization for Standardization (ISO) and SAE J1939 of the Society of Automotive Engineers. CAN bus has been included in the design of automobiles as a standard device.
Introduction to CAN bus

CAN communication protocol specifies 4 different frame formats, namely data frame, remote frame, error frame and overload frame. Communication coordination is based on the following basic rules: bus access, arbitration, encoding/decoding, error marking and overload marking. CAN complies with the OSI model. According to the OSI benchmark model, there are only three layers: physical layer, data link layer and request layer, but the application layer still needs to be defined by the user. As a serial communication network that effectively supports distributed control or real-time control, the CAN bus has applications ranging from high-speed networks to low-cost multi-line networks. For example, the bit rate of CAN in applications such as engine control components, ABS, and anti-skid systems in automobiles can be as high as 1Mbps. At the same time, it can be used cheaply in electrical systems of transportation vehicles, such as electrical windows, light beams, seat adjustments, etc., to replace the required hardware connections. Its transmission medium is twisted pair, the communication rate can reach up to 1Mbps/40m, the direct transmission distance can reach up to 10km/5kbps, and the number of connected devices can reach up to 110. CAN is a multi-master working mode with flexible communication mode. It does not require node information such as station address, and adopts non-destructive bus arbitration technology to meet real-time requirements. In addition, CAN uses a short frame structure to transmit signals, with short transmission time and strong anti-interference ability.

The main differences between the CAN bus and other communication protocols are two aspects: First, the message transmission does not contain the target address. It is based on the whole network broadcast. Each receiving station filters the message according to the identifier reflecting the nature of the data in the message. Its characteristics are online and offline, plug-and-play, and multi-station reception; the other aspect is that it particularly strengthens data security to meet the needs of control systems and other systems with higher data requirements.

In the design of modern cars, CAN bus has become a trend in building car networks; and as a car network that is directly connected to each ECU inside the car and is responsible for the transmission of commands, the sending and sharing of data, its reliability and stability are closely related to the performance of the whole vehicle. The design and development of this paper is based on a simulation platform built under experimental conditions, and the communication between nodes is carried out through peer-to-peer CAN communication nodes. The experiment shows that its operating performance is stable and reliable, but its practical application still needs further research and improvement, and the communication processing capability, error correction and fault tolerance of the program need to be further improved.

Keywords:ARM Reference address:ARM Embedded Development System and CAN Bus

Previous article:Discussing the embedded design of VxWorks to realize automatic sending of MMS
Next article:Application of LPC21XX Series Microcontroller Based on ARM7 in BAS

Recommended ReadingLatest update time:2024-11-16 16:32

ARM and Thumb state switching and code analysis
Thumb instructions have higher code density than ARM instructions, but their running efficiency is slightly lower than that of ARM instruction set, and Thumb is only a subset of ARM instruction set. All ARM instructions can be executed conditionally, while only one Thumb instruction has conditional execution function.
[Microcontroller]
Design of remote monitoring system based on ARM embedded system
1 Introduction The monitoring system has become an indispensable part of modern production and life. At present, there are many types of monitoring products, most of which are widely used in security fields such as transportation, hospitals, banks, homes, and schools. With the emergence of embedded
[Security Electronics]
Design of remote monitoring system based on ARM embedded system
Fire information data wireless acquisition system based on ZigBee and ARM technology
The fire protection network monitoring system has been developing day by day in China. Now many cities have established the urban fire protection network monitoring system. Some enterprises have also connected their fire alarm equipment through transmission equipment and established a monitoring center for centralized
[Microcontroller]
Fire information data wireless acquisition system based on ZigBee and ARM technology
Establishing ARM+Linux application debugging environment
Building the Gdb+gdbserver+insight environment 1. Download the gdb source code     http://ftp.gnu.org/gnu/gdb/   2. Configure and install gdb+gdbser $ tar jxvf gdb-6.6.tar.bz2 $ cd x/gdb $ ./configure --target=arm-linux --prefix=/usr/local/arm-gdb –v       --prefix is ​​used to specify the installation path    
[Microcontroller]
Arm TechCon 2019 highlights
The annual Arm TechCon was held this year, with experts from major technology giants around the world gathering together to discuss future technology trends and policy directions. In the past few years, Arm has been committed to the "fifth wave of computing" - the integration of artificial intelligence, the Internet o
[Embedded]
Arm TechCon 2019 highlights
Measuring automobile CAN-BUS bus signals and waveform analysis-auto repair oscilloscope
With the increasing number of automotive electronic devices, it is a reliable and economical approach to use serial bus to achieve multi-channel transmission and form an automotive electronic network. In the original traditional automobile circuits, the connection between the powertrain module and the body module is
[Test Measurement]
Measuring automobile CAN-BUS bus signals and waveform analysis-auto repair oscilloscope
[ARM bare metal program][7] ARM instruction classification learning
Arithmetic shift registers and logic instructions MOV transfer MOV{condition}{S} dest , op 1 dest = op_1 MOV loads a value from another register, a shifted register, or an immediate value to the destination register. You can also specify the same register to implement the NOP instruction. For example: MOV R0, R0. M
[Microcontroller]
Introduction to ARM7 Thumb Series Embedded Processors
    The ARM7Thumb series processors are a series of high-performance, low-power 32-bit RISC processors that combine the Thumb16-bit reduced instruction set. The excellent code efficiency achieved by Thumb means a reduction in the demand for memory capacity, making it possible to achieve high performance that can only
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号