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.

AM62P: Enabling 3 CAN interfaces in the AM62Px/AM62x

Part Number: AM62P

Tool/software:

Hi,

I wish to utilize x3 CAN interfaces on the AM62Px/AM62x
I am reffering to two SDKs documentation pages I have found:

https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/latest/exports/docs/linux/How_to_Guides/Target/How_to_test_MCAN_on_AM62x.html#enable-mcu-mcans-on-am62ax
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_02_01_10/exports/docs/linux/How_to_Guides/Target/How_to_test_MCAN_on_AM62x.html#testing-3x-mcan-on-am62x

While the first, of early release, suggests that "MCU domain do not have hardware interrupt routed to A53 Linux. Instead timer polling functionality has been added to the MCAN driver in Linux Kernel to enable 3x MCAN"
the second link has no mention of this.

My questions are,

Which of the above is correct? Does the MCU domain have a hardware interrupt routed to the A53 Linux?
Is any drawback using MCU_CAN vs using MCAN on the AM62Px/AM62x? is one preffered over the other? 

Thank you for your support,

Jhon Q

  • Hello,

    The above-mentioned links are from different SDK versions, hence you can see the difference in MCAN documentation.

    The support for all 3 CAN instances has been added as per the latest release. You need to apply the overlay file and start using all the three CAN interfaces.

    Does the MCU domain have a hardware interrupt routed to the A53 Linux?
    Is any drawback using MCU_CAN vs using MCAN on the AM62Px/AM62x? is one preffered over the other? 

    No, MCANs in MCU domain do not have hardware interrupt routed to A53 Linux. Instead timer polling functionality has been added to the MCAN driver in Linux Kernel, to add MCU MCAN support. If you want to use one MCAN instance, main_mcan is preferred. However there are no reports of any drawback on using the MCU_MCANs. You can expect slight increase in latency due to polling mode.

    Regards,
    Aparna