According to the developer guide, Thor does not require pinmux configuration. It is already set to the CAN function by default.
So, does it mean that we no longer need to use busybox to write the values of the corresponding registers?
We have independently developed a board that can output 4 channels of CAN.
During the test using the external CAN analyzer, it was found that the CAN0 transmitter and receiver were functioning normally, but CAN1, CAN2, and CAN3 were unable to receive data.
The operation steps for the Thor end are as follows:
nvidia@tegra-ubuntu:~$ sudo modprobe can
nvidia@tegra-ubuntu:~$ sudo modprobe can_raw
nvidia@tegra-ubuntu:~$ sudo modprobe mttcan
nvidia@tegra-ubuntu:~$ sudo ip link set can3 type can bitrate 500000 loopback off
nvidia@tegra-ubuntu:~$ sudo ip link set up can3
nvidia@tegra-ubuntu:~$ cansend can3 123#11223344aabbccdd
nvidia@tegra-ubuntu:~$ candump can3
The CAN analyzer terminal receives data through the software and then sends it out.