Difference between revisions of "Controller Area Network"

From ArmadeusWiki
Jump to: navigation, search
(CAN is now proven to work)
 
Line 1: Line 1:
 
CAN bus informations.
 
CAN bus informations.
  
CAN bus is available on the [[APF9328DevFull]] and [[APF27Dev]] (both as an option) and is currently [[CAN_bus_Linux_driver | under very early integration stage.]]
+
==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.
 
These boards use Microchip's MCP2515 CAN controller connected to SPI lines of i.MX MPU.
Line 7: Line 9:
 
[[image:APF27Dev_with_MCP2515.jpg|center|thumb|'''figure 1''' - ''MCP2515 localisation on APF27Dev'']]
 
[[image:APF27Dev_with_MCP2515.jpg|center|thumb|'''figure 1''' - ''MCP2515 localisation on APF27Dev'']]
  
<s>There is not much Linux CAN drivers supporting this controller chip. One option is to use LinCAN
+
==Software==
driver for which MCP2515 patches are existing but they are not yet included in LinCAN distribution
+
* [[CAN_bus_Linux_driver | How to use CAN bus on Linux with Armadeus boards]]
because they require more changes in LinCAN core which has not been decided yet.</s>
+
  
 
==Links==
 
==Links==
* [[CAN_bus_Linux_driver | How to use CAN bus on Linux with Armadeus boards]]
 
 
* [http://uuu.enseirb.fr/~kadionik/formation/canbus/canbus.html Le bus CAN (cours P. Kadionik)] [[Image:FrenchFlag.png]]
 
* [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]

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