Linux CAN bus

From Variscite Wiki
Revision as of 15:54, 27 December 2015 by Ron (talk | contribs) (Created page with "{{PageHeader|DART-6UL - Can-bus}} {{DocImage|category1=DART-6UL|category2=Yocto}} __toc__ Starting Release 4 of the Yocto Canbus is integrated into the system. No patch requir...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
DART-6UL - Can-bus

Starting Release 4 of the Yocto Canbus is integrated into the system. No patch required.

  1. 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