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.
Hi TI members:
In our customer board, we have two deserializer (UB962 and UB936).
we connect UB936 to TDA4 CSI instance 0, and connect UB962 to TDA4 CSI instance 1.
In RTOS 07_00 version, we can receive CSI data form UB936 / UB962 successfully.
So we try to apply the same patch to RTOS 07_01 version,
and the UB936 related function work normal in RTOS 07_01 version.
But when we test UB962 related function, we meet below error message
973.687200 s: VX_ZONE_ERROR:[ownContextSendCmd:782] Command ack message returned failure cmd_status: -1 973.687218 s: VX_ZONE_ERROR:[ownContextSendCmd:818] tivxEventWait() failed. 973.687224 s: VX_ZONE_ERROR:[ownNodeKernelInit:526] Target kernel, TIVX_CMD_NODE_CREATE failed 973.687229 s: VX_ZONE_ERROR:[ownNodeKernelInit:527] Please be sure the target callbacks have been registered for this core 973.687235 s: VX_ZONE_ERROR:[ownNodeKernelInit:528] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel 973.687297 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel com.ti.capture ... failed !!! 973.687305 s: VX_ZONE_ERROR:[vxVerifyGraph:2010] Node kernel init failed 973.687310 s: VX_ZONE_ERROR:[vxVerifyGraph:2064] Graph verify failed
And I find this error is caused by that I set capture_params.instId[0] = 1 in UB962's function.
Does anyone have any idea about this issue?
BR
Sentinen Chen
Hi Chen,
Can you please share your complete create parameters of the capture node?
Regards,
Brijesh
Hi Brijesh:
Our UB962's complete create parameters should as below
capture_params.numInst = 1; capture_params.numCh = 1; capture_params.instId[0] = 1; capture_params.instCfg[0].enableCsiv2p0Support = (uint32_t)vx_true_e; capture_params.instCfg[0].numDataLanes = 4; capture_params.instCfg[0].dataLanesMap[0] = 1; capture_params.instCfg[0].dataLanesMap[1] = 2; capture_params.instCfg[0].dataLanesMap[2] = 3; capture_params.instCfg[0].dataLanesMap[3] = 4; capture_params.chVcNum[0] = 0; capture_params.chInstMap[0] = 0;
BR
Sentinen Chen
Hi Brijesh:
I find if I change the capture_params.chInstMap[0] value then I can pass the graph verify.
capture_params.numInst = 1; capture_params.numCh = 1; capture_params.instId[0] = 1; capture_params.instCfg[0].enableCsiv2p0Support = (uint32_t)vx_true_e; capture_params.instCfg[0].numDataLanes = 4; capture_params.instCfg[0].dataLanesMap[0] = 1; capture_params.instCfg[0].dataLanesMap[1] = 2; capture_params.instCfg[0].dataLanesMap[2] = 3; capture_params.instCfg[0].dataLanesMap[3] = 4; capture_params.chVcNum[0] = 0; capture_params.chInstMap[0] = 1;
and I can get CSI Data for UB962 successfully.
BR
Sentinen Chen
Hi Chen,
chInstMap maps channel number to the instance id, since you are using single instance (numInst = 1) with instance id as (instId[0] = 1), you should set this map to 1.
Regards,
Brijesh