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.

[TDA4M]-Data Transfer between different cores

Hi,

To transfer data between 2 different cores in TDA2x we used "System_linkControl" API, In TDA4x ,which API can be used  in place of above API ?

Regards

Sithara Tresa Chacko

  • Hi,

    We do have control command interface for node in OpenVX also. This is supported in many nodes, for example, scalar, LDC etc.. Once this is implemented in the node, it can be called from the usecase/OpenVX Graph.

    Regards,

    Brijesh

  • Hi Sithara,

    As Brijesh mentioned if an NODE has to receive this data, it could be done via control command tivxNodeSendCommand(). Please refer to the implementation of command "TIVX_DISPLAY_SELECT_CHANNEL" Implemented in file /tiovx/tiovx_dev/kernels_j7/hwa/display/vx_display_target.c and it's used in ./tiovx_dev/kernels_j7/hwa/test/test_capture_display.c

    In cases where this requires not to be handled in a node but rather as a service, please refer appRemoteServiceRun (). For reference we could use IMX390.

    Register service via status = appRemoteServiceRegister(APP_REMOTE_SERVICE_SENSOR_NAME, appRemoteServiceSensorHandler); in file vision_apps/utils/sensors/src/app_sensors.c

    Implementation of this service in same file

    Invocation example in file tiovx/tiovx_dev/kernels_j7/hwa/test/test_capture_viss_display.c

    ASSERT_EQ_VX_STATUS(VX_SUCCESS, appRemoteServiceRun(APP_IPC_CPU_MCU2_1, APP_REMOTE_SERVICE_SENSOR_NAME, APP_REMOTE_SERVICE_SENSOR_CMD_CONFIG_IMX390, &cmdPrms, sizeof(cmdPrms), 0));

    Regards, Sujith

  • Hello Brijesh,

    Is there an example of this concept under vision_apps?

    Thank you.

    Edit@7:44PM

    Hello Sujith,

    I did not refresh the page and hence missed your post.

    We will look at the examples that you have specified, and then get back to you if we have further questions.

    Thank you.

  • Sagar,

    Any further questions on this. Let me know if we can close this issue/thread.

    Rgds,

    Brijesh