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.

Mistral DM8148 EVM: capture composite video by TVP5147M - invalid DATACLK value

Other Parts Discussed in Thread: TVP5147

Hi firends,

still have a problem with run capture from composite video source on DM8148 Mistral EVM  with TVP5147M on Mistral I/O expansion board and dvr-rdk version 3.5 from udworks.

Capture link and video decoder configured are as following:

pCaptureInstPrm                     = &capturePrm.vipInst[0];

pCaptureInstPrm->vipInstId    = SYSTEM_CAPTURE_INST_VIP1_PORTA;

pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP5147_DRV;

pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;

pCaptureInstPrm->standard           = SYSTEM_STD_D1;

pCaptureInstPrm->numOutput          = 1;

 

pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];

pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;

pCaptureOutPrm->scEnable            = FALSE;

pCaptureOutPrm->scOutWidth          = 0;

pCaptureOutPrm->scOutHeight         = 0;

pCaptureOutPrm->outQueId            = 0;

 

vidDecVideoModeArgs.vipInstId            = SYSTEM_CAPTURE_INST_VIP1_PORTA;    

vidDecVideoModeArgs.deviceId             = DEVICE_VID_DEC_TVP5147_DRV;    

vidDecVideoModeArgs.numChInDevice        = 1;

vidDecVideoModeArgs.modeParams.videoIfMode        = DEVICE_CAPT_VIDEO_IF_MODE_8BIT;    

vidDecVideoModeArgs.modeParams.videoDataFormat    = SYSTEM_DF_YUV422P;    

vidDecVideoModeArgs.modeParams.standard           = SYSTEM_STD_D1;    

vidDecVideoModeArgs.modeParams.videoCaptureMode   = DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;    

vidDecVideoModeArgs.modeParams.videoSystem        = DEVICE_VIDEO_DECODER_VIDEO_SYSTEM_AUTO_DETECT;    

vidDecVideoModeArgs.modeParams.videoCropEnable    = FALSE;    

vidDecVideoModeArgs.modeParams.videoAutoDetectTimeout = -1;

 

SYSTEM_USE_VIDEO_DECODER isn't defined.

and vdisParams.enableConfigExtVideoEncoder = FALSE;

 

TVP5147M configured to capture from VI_2_B input (composite video on Mistral board), output format BT656. Video source - standard PAL camera.

I test by oscilloscope DATACLK (pin 40 on TVP5147M) and I got a very strange value - 5,8MHz (instead of 27MHz) with Vpp 3,40V. Composite video signal present on pin8 of decoder. i2c terminal works without any porblems.

 

1) Am I understood correctly - DATACLK supplied to decoder from VIP corresponds to video port configuration?

2) I guess in this case I have an invalid value due to incorrect VIP configuration. Please tell me in which way to look for the problem of many others? I would be grateful for any help.

 

Thanks alot.