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/TDA2: TDAx ADAS SOCs Forum

Part Number: TDA2

Tool/software: TI-RTOS

Hi Sir,

We   refer the ticket    http://e2e.ti.com/support/arm/automotive_processors/f/1021/t/709147   to modify   DVP data width  to 12 bits (original are 8 bits).

But   HDMI output   will  get black screen,   could you please check   for us?

 We   data   flow  as below:

     

 

Please find attachment  to get  modify code.


VIP receive 12 bits image.rar 

We upload   real output   record   to YouTube   as below:

>>       TDA2 receive 12bits YUV by AVNET suggestion : https://www.youtube.com/watch?v=ntxlkS3cra4

>>      TDA2 receive 8bits YUV : https://www.youtube.com/watch?v=fk_aExrFOZk

 

Many thanks.

  • Hi,

    Note that the display doesn't support 16-bit RAW input.
    Since we are programming 16-bit RAW video format to VIP, the input format to the display needs to be changed to YUV422.
    Also did you get any error message on the UART/CCS console?

    Regards
    Sivaraj R
  • Hi Sivaraj,

    Thanks for your reply.

    We image sensor output format is YUV422 and DVP 12 bits.
    But TDA2 need separate two component to receive more than 8 bits data. (8 bits/component) 

    Now we receive YUV422 frame by DVP 12 bits but we just see half frame from HDMI output.

    (Please refer before create ticket : e2e.ti.com/.../2656778

    As i know VPS storage 12bits data seem like below:

    Component 1(data 0~7) : xxxxxxx
    Component 2(data 8~15) : 0000xxxx (12~15 zero pending )

    but how to setting output 2 component data to HDMI?

    Have any use case or sample code can refer if we needs receive?


  • Hi,

    Your understanding of 16 bit storage in memory by VIP is right.
    Did you dump the VIP frame to a file through CCS and then analyze the image is proper with external viewer?
    Note that the DSS supports only 8bit YUV data. So the 16-bit YUV should be first converted to 8-bit data.
    If you really need 12-bit input then, you need to convert this in CPU (DSP). If not then you can configure the VIP to receive only the MSB 8-bit data.

    Regards
    Sivaraj R
  • Hi Sivaraj ,

    Thanks for your reply.