Faced problems when working with CAN BUS. There is TX2 to which the CAN Tranciever is connected (120 ohm available). There is a receiving device (not TX2). At the moment when I turn on TX2, “Error frames” appear in large numbers on the receiving side, the same situation when rebooting and when turning off TX2. What could be the problem?
It is connected correctly, because using the cansend command, you can send a message to the receiving device. Maybe I configured something incorrectly, is there a need to write something to the system kernel?
Also on this topic. There is also NVIDIA XAVIER AGX. There is a similar problem. There are no errors when turning on, but when XAVIER is turned off, 1-2 “Error frames” appear stably on the receiving device. Has anyone faced such problems?
Hi silaj,
There is a clock issue in J4.2
So, I would recommend to switch to latest versions. Issue is fixed in J4.3 so it is also fine.
Let me know if you face issue with J4.3 also.
Perhaps the problem is not in the CAN setting on the Jetson. Because “error frames” go away from Jetson even when CAN is not enabled on Ubuntu.
For example, Jetson is connected to the end device via CAN Tranciever, Jetson has no CAN settings. We turn off Jetson and at this moment Jetson sends “error frames”. There is no difference whether CAN is configured for Jetson or not.
Hi Silaj,
Want to know more details on your problem:
You have not loaded CAN/MTTCAN or any other CAN driver on Jetson Just connected CAN from Jetson to other CAN device via transceiver. I am assuming since you have not loaded driver, you are not dumping any messages on Jetson (candump). When Jetson is OFF, and other device sends message, Jetson is throwing error frames? How is it possible when Jetson is off. How and when are you turning off jetson?
CAN driver means loading mttcan using modprobe mttcan.
When Jetson reboots, you have to load driver again. The end device is continously sending frames when jetson reboots? When you see “frame errors” on the other device, please give me below details from Jetson:
$lsmod
$ip -d -s link show can0