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.

UB953 - UB960 frame corruption problem

Part Number: DS90UB953-Q1
Other Parts Discussed in Thread: SK-TDA4VM

Hi,
I am using SK-TDA4VM kit and NVIDIA kit with UB960 deserializer and IMX415 sensor (+ UB953-Q1 serializer) and I'm facing a stream corruption problem exactly looks same in both the platform.

I'm able to configure 4K at 20 fps and get clear image with 594 Mipi clock. but If I try to run 4K at 30 fps, with 891Mipi clock the part of the image has some kind of noise.

i have tried to solve the corruption by changing N Value for M/N divider for CLKOUT on serializer UB953 using register 0x06 and 0x07.

And the corruption width behave different for different resolution.(image)

Resolution (1944x1096)

Resolution (1296x732)

Resolution (3840x2160)

i have tried solution provided in the below link also but there is no effect on streaming.

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/718750/ds90ub953-q1-ub953---ub960-problem

And also i have confirmed that stream from the sensor is proper.

Any idea what could be the problem or some suggestions how to debug this problem? i have no idea to solve this problem

Thank you for your help in advance

With Regards,

Dharani.

  • Hi Dharani, 

    Thank you for reaching out. We are reviewing your question and information, and will provide feedback and debug tips on Monday. Thanks for your patience. 

    Regards, 

    Logan

  • Hi Dharani,

    Thanks for your inquiry but need a little more information.

    1. How many CSI lanes are you using?
    2. What N/M values are you using? What is the clock you need to the imager?
    3. Have you tried this with PatGen only from the 953 with the resolution you are trying to use?
      1. If you can give the exact image the sensor will send, I can get you the correct registers for patgen. 
      2. PATGEN Output   
           
        Horizontal Resolution
        Vertical  Resolution
        Total Vertical Blanking 
        Vertical Front Porch
        Vertical Back Porch
        Vertical Sync 
        Frame Rate
        FC Rate
        Data type 

    Glenn 

  • Hi Glenn,
    1. I am using 4 lane with sensor mipi clock of 891MHZ.
    2. The sensor is using 37.125 MHZ which is actually provided by external oscillator. Anyway i just tried to change CLK_OUT value of UB953 serialiser using register 0x06 and 0x07. The value for the N/M and HS_CLK_DIV is given in serializer datasheet which is shown below.

    3. I have not tried with PatGen. Below are the details of the image, i am trying to get through FPD Link3

    Horizontal Resolution      --   3840

    Vertical  Resolution         --    2160

    Frame Rate                    --    30

    FC rate                           --   4 Gbps

    Data type                        --   GBRG12 (12bit)

    I can't get blanking details from datasheet. will update soon.

    Additional details - I can get proper data on 2 lane 891 MHz clock and the currect FC rate i am using is 4Gbps@50Mbps back channel rate.

  • HI,

    Yes, if you can give the rest of the blanking then I will send you the register values for the patgen.  I will do some calculation to make sure that we are not beyond the 953 specification.

    Glenn 

  • Hello,

    I did the calculations and it looks like at 3840x2160 at 30fps with a raw 12 format you are exceeding the 953 datasheet limit.  There are other parts that have higher limits but you would need to talk to your sales rep as these are NDA parts. 

    Other option is to lower the rate, resolution, or video format. 

    Glenn 

  • Hi Glenn,

    While checking the datasheet, it says that ub953 supports 4.16Gbps but we are transferring only 3Gbps of data.
    Could you please give me the calculations and the limitations of ub953?. So it will be helpful in integrating other camera sensor with ub953.Actually i am facing similar find of issue in AR0821 sensor with ub953 while exceeding 800Mhz clock with 4 lane format UYVY16 bit and its data rate is nearly 3 to 3.5Gbps.

    And also Please guide us which serializer parts with higher limits supports 3840x2160 at 30 fps with raw12 and UYVY16. 

  • Hi Dharanitharan,

    The equation to calculate the total CSI-2 video throughput is (HActive) x (VActive) x (Frame Rate) x (Data Type Bits-Per Pixel) x Overhead (~25% if unknown). 

    Using the information you provided, your total video throughput is 3840 x 2160 x 30fps x 12bpp x 1.25 = 3.732Gbps.

    A conservative margin of 25% overhead is included to take into account blanking (15%) and CSI-2 (10%). You may want to double check the exact overhead being sent from the imager.

    The 953 supports a max video bandwidth of 3.328Gbps. The 953 may still work for you if you have less overhead than this (for example, if you have no blanking). However, the rate would be very close to the max limit of the device, so you may still want to look into using our other parts which can support higher rates. I cannot discuss NDA parts on a public forum, so you would need to reach out to your local TI sales rep for that information. 

    Regards,

    Cindy