I have a transceiver AMIS-30663-D. I have connected pin 7 of J26 port as transmitter and pin 5 to the receiver. The DB9 connector of transceiver(CANH and CANL) is connected to Vector Canalyser. VCC provided is 5 volts and Vref is 3.3 volts.
I am trying to transmit messages
$cansend can0 123#abcdabcd
But I am unable to receive it on the Canalyser.
It shows an error active state.
I am not able to receive any messages from Canalyser to Jetson TX2 as well.
The transceiver is in working condition and has been tested.
I have run the following commands before setting up CAN communication.
sudo modprobe can
sudo modprobe can_raw
sudo modprobe mttcan
sudo ifconfig -a
sudo ifconfig can0 down
sudo ifconfig can1 down
sudo ip link set can0 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd on
sudo ip link set up can0
sudo ifconfig can0 up
sudo ip link set can1 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd on
sudo ip link set up can1
sudo ifconfig can1 up
sudo apt-get install can-utils
cansend can0 123#abcdabcd