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.

DS90UB954-Q1: CSI-2 Line count wrong

Hi team,
I have met a problem with lane count when using 954.

env: Des 954, Ser 933
sensor output : 1280*720

when reading 954's register 0x73 = 0x02, 0x74 = 0xcf, that means 954 only got 719 lines, but sensor data is 720 lines.
and I have tried to figure out what happens, reading 954 register 0x4e = 0x04, 0x7a = 0x00, it seems that 954 detects csi error with no reason.

here are the settings:

954

0x1f, 0x03,
0x33, 0x61,
0x20, 0x20,
0x4c, 0x01,
0x58, 0x58,
0x5c, 0x38,
0x5d, 0x60,
0x65, 0x80,
0x7c, 0xC0,
0x70, 0x1E,
0x6d, 0x7F

933

0x1, 0x33, 
0x3, 0xc5, 
0xd, 0x59

Any reason for this line count mismatch problem?

Best regards

  • hello,

    if no error is detected, pls check the sensor/isp's FV/LV timing. pls check 954's d/s, when it is linked with 933, it has FV/LV timing request.

    ////////////////////page41///////////////////////////////  http://www.ti.com/lit/ds/symlink/ds90ub954-q1.pdf /////////////////////////////////

    To prevent false detection of FrameValid, FV must be asserted for a minimum number of clocks prior to first
    video line to be considered valid. The minimum FrameValid time is programmable in the FV_MIN_TIME register
    0xBC. Because the measurement is in FPD-Link III clocks, the minimum FrameValid setup to LineValid timing at
    the Serializer will vary based on the RAW input operating mode.
    A minimum FV to LV timing is required when processing RAW video frames at the serializer input. If the FV to LV
    minimum setup is not met (by default), the first video line is discarded. Optionally, a register control
    (PORT_CONFIG:DISCARD_1ST_ON_ERR) forwards the first video line missing some number of pixels at the
    start of the line.

    regards,

    Steven

  • Hi Steven, thank you for the reply.

    I have checked the sensor's FV/LV signal, they are nearly start at the same time showing on oscilloscope.

    So I config 0xBC = 0x00,954 now can get the right frame size. 

    This problem is solved.

    Thank you again for your kindly help.

    Best regards