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.

PROCESSOR-SDK-DRA8X-TDA4X: What's the sequence of MCAN initialization?

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Hi!

I would like to use CAN(MAIN MCAN) in PSDK_RA's VisionApps. (RTOS Side. MCU2_0 core)
I am using PSDK 7.0 in TDA4VM EVM.

I already checked the behavior using MCAN0 and MCAN2 on Linux. However, I don't think Rx Interrupt is available.
So I want to use MCAN in RTOS.

I found the CAN example in MCU_SW(CAN Profiling Application) to use CAN, and I'm analyzing it.
I am simply checking the code, but it is difficult to find the process of directly accessing the register of MCAN in the CAN Init process.
I can't check the MCAN register in TRM during CAN Init function.
I could only check PAD config, I2C settings.

I want to set my own CAN setting by setting the register value myself.
What's the sequence of MCAN initialization?

I checked the TRM but couldn't find it.
I would appreciate it if you could let me know if you have any additional information to refer to.

Regards,
Lee.

  • Hi Lee,

    Is using CAN in vision_apps a hard requirement? Reason I ask this is because we do not have an existing vision_apps firmware which has CAN functionality integrated.

    Other and a more simpler option would be to use the CSL example for CAN. The source code is present at psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/csl/example/mcan/mcanEvmLoopback/mcan_evm_loopback_app_main_k3.c

    Regards,

    Karan