Hello, my name is Claudio, and I’m considering using the Jetson AGX Orin in one of my projects. It is very important that we are able to communicate with motors using CAN connection.
However I’m facing difficulties, as you can see in the image below, I’ve concluded the tutorial but nothing seems to be sent in the candump.
As far as I know, even if the device receiving the CAN message is faulty, the message should be sent, am I right? I also connected the PINs to an oscilloscope and detecteded no signal change coming from the Jetson.
The image below shows my setup.
Extra info:
Jetpack version is 5.1.1
The loopback test is a sucess.
the command ip -details -statistics link show can0 prints this:
can <BERR-REPORTING,FD> state ERROR-PASSIVE
I don’t understand, how am I in the loop test if I’m not using the loopback command? What I want to do is send CAN messages (cansend) through my transceiver, and finally reaching my motor, and also receive message from the motor, all in can0. I am using candump to see what goes in and out can0. I should be able to send something.
wcmcu-1051, I’ve tested this transceiver isolated and it works
Okay, they seems the different tests.
The loopback on is the internal loopback test which means you don’t need to connect any cable for the test. ----> It worked.
Your CAN communication with the motor. ----> It failed.
Is my understanding correct?
can state ERROR-PASSIVE (berr-counter tx 128 rx 0) restart-ms 0
[ 160.564831] mttcan c310000.mttcan can0: entered error warning state
[ 160.571356] mttcan c310000.mttcan can0: entered error passive state
It seems there’s wrong packet sent causing it entering into ERROR-PASSIVE state.
How did you setup can0 and the full packet(ID, length, data) you send to the motor?
What bugs me is that I can’t even send the message. Even if my transceiver is not working, and my motor is not working, the Jetson should be able to send something, but the candump is empty.
using the command sudo ip link set can0 up type can bitrate 1000000 dbitrate 2000000 restart-ms 1000 berr-reporting on fd on