Jetson AGX Xavier canbus problems

I have a problem when using Xavier canbus.
using commend list:
sudo busybox devmem 0x0c303000 32 0x0000c400

modprobe can
modprobe can_raw
modprobe mttcan
sudo ip link set can0 type can bitrate 250000
sudo ip link set up can0
to enable my canbus,
but when using commend ‘ip -details -statistic link show can0’ to checking my config, I find the bitrate of can0 is not 250000. just as :


what shold i do ?

Please check below thread to see if can help: Some suggestions on troubleshooting CAN interface - Jetson & Embedded Systems / Jetson AGX Xavier - NVIDIA Developer Forums

This does not work.I have been able to send the data normally(I read the signal on CAN-H,CAN-L with an oscilloscope), but because the bitrata is not correct, Canbus immediately entered the BUS-OFF state.

You need to set CAN parent clock as pllaon to achieve exact 250kbps, 500kbps etc speeds.
Please follow below doc to do so:
Tegra Linux Driver 9
Check “ To use PLLAON as clock source” section