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.

DM8127 camera Link

Other Parts Discussed in Thread: TVP5158

I modified the DM8127 IPNC_DVRRDK3.5.0 fullfeature demo. The camera mode is CAMERA_LINK_CAPMODE_DDR and the camera output dataFormat  is SYSTEM_DF_YUV420SP_UV, the running result is "time out exit".

 CameraLink_CreateParams_Init(&cameraPrm);

 cameraPrm.captureMode = CAMERA_LINK_CAPMODE_DDR;
 cameraPrm.outQueParams[0].nextLink = ispId;

 cameraPrm.ispLinkId = ispId;

 /* This is for TVP5158 Audio Channels - Change it to 16 if there are 16
  * audio channels connected in cascade */
 cameraPrm.numAudioChannels = 0;
 cameraPrm.numVipInst = 1;
 cameraPrm.tilerEnable = TRUE;

 cameraPrm.vsEnable = gUI_mcfw_config.vsEnable;
 pCameraInstPrm = &cameraPrm.vipInst[0];
 pCameraInstPrm->vipInstId = SYSTEM_CAMERA_INST_VP_CSI2;
 pCameraInstPrm->videoDecoderId = MultiCh_getSensorId(gUI_mcfw_config.sensorId);
 pCameraInstPrm->inDataFormat = SYSTEM_DF_YUV420SP_UV;

 pCameraInstPrm->sensorOutWidth  = 1920;
 pCameraInstPrm->sensorOutHeight = 1080;
 pCameraInstPrm->standard = SYSTEM_STD_1080P_30;

 pCameraInstPrm->numOutput = 1;
 pCameraOutPrm = &pCameraInstPrm->outParams[0];
 pCameraOutPrm->scEnable = FALSE;

 pCameraOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV; // SYSTEM_DF_BAYER_RAW;
 pCameraOutPrm->scOutWidth = 1920;
 pCameraOutPrm->scOutHeight = 1080;

 pCameraOutPrm->outQueId = 0;

But if I switched the output dataFormat  from SYSTEM_DF_YUV420SP_UV to  SYSTEM_DF_BAYER_RAW, it runs OK.

I have read the documents about ISS, which say that it supports camera from SDRAM(YUV) to SDRAM(YUV) , so How could I do for correcting the error,  Why would  the camera output data format  not be SYSTEM_DF_YUV420SP_UV?