How to use CAN of Jetson AGX Xavier to communicate with other device

Hi lixiang,
Can you check this post and see if you have enabled CAN on Xavier properly:

You have to update pinmux for the pins you are using.
You can do so by updating cfg and reflash or by using busybox devmem tool to directly write to HW registers.
Let me know if you are facing any issues.

Thanks,
Shubhi