Hi ,
We are using TCAN4550 interfaced with SPI through the Linux.
We have ported dmurphy-analog tcan4550 linux drvier for can
/home/raghu/CAN/dmurphy-analog/drivers/net/can/spi/tcan4x5x.c .
How can we test it ?
Can we connect two tcan4550 each other can test it .
connecting CANH CANL of two device one to one and GND's .
steps used:
on both linux terminal .
ip link set can0 down
ip link set can0 set bitrate 500000
ip link set can0 up
from device A:
cansend can0 123#45
is sent . and other side of device B nothing is recevied .
Note: I tried few other cansend provided in example , candump shows nothing
config show frames dropped :1 .. carrier: 1
Is my setup is correct ?
Can you please explain how to test it by connecting two TCAN4550 each other ?
Is there anything i need to change in software or hardware to make it work ?
Regards
Raghu DP