Difference between revisions of "Controller Area Network"

From ArmadeusWiki
Jump to: navigation, search
m (Links)
(CAN is now proven to work)
 
(6 intermediate revisions by the same user 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 DevFull board uses Microchip's MCP2515 CAN controller connected to SPI lines of i.MXL MPU.
+
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.
 
Register access is relatively complex due to the need to communicate over SPI interface.
There is not much Linux CAN drivers supporting this controller chip. One option is to use LinCAN
+
[[image:APF27Dev_with_MCP2515.jpg|center|thumb|'''figure 1''' - ''MCP2515 localisation on APF27Dev'']]
driver for which MCP2515 patches are existing but they are not yet included in LinCAN distribution
+
 
because they require more changes in LinCAN core which has not been decided yet.
+
==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 23: Line 27:
 
** http://khb00465.atnifty.com/ms-1.html
 
** http://khb00465.atnifty.com/ms-1.html
 
** http://www.vassfamily.net/ToyotaPrius/CAN/cindex.html
 
** http://www.vassfamily.net/ToyotaPrius/CAN/cindex.html
 +
 +
[[Category:CAN bus]]

Latest revision as of 11: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