This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: To test the CAN interface in Linux Kernel.

Part Number: AM4378

Hi,

To test the CAN interface in kernel, I used cansend utility to transfer the data and candump utility to receive the data. But in our testing, we need to continuously transfer and receive the CAN data. Is there any script is available for testing the CAN interface. 

Regards,

Monish P

  • Hi, 

    There may exist an application/utility that does what you are trying to accomplish but I do not know one currently.

    I think you could probably write a script using cansend and candump but you will need to develop a method of flow control between boards. The flow control will need to be there to keep from overrunning the receiving board. For example write two scripts, one that sends and waits for an echo. The second would be one that waits for message from the first script and then echos the message back. 

    Best Regards,

    Schuyler