Stevie User Manual Rev 1.03
Page 50
15.3 CAN Controller Configuration
The AGX Xavier Series Module integrate two independent CAN ports/channels which support connectivity to
two CAN networks. The CAN interfaces
can0
and
can1
are routed to the Elton baseboard via CAN busses.
The maximum speed that is supported is 1 mbps.
The CAN network driver provides a generic interface to setup, configure, and monitor CAN devices. The
program
ip
is used to configure bit-timing parameters.
The following command line invokes the IP link to set the CAN bus bitrate before all operations begin.
sudo ip link set can0 type can bitrate 1000000
The following command line toggles the link up or down.
sudo ip link set up can0
The following command line sends CAN-frames via CAN_RAW sockets.
cansend can0 5A1#1122334455667788
The command
candump
dumps traffic on a CAN network The following syntax shows the received message
from the CAN bus.
candump can0