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.

TDA4VM: About TDA4 SOC & PSDKRA Development of Inter-Processor Communication

Part Number: TDA4VM


Hi experts,

i want create a communication link between the two nodes,and the node will work independently with different cores ,and different dataflow,like C66 /A72 /C7x···.do you think it'll work base on TIOVX framework?and at the psdk_rtos_auto_j7_06_01_00_15 SDK which testcase or App demos can be used as a reference design?

Pls, help me, Thank you so much.

Nick

  • Hi Nick,

    Yes, it will work. We have usecases using nodes from different cores. Frameworks takes care of communication link among cores.

    Regards,

    Brijesh

  • Hi Brijesh,

    thank for your reply,and can you share the usecase for me which designed for Node communication with parallel data flow?

    • if the sender is A72-NODE or C66-NODE or C7x-Node,please show me the IPC interface that i needed.
    • At the OpenVX framework ,what are the considerations in parallel node communication?

  • Hi Nick,

    As i said, you just write the node and add/register it for A72 or C66x. Now whenever application uses this node, by default, it will use this registered core and will also take care of IPC.

    You could refer to single channel camera example or AVP demo example in vision apps

    Regards,

    Brijesh

  • Hi Brijesh,

    As your suggestion, Base on AVP Demo ,I have a test in emulation mode(Linux x86_64),but i get the result :Segmentation fault (core dumped),Please tell me the cause of the problem,thanks.

    my test code as follows:

    at~\vision_apps\apps\dl_demos\app_tidl_avp\main.c

    find app_run_graph func,and add code in sub-frameloops,just behind tivxTaskWaitMsecs func

    #ifdef APP_DEBUG
    printf("app_avp: Frame ID %d of %d ... Done.\n", frame_id, obj->start_frame + obj->num_frames);
    #endif

    /* test code start */

    scalerObj = &obj->scalerObj;

    refs[0] = (vx_reference)scalerObj->coeff_obj;

    status = tivxNodeSendCommand(scalerObj->node, 0u,
    TIVX_VPAC_MSC_CMD_SET_COEFF,
    refs, 1u);


    if(VX_SUCCESS != status)
    {
    printf("MSC: Node send command failed!\n");
    }

    /* test code end */

    and if the command is not right,please show me the right command which can i test node communication,thanks.

  • Hi Nick,

    Could you test this code on EVM? This demo is working fine on EVM.

    Rgds,

    Brijesh