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.

TMDSCSK388: How to configure HDVPSS to capture

Part Number: TMDSCSK388
Other Parts Discussed in Thread: TVP5158, TVP7002, , DM388

Hi i'm trying to create a video path from HDVPSS capture.

Help request for necessary steps, code or any available documents to configure HDVPSS to capture.

Thank you

  • Hi,
    A few questions.
    1. What is the IPNC version?
    2. Which hardware are you using?
    3. If its a custom hardware, does it contain TVP7002 or TVP5158 chip?
    4. What will be your capture source?
    5. Explain your pipeline.
  • Hi Anuj,

    1. What is the IPNC version?
    IPNC_RDK 3.9.0

    2. Which hardware are you using?
    I'm using DM388 Processor board (TMDSCSK388) + a customized carrier board

    3. If its a custom hardware, does it contain TVP7002 or TVP5158 chip?
    I'm not customizing TMDSCSK388, for reference I procured DM388 CSK (TMDSCSK388 + TMDSCSKCC).
    A new carrier board is developed to interface with the source replacing TMDSCSKCC. Here only the carrier
    board is different, TMDSCSK388 is same, thus it contain TVP7002 or TVP5158 chip.

    4. What will be your capture source?
    The source provides 16-bit YCbCr video. This video should be streamed as in DM388 CSK


    Thank you
  • Hi Nithin,
    What will be your capture source?
    I am asking here that by which medium you are feeding video source. Is it VGA,Composite input, HDMI etc?
    After that please that particular source is connected to which chip(TVO7002 or TVP5158).

    For reference you can check below params of capture link.
    CaptureLink_CreateParams_Init(&capturePrm);

    capturePrm.numVipInst = 1;
    capturePrm.outQueParams[0].nextLink = dupId[CAM_DUP_IDX];

    capturePrm.tilerEnable = FALSE;
    capturePrm.enableSdCrop = FALSE;
    capturePrm.numBufsPerCh = 8;
    capturePrm.numExtraBufs = 1;
    capturePrm.fakeHdMode = FALSE;
    capturePrm.enableSdCrop = FALSE;
    capturePrm.doCropInCapture = FALSE;

    pCaptureInstPrm = &capturePrm.vipInst[0];
    pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA;
    pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
    pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
    pCaptureInstPrm->standard = SYSTEM_STD_1080P_60;//SYSTEM_STD_AUTO_DETECT;
    pCaptureInstPrm->numOutput = 1;

    pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
    pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;
    pCaptureOutPrm->scEnable = FALSE;
    pCaptureOutPrm->outQueId = 0;
  • Hi Anuj, Thank you for the reply.

    My source video module consist a customized OMAP -3530 LCD Interface. This is connected to a display using 40 pin flex cable.

    The input to the display is 16-bit 422 YCbCr. Y[7:0] available in 8 pins and CbCr[7:0] in other 8 pins. Here I'm removing the display

    and the cable interface is latched to the customized carrier card, having TMDSCSK388. It is same like the camera connected with DM388_CSK.

    The hardware connections are made such that the input video to the carrier card will reach VIN[0]A port of DM388.

    Now the video is connected to VIN port A only,

    I have not made any changes in the software IPNC_RDK 3.9.0, It is same as it is for the DM388_CSK application

    Thank you.

     

  • Hi Nithin,

    VIN[0] should be connected to either TVP7002 or TVP5158 chip.
    Please find that.
    You need to set the videoDecoderId in your capture link params to start the particular device driver.
  • Hi Anuj,

    In ../ti/ipnc_rdk-3.9.0/Source/ti_tools/hdvpss_01_00_01_37/packages/ti/psp/examples/common/vps/chains/src/chains_singleChCaptureTvp7002.c

    I have

    for(vipInstId=0; vipInstId<capturePrm.numVipInst; vipInstId++)
    {
    pCaptureInstPrm = &capturePrm.vipInst[vipInstId];
    pCaptureInstPrm->vipInstId = chainsCfg->VipPort;
    pCaptureInstPrm->videoDecoderId = FVID2_VPS_VID_DEC_TVP7002_DRV;
    pCaptureInstPrm->inDataFormat = FVID2_DF_YUV422P;
    pCaptureInstPrm->standard = FVID2_STD_1080I_60;
    pCaptureInstPrm->frameCaptureMode = FALSE;
    pCaptureInstPrm->fieldsMerged = TRUE;
    .............
    .............

    Thank you
  • Hi Nithin,

    Yes, this is a example of capture using TVP7002 chip.
    But first you need to find out from the schematics of carrier board that your video input is connect to which video decoder chip.
    If its TVP5002 then you can go ahead with above example of the reference params shared by me.
  • Hi Anuj,

    The carrier card does not have TVP7002, the CC is interfaced with J3,J4 and J5 connectors of TMDSCSK388. I believe the chips are internal to DM388

    Thank you
  • Hello,

    Please find the TVP7002 DS here. TVP7002 is an external IC that can be optionally mounted on your custom carrier board if required. 

    www.ti.com/.../tvp7002.pdf

    Thanks 

  • Hi,
    Sorry, Then there is no TVP7002 in my setup.

    Thank you,
    Regards.

  • Hi Nithin,
    Without any kind of video decoder chip you will not be able to capture because these chips are responsible to take input from the input source and feed the VIN[0] port.
  • Thank you, Anuj.

    I have one doubt, In DM388_CSK (TMDSCSK388 + TMDSCSKCC), the camera is interfaced with the carrier card.
    I see the camera inputs directly given to the parallel CAM inputs, so in this case do we not need any video decoders?

    As I'm not able to find any decoders in TMDSCSKCC (carrier card).
    How is this working?

    thank you,
    Regards

  • Hi Nithin,

    Can you please share your schematics of your carrier card on my email-id anuj.gupta@pathpartnertech.com.
    We will look into to suggest you in a better way.

  • Hello Nithin,

    Hope you have already checked HDVPSS interface details. Please find the link FYR www.ti.com/.../spruhi7a.pdf.

    DM38X supports 2 types of Video processing engines namely ISS and HDVPSS. Usually Camera sensors are interfaced to ISS and not to HDVPSS. Please refer HDVPSS data sheet for more details on available interfaces.


    Thanks

  • What type of video source you are planning to connect? Is it a camera sensor, or a cam recorder etc? Pleased clarify
  • Hi Nithin,

    Can you please share a block diagram which will explain your OMAP board to DM388CSK connection.
    In block diagram please try to show the pin connections (e.g. J15 which all pins are getting signal as input).
    We checked your schematics, there is a J15 connector on your carrier card. I hope you are interfacing OMAP board over that.
    You can share the block diagram over my mail.
  • Hi Ravikiran,

    I have gone thorug the HDVPSS document. HDVPSS accpets 16 bit 422 YCbCr input. My video source is a video processing module with camera and other processor inside the black box. My aim is to tap the 16 bit YCbCr at the display interface to a display