Hello everyone:
Now I encount a very strange problem.I’am using Jetson AGX Xavier Can interface which is connected a SN65HVD232 Can transceiver.I also set all config as below:
1.modify registers
sudo apt-get install busybox
sudo busybox devmem 0x0c303000 32 0x0000C400
sudo busybox devmem 0x0c303008 32 0x0000C458
sudo busybox devmem 0x0c303010 32 0x0000C400
sudo busybox devmem 0x0c303018 32 0x0000C458
2.install can modules
sudo modprobe can
sudo modprobe can_raw
sudo modprobe mttcan
3.set can0 and can1 interface up
sudo ip link set can0 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd on
sudo ip link set can1 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd on
sudo ip link set up can0
sudo ip link set up can1
4.then candump can0 or can1,but nothing received
5.use command as below, I found that all messages are errors
ip -details -statistics link show can0
ip -details -statistics link show can1
6.the I use dmesg | grep mttcan,all messages are:
BIT0 erros detected.
SN65HVD232 use 500kbps baudrate.
please help me , thands a lot.