Linux CAN bus: Difference between revisions

From Variscite Wiki
m (Eran moved page DART-6UL Can-bus to IMX Can-bus)
m (Eran moved page IMX Can-bus to IMX CAN bus)
(No difference)

Revision as of 10:37, 4 September 2016

CAN bus

Starting Release 4 of Yocto, CAN bus is integrated into the system. No patch required.

Connect 2 boards. Each board JP26 connect to the other with the right cable.

Set up the 2 boards by running on each of them:

$ ip link set can0 up type can bitrate 125000

On board #1:

$ cansniffer can0

On board #2:

$ cansend can0 500#1E.10.10