Follow the steps to enable CAN communication on Nvidia Jetson AGX Xavier
Download the files and place in home folder
To enable CAN communication
./can_enable.sh
To disable CAN communication
./can_disable.sh
To enable CAN communication with loopback
./can_enable_loopback.sh
To verify the CAN in the terminal
ifconfig
To check the can communication on loopback
In first terminal candump can0
open second terminal cansend can0 123#112233 (your can msg)
To check the can communication with transcivers
In first terminal candump can0
open second terminal cansend can1 123#112233 (your can msg)
To generate random can messages use cangen command
In first terminal candump can0
open second terminal cansend -v can1