Difference between revisions of "CAN Bus"

From eLinux.org
Jump to: navigation, search
(updated CAN infos)
Line 1: Line 1:
 +
=== Overview ===
 +
 
The CAN bus is an ISO standard bus for vehicles. It manages the Chassis Electrical System Control
 
The CAN bus is an ISO standard bus for vehicles. It manages the Chassis Electrical System Control
 
and is responsible for critical activities like engine electrical, and skid control. This system is also used
 
and is responsible for critical activities like engine electrical, and skid control. This system is also used
Line 6: Line 8:
 
for noise resistant signaling. Communication occurs at 500 kbps with 1-8 Bytes of data inside of each
 
for noise resistant signaling. Communication occurs at 500 kbps with 1-8 Bytes of data inside of each
 
transmitted packet.
 
transmitted packet.
 
  
 
(Jeremiah J. Flerchinger [[media:avc-lan.pdf|Source]])
 
(Jeremiah J. Flerchinger [[media:avc-lan.pdf|Source]])
 +
 +
=== CAN Support in Linux ===
 +
 +
The Linux kernel supports CAN with the SocketCAN framework.
 +
 +
* [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/networking/can.txt SocketCAN Documentation]
 +
* [http://developer.berlios.de/projects/socketcan/ Berlios Project Page]

Revision as of 21:04, 4 January 2010

Overview

The CAN bus is an ISO standard bus for vehicles. It manages the Chassis Electrical System Control and is responsible for critical activities like engine electrical, and skid control. This system is also used to provide vehicle diagnostic information for maintenance. A multi-star configuration seems typical of this bus with a primary bus line that branches into sub bus lines at its extremities then attaches to multiple device nodes. Differential voltage is applied over twisted pair at 1.5 to 2.5V and 2.5 to 3.5V for noise resistant signaling. Communication occurs at 500 kbps with 1-8 Bytes of data inside of each transmitted packet.

(Jeremiah J. Flerchinger Source)

CAN Support in Linux

The Linux kernel supports CAN with the SocketCAN framework.