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.

CAN (HECC) and SocketCAN applications

Other Parts Discussed in Thread: AM3517

Hi all,

I have followed the steps on http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/416/p/86552/299498.aspx#299498.
and I am able to se a CAN interface (can0) up. I have cross-compile the SocketCAN (can-utils) however I'm not getting CAN frames.

I'm trying to connect the CAN controller signal (CAN_TX and CAN_RX) to a CAN transceiver (MCP2551) which is in a custom hardware to obtain a CAN node, however I am not even able to see tx/rx between controller and receiver using the SocketCAN applications.

I'm using a PCI to CAN Interface from Peak Systems on my development machine, it this card I have two CAN interfaces and I have
test the can-utils applications and they work succesfully (cangen, cansnifer, cansend)

Someone have tested the CAN in AM3517 w/o the application board? Or in the other scenario someone have succesfully use the SocketCAN applications with the application board?

  • hi Jorge

    I have tested CAN between two AM3517 EVM boards (connected back to back) and I'm able to send (using cansend) and rx (using candump).

    I followed instructions (to the word) detailed here: http://processors.wiki.ti.com/index.php/Sitara_AM35x_CAN_%28HECC%29_Linux_Driver

    What kernel version are you using ?  I've tried with kernel 2.6.32 ( which is contained in the last release viz. PSP_03.00.00.06) and works as is.

    I've also tried on the latest (2.6.37) also , some patches were required to get it to work here.

     

     

    regards

    Abhilash

  • Hi Abhilash,

    I have followed those steps and the steps in http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/416/p/86552/299498.aspx#299498 to obtain a new ip version to create the CAN device net. I'm using kernel 2.6.32 which is in the PSP-SDK-03.00.00.05. I'm trying to see some communication in the CAN_TXD with an oscilloscope because I don't have the EVM Application board, I'm going to use a custom hardware with the CAN transceiver, but I still can't see anything.

    Thanks for answering.

    Regards,

    Jorge