We have an issue with sending and receiving CAN messages. We are using TJA1040 as CAN transceiver to connect to Jetson TX2. There are configurations for CAN interface
sudo ip link set can1 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd on
sudo ip link set up can1
We need some more logs to analyze further.
Can you please help sending full log and also please specify the type of can messages are you using at your setup?
Also is it verified that the CAN transceiver is physically connected properly over Tegra, as sometime we have seen multiple times that even though the connection looks fine still some loose connection can make the setup wrong. It is suggested to keep the transceiver with proper soldering.
What exactly full log that you want to see and how can I get this? And what do you mean about type of can messages?
How can we check the physical connected properly, due to there were many received CAN messages even though all of them were errors so I though physical was connected.
We checked it again and found out that our CAN generation has something wrong. So we used the other CAN message generation then everything worked well except sending from can0 even though sending at can1 did not have any error. I need to check more about sending from can0 interface.
So now we have problem with sending can messages at can0 interface, even though it worked well at can1. Both of them used same CAN transceiver(TJA1040). Do you have any advice?
Any type of loose connection or faulty hardware may lead to the issue.
I would suggest to alter the transceivers and observe if any changes.
Ideally if the transceiver is faulty, then can0 should be able to function and can1 will be a defaulter.
If this is not the case then you need to look into the controller logs.
Not having any luck either. I keep getting error on each CAN BUS an I am measuring right at the pin (just probing the interface between Xavier and the CAN Transciever). I see some motion and then it goes into error state and doesn’t recover until next boot.
ANything missing?
Got it to work and can get it to work every time.
I had to include a transceiver that was enabled to prevent the errors on the Xavier CAN Bus side.
Thanks!