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.

RTOS/TDA3XEVM: Difference between autosar and Mcal modules on vision sdk

Part Number: TDA3XEVM

Tool/software: TI-RTOS

Hi,

we found two modules on apps folder, one is mcal and other one is autosar_ipcin and autosar_ipcout, From our point of view these two modules used for exchanging the messages in between the cores is that Correct? According to the source code the mcal fits on ipu2(secondary) or ipu1_1 and autosar_ipcin & out fits on ipu1_0 (primary).

Kindly correct us if we are wrong at the assumption.


Thanks 
Prakash

  • Hi Prakash,

    can you check this Application Note and see if it clarifies your questions about MCAL/AutoSAR integration:

    Regards,

    Yordan

  • Hi Yordan,

    Thanks for the application note, it was really helpful. At this moment we don't have idea to integrate the autosar stack and we planned to write some software on ipu1_1 in tda3x. So we need to send some custom messages inbetween the cores ipu1_0 to ipu1_1 and ipu1_1 to ipu1_0. Our questions can we reuse the autosar & mcal modules according to our needs?

    if possible can you explain in short about these two modules (autosar ipc & mcal)? if there is any document Kindly point us.

    Thanks 

    Prakash M 

  • Hi Prakash,

    can you check if you can use IPCLib for your usecase, please refer vision_sdk\docs\FeatureSpecificUserGuides\AppNote_IpcLib.pdf

    Regards,

    Yordan

  • Hi Yordan,

    If we understood correct, the  autosar IPC  are implemented on top of IPClib modules. we seen some ipclib api are present in autosar modules.

    Regards

    Prakash

  • Hi Prakash,

    TI provides IPC as an CDD MCAL and this can inter-operate with IPCLib of PDK/VisionSDK. With  autosar_ipcin/ autosar_ipcout links on VisionSDK allows one to establish a communication channel between core hosting AUTOSAR and core hosting VisionSDK.

    In the usecase vip_single_cam_view_autosar_app an message would be sent from IPU 1 0 (hosting VisionSDK) to IPU 2 0 hosting MCAL demo application.

    Regards, Sujith