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.

AM5726: AM5726

Part Number: AM5726

Title: Sitara AM5726 and DCAN2 not working

 

Description

We’re using the AM5726 Sitara device which has two DCAN modules.  We are using the GPIO pins E21 and F20 for the TX and RX signals for DCAN2 on the device.

Once we boot the processor, the ifconfig -a command shows can0 as an available resource.  If we set up can0 in loopback mode, we can use cangen and candump to send and receive data.  If we turn off loopback, when we use cangen the output on the TX pin is always a fixed pattern no matter how we set the arguments.  The pattern is 17 0’s, followed by 15 iterations of “25 1’s followed by 1 0”.  The can0 interface goes into the bus-off state after roughly 20ms when using a bitrate of 1000000.  If we hook up a Komodo sniffer, we see a number of stuff errors.

How can we get valid CAN data out of the Sitara using DCAN2?

  • Hi,

    1. Can you please confirm if this behavior is observed with DCAN1 as well?

    2. Are you able to send a single message using cansend using DCAN2?

    3. Can you also verify the CAN transceiver settings for the DCAN2?

    4. Are you running on the EVM or a custom board?

    Regards

    Karan