
Using the System
21
DLAP-401-Xavier
3.3
CAN Bus Configuration
By default, the DLAP-401-Xavier is configured to support the CAN
bus protocol.
The loopback test commands are as follows:
# ifconfig can0 down
# ip link set can0 type can bitrate 500000 dbitrate
20000000 berr-reporting on fd on
# ip link set up can0
# cansend can0 123#0101020300050607 //send data
# candump can0 > recv.txt &
//recv data
# cat recv.txt