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.

TDA4 CAN-FD on mcu_mcan0 / mcn_mcan1 Test

Other Parts Discussed in Thread: SYSBIOS

Hi TI members:

I study the thread https://e2e.ti.com/support/processors/f/791/p/862675/3190807?tisearch=e2e-sitesearch&keymatch=mcu_mcan0#3190807

there are two things I have questions form 's reply

1. >> There is no driver for CAN on TDA4VM/J721EX as of now.

I grep the mcu_mcan related word in Linux / Uboot dts table in 06_02_sdk, but still no-thing find.

so it mean we still only can control can bus through R5F in main domain/mcu domain not A72, right?

2. >> Both the mcu1_0 and mcu2_1 can control all CAN instances - the SDK has example running on mcu1_0 where you can control the MCU_MCAN0 and MCU_MCAN1.

Can you give more information abou "the SDK has example", like path in SDK...

right now, I only find below adaptor in  Processor SDK Linux Automotive

4.1.1. CAN-Ethernet Gateway demo 

but it use mcan4 & mcan9 in main-domain. not mcu_mcan0 & mcu_mcan1.

Is it the same thing of "the SDK has example"?

3. >> mcan_evm_loopback_app_main_k3.c 

does ti have related documents to explain how to use this loopback tool? 

Can it use to test MCU_MCAN0 &  MCU_MCAN1?

BR

Sentinen Chen

  • Hi Sentinen Chen,

    On 1. Yes, that is correct. Linux doesn't have a CAN driver and you need to use the R5F to control that.

    On 2. The example I'm referring to is an MCUSW demo, name of the application is can_profile_app (a sysbios application)

    Path to the application - <SDK_INSTALL_PATH>/mcusw/mcuss_demos/profiling/can/.

    You can look for the documentation in <SDK_INSTALL_PATH>/mcusw/mcal_drv/docs/drv_docs/demo_can_profile_top.html

    You can run the application from MCU1_0 which would control the MCU domain CAN instances MCU_MCAN0 &  MCU_MCAN1 and you can also run the application from MCU2_1 which would control the MCAN in MAIN domain.

    Regards,

    Karan

  • Hi Karan:

    Thanks your reply.

    I will study demo_can_profile_top.html first. 

    If I get any question, I will open new thread to ask.

    Thanks a lot

     

    BR

    Sentinen Chen

  • Hi Sentinen Chen,

    Please click on Verify Answer to close this thread.

    Regards,

    Karan