Changes

What can I do with IGEP0022

9 bytes added, 12:00, 7 July 2011
m
no edit summary
= Using CAN bus =
The IGEP0022 expansion board provides a CAN&nbsp;interface using MCP2515.<br>
Several tools are provided by socketCAN to use this controller:
*candump: dump traffic on a CAN network.
*cansend: simple command line tool to send CAN-frames via CAN_RAW sockets.
*cangen: CAN frames generator for testing purpose.
*canplayer: send CAN frames from a file to a CAN interface.
In order to test the CAN&nbsp;interface you can connect IGEP0022 to a CAN device or network or to another IGEP0022 board.<br>
In the last case, you have to connect the two boards like this:<br>
pin number) (pin number
4) O----------------O (4
Now you can set up the interface (on all boards when using multiple IGEP0022 <span lang="en" classid="short_textresult_box" idclass="result_boxshort_text"><span class="hps" title="Click for alternate translations" class="hps">connected to a CAN&nbsp;network simultaneously)</span></span>:<br>
/sbin/ip link set can0 up type can bitrate 125000
can0 1F334455 [0] remote request
Switch roles and do try it again
0
edits