Linux CAN bus

From Variscite Wiki
Revision as of 06:39, 23 January 2018 by Eran (talk | contribs)
CAN bus

Connect 2 boards with the appropriate cable.

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

$ ip link set can0 up type can bitrate 125000

Then:
On board #1:

$ cansniffer can0

On board #2:

$ cansend can0 500#1E.10.10