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.

RTOS/TDA3: CSI2 interface with TDA3x

Part Number: TDA3

Tool/software: TI-RTOS

Hi Expert,

I'm running TI-RTOS Vision SDK v03.04 on TDA3x.
Reference usecase: "csi2_cal_multi_cam_view"

custom board frameworks is: AHD 720p30 camera → Decode with MIPI CSI2 → tda3x → SDTV

I saw the graphics working but not the video.

How make sure that the capture module is able to recognize the incoming stream?

Could you please give some suggestion here?

Thanks in advance.

  • Hi Zaku,

    Can you please check if the stream is recognized by CAL module. Please look at address 0x52012350 and see if the number increments.
    If it's not, please check on the following
    1. CSI2 Clock speed
    2. Data/Clock lane ordering
    3. Data Type

    Regards,
    Sujith
  • Hi Sujith,

    Use HW_RD_REG32(0x52012350) to get 0.

    Also, where is the difference between CAL_CSI2_STATUS0~7 ?

    1. CSI2 Clock speed

    pCsi2Prm->csi2PhyClk = CAPTURE_UB964_CSI2_CLOCK_PHY_0;

    Is the setting?

    How to decide how much to set?

    2. Data/Clock lane ordering

    I think the settings are correct.

    3. Data Type

    pOutPrm->inCsi2DataFormat = SYSTEM_CSI2_YUV422_8B;

    Is the setting?

    Thanks in advance.

  • Hi Zaku,

    On #1, yes thats the correct place. To determine the value, please check the sensor configuration. You would have configured the CSI2 data-rate and if its represented as non Dual-Data-Rate, you will have to multiply it by 2.

    #2, okay.

    on #3, Yes thats correct.

    Regards,
    Sujith
  • Hi Sujith,

    #define CAPTURE_UB964_CSI2_CLOCK_PHY_0 (800U)
    What is the unit? Mhz, Mbps ?

    How to set pCsi2Prm->csi2PhyClk, if decoder configuration is 297MHz,
    I want check if the stream is recognized and receiving status by CAL module .
    Which register are recommended?

    Thanks in advance.

  • Hi Zaku,

    If the configuration of the decoder/CSI2 source say CSI2 clock is 297 MHz, please set csi2PhyClk as 297.
    If the stream is recognized by CAL (i.e. LP transitions are performed as expected) then at 0x52012304 expect to see a value of 0x6Axxxxxx

    Regards,
    Sujith