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.

PROCESSOR-SDK-TDAX: TDA2xx IN/OUT

Part Number: PROCESSOR-SDK-TDAX
Other Parts Discussed in Thread: DM388

Hello to all,

I am trying to send video from camera to VOUT1 on TDA2xx that is connected to VIN1A on second TDA2xx chip, as I can see, that is connected via LCD, so I made some changes in chains_vipSingleCam_DualDisplay so I could get video from cameras and send it to LCD and HDMI. In chains_common.c file, in function ChainsCommon_DualDisplay_StartDisplayCtrl I just set the lcdType to CHAINS_DISPLAY_TYPE_LCD_10_INCH and no signal was sent to LCD but I have video on HDMI. I also tried by setting lcdType to CHAINS_DISPLAY_TYPE_LCD_7_INCH.
On second TDA2xx I have made usecase to capture video and display it on HDMI. To set capture params I used ChainsCommon_SingleCam_SetCapturePrms function from chains_common_vision.c, set second and third parameter to LCD width and height (1280 and 800). In chains_common_vision in that function, I set captureSrc to CHAINS_CAPTURE_SRC_DM388 and in there pInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP1_SLICE1_PORTA, pInstPrm->videoIfWidth = SYSTEM_VIFW_24BIT and pInprms->dataFormat = SYSTEM_DF_RGB24_888.

Best regards, Bosko.

  • Hi Bosko,

    I have forwarded your question to ISS expert.

    Regards,
    Yordan
  • Hi Bosko,

    when you say no signals from LCD, are you probing the signals and checking it out?

    I think VSDK examples use LCD1 output, are you probing on LCD1 output? 

    Can you please check if VIP is detecting any input video by checking register value at the offset 0x30?

    Rgds,

    Brijesh

  • As I figured out, in vip_single_cam_dual_display usecase it is set by default to send signal to LCD1 (pPrm_LCD->displayId = DISPLAY_LINK_INST_DSS_VID2). Signal on DSS is measured with oscilloscope and VIP is detecting input video by checking register value at 0x30 (VIDEO_SENSOR: VIP 0: DRV ID 1203 (I2C ADDR 0x30)).

  • Hi Bosko,

    Does it mean you have connected LCD1 to VIP port?
    Also please note that displayId is pipeline id, not really output LCD id. PIpeline can be connected to any LCD.
    Can you please check the register at the offset 0x48975530? This is VIP1_PortA size register.

    Regards,
    Brijesh
  • Hi Brijesh,

    We have two TDA2x chips connected directly. VOUT1 of first is  directly connected on VIN1A with second SoC. As I figured out, video from camera is sent to VOUT1 by default in vip_single_cam_dual_display. In function ChainsCommon_DualDisplay_StartDisplayCtrl in chains_common.c I set lcdType to CHAINS_DISPLAY_TYPE_LCD_10_INCH and in ChainsCommon_StartDisplayDevice function in chains_common.c when I set displayType to CHAINS_DISPLAY_TYPE_LCD_10_INCH I get errors in bsp_deviceI2c.c.

  • Hi Bosko,

    When you set display type to LCD 10 Inch, the code is trying to enable LCD using I2C command. Since you dont have this LCD, it will fail.
    I think you should just ignore these i2c command failures, remove assertions, then it should work.

    Rgds,
    Brijesh