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.

TDA2P-ACD: IPC issue between A15 (Linux) and IPU1_0

Part Number: TDA2P-ACD

Hello,

We are using Linux + BIOS combination. IPU2 is primary core (SMP) and IPU1_0 is secondary core. We are trying to send some messages through IPC mechanism. When sending data from A15 to IPU2 everything is OK, but when we try to send data from A15 to IPU1_0, this data are received on IPU2 core, not on IPU1_0.

We are using PSDK 3.05.

Any suggestions about this issue? 

Best regards,

Stefan.

  • Hi Stefan,

    Can you let us know how the messages are being sent to IPU1_0? Are you using Vision SDK and the IPC links of vision SDK for your IPC communication?

    Thanks,

    Angela

  • Hi Angela,

    We are using following function:

    System_linkControl(SYSTEM_LINK_ID_DCAN_CTRL,
    APP_CTRL_LINK_CMD_START_DCAN,
    &dcanCfg,
    sizeof(dcanConfig_t),
    TRUE);

    SYSTEM_LINK_ID_DCAN_CTRL is link ID which is registered on IPU1_0 core.

    Best regards,

    Stefan.

  • HI,

    While using linux, we use IPU2 as our primary core.

    So all links registered to IPU1_0 will be mapped top IPU2 and will be running on IPU2.

    You can not use both IPU1 and IPU2 cores while using linux.

    Yes if you want to run anything else from links and chain on IPU1 while IPU2 running as primary core then thats possible.

    Regards,

    Anuj

  • Hi,

    Thank you on your answer. Just to clarify a few things:

    1. When IPU2 is primary core, it is not possible to run links and chaIns on IPU1. It is not mandatory to use links and chains on IPU1 - is there some simple way to communicate between IPU1 and A15 (some custom IPC) in this case?

    2. Is it possible to set IPU1 as primary core and use both cores, IPU1 and IPU2, in SMP mode, with links and chains?

    Best regards,

    Stefan.

  • Hi,

    While using IPU2 as primary core, all links while creating is assigned to IPU1 but due to some mapping it gets created on IPU primary core(IPU2).

    So even if you try to create a link on IPU1, it will be created on IPU2.

    Yes it is possible to set IPU1 as IPU primary core but you need to modify some vision sdk config and dts files.

    While IPU1 acts as primary core and running links and chain on IPU2 is not been tested.

    But you can run some different king os application on IPU2 which can communicate with other cores.

    Please take and example of autosarIPC links.

    vision_sdk\apps\src\rtos\modules\autosar_ipcIn

    Look for AUTOSAR_APP in vision sdk for all modified files.

    Regards,

    Anuj