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.

TDA2EXEVM: 8bit BT656 embedded sync data from vout2

Part Number: TDA2EXEVM

Hello,


We are using TDA2EX custom board. we want 8bit BT656 embedded sync data from vout2.

We are using vision sdk 2.12. we are running as Linux(ARM) + BIOS(IPU2).

Use case: capture -> Display

From SOC to external encoder vout2_d[0:7], vout2_clk

I probed vout2_clk. its 27MHZ. but in display there is no data?

Below is my display configuration

            pPrm->deviceId = DISPLAYCTRL_LINK_USE_LCD;
            pVInfo->vencId = SYSTEM_DCTRL_DSS_VENC_LCD2;
            pVInfo->outputPort = SYSTEM_DCTRL_DSS_DPI2_OUTPUT;

            pVInfo->mInfo.scanFormat                =   SYSTEM_SF_INTERLACED;
            pVInfo->mInfo.standard                  =   SYSTEM_STD_NTSC;
            pVInfo->mInfo.width                     =   720U;
            pVInfo->mInfo.height                    =   480U;
            pVInfo->mInfo.pixelClock                =   27000U;
            pVInfo->mInfo.fps                       =   0U;
            pVInfo->mInfo.hFrontPorch               =   0U;
            pVInfo->mInfo.hBackPorch                =   0U;
            pVInfo->mInfo.hSyncLen                  =   0U;
            pVInfo->mInfo.vFrontPorch               =   0U;
            pVInfo->mInfo.vBackPorch                =   0U;
            pVInfo->mInfo.vSyncLen                  =   0U;
            pVInfo->vencDivisorInfo.divisorLCD      =   1;
            pVInfo->vencDivisorInfo.divisorPCD      =   1;

            pVInfo->vencOutputInfo.dataFormat       =   SYSTEM_DF_YUV422I_YUYV;//SYSTEM_DF_YUV422P;//SYSTEM_DF_RGB24_888;
            pVInfo->vencOutputInfo.dvoFormat        =   SYSTEM_DCTRL_DVOFMT_BT656_EMBSYNC;
            pVInfo->vencOutputInfo.videoIfWidth     =   SYSTEM_VIFW_12BIT;

            pVInfo->vencOutputInfo.pixelClkPolarity =   SYSTEM_DCTRL_POLARITY_ACT_LOW;//SYSTEM_DCTRL_POLARITY_ACT_HIGH;
            pVInfo->vencOutputInfo.aFmt             =   SYSTEM_DCTRL_A_OUTPUT_MAX;

            ovlyPrms->vencId = SYSTEM_DCTRL_DSS_VENC_LCD2;

Could you help us for this issue?

Regards,

RAJ M

  • Hi Raj,

    I have forwarded your question to VisionSDK experts to comment.

    Regards,
    Yordan
  • Hi Raj,

    Are you setting up pinmux? Did you probe the signals and see they are toggling?

    Rgds,

    Brijesh

  • Hi Brijesh,

    This is my pin mux settings

    devmem2 0x4A00355C w 0x10004
    devmem2 0x4A0035C4 w 0x10004
    devmem2 0x4A0035C0 w 0x10004
    devmem2 0x4A0035BC w 0x10004
    devmem2 0x4A0035B8 w 0x10004
    devmem2 0x4A0035B4 w 0x10004
    devmem2 0x4A0035B0 w 0x10004
    devmem2 0x4A0035AC w 0x10004
    devmem2 0x4A0035A8 w 0x10004

    I have probed vout2_clk -> 27Mhz
    First two data line there is no data but 3-8 signals is proper.

    Does below setting makes any problem?
    pVInfo->vencOutputInfo.videoIfWidth = SYSTEM_VIFW_12BIT;

    I cant set SYSTEM_VIFW_8BIT. Display create failed.

    Regards,
    RAJ M
  • Hi RAJ,

    What is the input that you are providing to the DSS? Are you sure that the lower bits have values in your input?

    Rgds,
    Brijesh


  • What is the input that you are providing to the DSS?

    This is my usecase .txt file

    UseCase: chains_vipSingleCam_vdec_Display

    Capture -> VPE_dei -> Display_Video

    I am feed camera out to DSS.

     Are you sure that the lower bits have values in your input?

    SOC to encoder 8bit interface (8-date and one clk)

    Does below setting makes any problem?
    pVInfo->vencOutputInfo.videoIfWidth = SYSTEM_VIFW_12BIT;

    I cant set SYSTEM_VIFW_8BIT. Display create failed.

    Regards,

    RAJ M

  • Hi Raj,

    When you configure DSS for BT656, it will output only 8bit, interface width does not matter.
    I was asking if lsb bit has some valid values in your input. Can you send some white color and see if it toggles?

    Rgds,
    Brijesh
  • Hi Brijesh,

     When you configure DSS for BT656, it will output only 8bit, interface width does not matter.

    Thank you  got it.

     I was asking if lsb bit has some valid values in your input. Can you send some white color and see if it toggles?

    In my camera input i can set blue or black both i tried but lsb [0,1 bit] not toggling other bit [2-7 bit] toggled and clk 27 Mhz proper.

    Regards,

    RAJ M

  • Hi RAJ,

    Oh, ok, it means only last two lsbs are not toggling. Upper 8bits are working fine.

    If i remember correctly, TDA2EX outputs 10bit BT656 output. So if you have connected to 0:7 bits, it will not work.

    Rgds,
    Brijesh
  • Hi Brijesh,

    " When you configure DSS for BT656, it will output only 8bit, interface width does not matter."

    As you said earlier  BT656 output 8bit.

     If i remember correctly, TDA2EX outputs 10bit BT656 output. So if you have connected to 0:7 bits, it will not work.


    TDA2EX output 10bit BT656 output?

    Can you clarify 8bit or 10 bit?

    it means only last two lsbs are not toggling. Upper 8bits are working fine.

    0th and 1st bit are not toggling 2nd to 7th bits are toggling. i have not checked 8th and 9th bit

    Regards,

    RAJ M

  • Even 8th and 9th bit will toggle.
    It outputs 8bit data on 2 to 9 bits.

    Rgds,
    Brijesh
  • Hi Brijesh,

    " If i remember correctly, TDA2EX outputs 10bit BT656 output. So if you have connected to 0:7 bits, it will not work."

    Is it anywhere mention TDA2EX outputs 10bit BT656 output. can you point me the which document or data sheet page no?

    Regards,
    RAJ M
  • Hi RAJ,

    The section "11.2.4.13.5 BT.656 and BT.1120 Modes" shows this mapping of BT656 signals to data lines.
    There is also a note which says " For compatibility with existing 8-bit interfaces, the two LSB are ignored, and only bits [9:2]
    are used."

    Rgds,
    Brijesh
  • Thank you Brijesh.,