Difference between revisions of "Controller Area Network"

From ArmadeusWiki
Jump to: navigation, search
(CAN is now proven to work)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
CAN bus informations.
 
CAN bus informations.
  
CAN bus will only be available on the DevFull board and is currently under very early integration stage.
+
==Hardware==
  
The board utilizes Microchip's MCP2515 can controller connected to SPI lines of MXL MPU.
+
CAN bus is available on the [[APF9328DevFull]] and [[APF27Dev]] (both as an option) and on the [[APF51Dev]] (by default).
Register access is relatively complex due to need to communicate over SPI interface.
+
 
There is not much Linux CAN drivers supporting this controller chip. One option is to use LinCAN
+
These boards use Microchip's MCP2515 CAN controller connected to SPI lines of i.MX MPU.
driver for which MCP2515 patches exists but they are not yet included in mainline.
+
Register access is relatively complex due to the need to communicate over SPI interface.
 +
[[image:APF27Dev_with_MCP2515.jpg|center|thumb|'''figure 1''' - ''MCP2515 localisation on APF27Dev'']]
 +
 
 +
==Software==
 +
* [[CAN_bus_Linux_driver | How to use CAN bus on Linux with Armadeus boards]]
  
 
==Links==
 
==Links==
 +
* [http://uuu.enseirb.fr/~kadionik/formation/canbus/canbus.html Le bus CAN (cours P. Kadionik)] [[Image:FrenchFlag.png]]
 
* [http://freshmeat.net/projects/lincan OCERA LinCAN driver]
 
* [http://freshmeat.net/projects/lincan OCERA LinCAN driver]
 
* [http://cmp.felk.cvut.cz/~pisa/#can Some quick start info for LinCAN driver]
 
* [http://cmp.felk.cvut.cz/~pisa/#can Some quick start info for LinCAN driver]
Line 17: Line 22:
 
* [http://www.port.de/engl/canprod/sw_linux.html can4linux]
 
* [http://www.port.de/engl/canprod/sw_linux.html can4linux]
 
* [http://www.canfestival.org/ CAN Festival]
 
* [http://www.canfestival.org/ CAN Festival]
 +
* [http://www.rmll.info/video30.html Présentation de Beremiz aux RMLL 2007] [[Image:FrenchFlag.png]]
 +
* CAN bus in cars:
 +
** http://hybridinterfaces.ca/ 
 +
** http://khb00465.atnifty.com/ms-1.html
 +
** http://www.vassfamily.net/ToyotaPrius/CAN/cindex.html
 +
 +
[[Category:CAN bus]]

Latest revision as of 10:04, 18 April 2011

CAN bus informations.

Hardware

CAN bus is available on the APF9328DevFull and APF27Dev (both as an option) and on the APF51Dev (by default).

These boards use Microchip's MCP2515 CAN controller connected to SPI lines of i.MX MPU. Register access is relatively complex due to the need to communicate over SPI interface.

figure 1 - MCP2515 localisation on APF27Dev

Software

Links