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.

AM62A7: mcu_mcan1 going to bus off state in linux.

Part Number: AM62A7

Tool/software:

Hi TI Experts,

I am currently working on a project that requires me to access mcu_mcan interface in linux. I have followed the guide in PSDK MCAN Foundational Components and PSDK How to guide - MCAN to enable the MCAN Overlay which came default with the psdk v 10.01. 

I am now able to see MCU-MCAN1 interface in linux and i am able to configure the bit rate to 500kbps and 2mbps in arbitration and data phase at 80% sampling. I am using tcan1042 transceiver to connect the mcan to the bus. 

But for some reason i am not able to send or receive data using the interface and it keeps going to bus off state due to multiple failed attempts. I am using am62a7-sk-lp evk for my hardware setup which is connected to mcan 1042 transceiver. I have exhausted most resources on this matter and i would appreciate any help on how to solve this problem.

I am attaching screenshots of my test and my hardware setup for reference

Thank you in advance 

Ashwin Bhaskar A

  • Hello TI Experts,

    UPDATE

    I tried disabling mcu_mcan0 in r5 and tried doing the same thing i tried for mcu_mcan1 using mcu_mcan0 in linux and it is working. I am able to send and receive data through the interface . It seems this issue only exists with mcu_mcan1. I double checked the hardware and mcu_mcan1 still goes to bus off state. 

    Any idea on why this occurs ?

    Thank you in advance

    Ashwin