When you say “cannot be used,” what do you mean?
What code are you running to attempt to use it?
What error messages are you getting when trying it?
What is the output of dmesg or the kernel serial port when doing so?
I refer to this article, modify the text Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg file, modify the code as shown above, and then flash into the development board, The results are abnormal. https://elinux.org/Jetson/AGX_Xavier_CAN
#!/bin/sh
clear
declare -i i=1
str_can0='can0'
str_can1='can1'
str=''
sudo modprobe can
sudo modprobe can_raw
sudo modprobe mttcan
echo 'Enable can0'
sudo ip link set can0 type can bitrate 80000
sudo ip link set up can0
for i in {1..30}
do
cansend can0 1F334455#1122334455667788
sleep 1
echo 'can0 Sent, waiting to be received'
done
sudo ip link set can0 down
exit
This is my test code, and then the can analyzer is connected to the outside, and the test script is executed. The can analyzer does not receive any information.