I try to use the CAN0 port on a Xplained board.
I have connected the board to an existing can bus. I can compare senstences from xplained with a Kvaser usb.
I have set up the CAN0 like this:
I can see the CAN sentences in the console, and sometimes it stop for 10 seconds (even more sometimes). and start again.
Code: Select all
ip link set can0 up type can bitrate 250000 ifconfig can0 up candump can0
I was thinking it was a console issus, so I have code a C++ app to decode CAN bus. it is the same problem.
Do you have any idea ?
I use an yocto distribution. I had test canbus with the image found on the linux4sam web site.