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.

SK-AM62A-LP: FPD-Link camera get broken image

Part Number: SK-AM62A-LP

Tool/software:

Hi experts,

We use SK-AM62A-LP board with a custom RGB+IR camera module.

The camera module use ub971 and am62a board use CSI2 to connect ub9702 to link camera.

They run in FPD-link IV mode.

When we run gst-launch-1.0 command to display, the stream show broken image and flickering.

I check the ub9702 register, it shows:

reg 0x4d = 0x33 or 0x13

reg 0x4e = 0xed

reg 0x7a = 0x0f

The LOCK_STS_CHG bit is always 1.

Dose it mean the link unstable?

Is there any way to improve it or tune it.

Regards,

Terry

  • Hello Terry,

    We've recently identified a potential issue in the UB960 driver (which is supposed to be compatible for UB9702). Can you try the following patch (based on SDK 10.1) on git.ti.com/.../ds90ub960.c

    diff --git a/drivers/media/i2c/ds90ub960.c b/drivers/media/i2c/ds90ub960.c
    index 0b708c90c06b..5ce3e847d360 100644
    --- a/drivers/media/i2c/ds90ub960.c
    +++ b/drivers/media/i2c/ds90ub960.c
    @@ -2527,9 +2527,16 @@ static int ub960_configure_ports_for_streaming(struct ub960_data *priv,
     
                                    /* Map all VCs from this port to VC(nport) */
                                    for (i = 0; i < 8; i++)
    -                                       ub960_rxport_write(priv, nport,
    +                                       if(nport==0 && i==0) {
    +                                                ub960_rxport_write(priv, nport,
    +                                                           UB960_RR_VC_ID_MAP(i),
    +                                                          0x10); /* map VC0 to VC0 and map VC1 to VC1 */
    +
    +                                       } else {
    +                                               ub960_rxport_write(priv, nport,
                                                               UB960_RR_VC_ID_MAP(i),
                                                               nport);
    +                                       }
                            }
    

    Thank you.

    Jianzhong

  • Hi Jianzhong,

    Thanks for provide the patch.

    The result is the same and also the error detection register value.

    The hdmi display is below:

  • Hi Terry,

    We're working on a fix. Please expect some time before we have a fix.

    Regards,

    Jianzhong