Why my jetson orin nano only success in loopback mod when use can-bus?

This is my step for use can-bus:

sudo busybox devmem 0x0c303018 w 0xc458
sudo busybox devmem 0x0c303010 w 0xc400

sudo modprobe can
sudo modprobe can_raw
sudo modprobe can_dev
sudo modprobe mttcan

sudo ip link set down can0
sudo ip link set can0 type can bitrate 50000 loopback on
sudo ip link set up can0

I connect the jetson orin nano’s J17 pins with a CAN transciever(Waveshare SN65HVD230)'s RX and TX , and connect the CAN transciever’s H and L with a usbcan’s H and L.
For the loopback mode, jetson can receive the data as below:

And my usbcan also receive the same data, but it cannot transmit any data to jetson.

If not select loopback mode, jetson and usbcan cannot receive any data. Some log as below:

Any help would be greatly appreciate, thank you.

Hi 705284699,

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

How do you connect your usbcan? (on Jetson or HostPC)
Could you help to share the block diagram of your connection?

loopback on is only used for internal loopack test which means you don’t need to connect any external cable for verification.

If you want to transmit CAN packet from can0 to usbcan, please use CAN transceiver and confirm the same setup for each sides.

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