Unable to properly communicate with CAN when bitrate set over 500000

Hi Team

I have connected two Xavier devices over can, Using a can transceiver but when i set bit-rate more than 500000 the message is not properly transmitted.

How can we debug this issue?

Hi Mr_JP,

Are you using the devkit or custom board for Xavier NX?
What’s your Jetpack version in use?

Could you share the full steps and command you used to setup CAN?
Is there any error messages when you hit the issue?
Please also provide the full dmesg for further check.

  • Are you using the devkit or custom board for Xavier NX?
    We are using an custom board
  • What’s your Jetpack version in use?
    Jetpack 4.6.1
  • Could you share the full steps and command you used to setup CAN?

#loading drivers
sudo modprobe can
sudo modprobe can-raw
sudo modprobe mttcan

#configuring can
sudo ip link set can0 down

#uncommnet the below command when using can transiver
sudo ip link set can0 up type can bitrate 500000

#receving and sending  message via can
sleep 1
cansend can0 123#abcdabcd
  • Is there any error messages when you hit the issue?
    There is no error messages the message is not received at the other end when we set bitrate above 500000.

So, would it work as expected if you configure it as 500000?

If you want to use 510000 as bitrate, do you configure for both sender and receiver side?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.