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.

DS90UB962-Q1: ds90ub962使用basic synchronized forwarding 帧同步模式

Part Number: DS90UB962-Q1

dear Ti :

我们车机产品四路全景摄像头的解码器962需要和摄像头端ds90ub933建立30HZ的帧同步,目前帧同步模式使用basic synchronized forwarding模式,0x21寄存器配置了0x14,使用解码器的gpio1建立帧同步,目前摄像头端的gpio1也已经产生30HZ的帧同步方波, 但是只要我们切到全景倒车以后,会出现绿屏和条纹柱状,如下图所示,帮忙解释一下这种一般是什么情况导致的? 我们的backjchannel 通道的带宽是2.5MBPS,0x1F配置的serial rate是1.6Gbps,   相对应的视频格式给到SOC端,也是正确的,但不知道为何出现绿屏和条纹柱状,麻烦TI工程师能够给出一个专业的解答, 非常感谢。

  • 条纹柱状绿图如上

  • 您好,您的问题我需要咨询下资深工程师,给您带来不便非常抱歉。

    咨询之前,和您确认下,是不是在切换到全景倒车之前,图像显示都是没问题的?只有当切换到全景倒车之后,才会出现图中所示的绿屏以及柱状?

  • 是的,图像显示是没问题的,但只要我们配置了解码器帧同步模式以后,就会出现上面这种情况,下面是我这边的配置,

    ds90ub962_i2c_write(0x01, 0x02);//reset all digital part
    SENSOR_MSLEEP(20);
    ds90ub962_i2c_write(0x0C, 0x0F); //I2C mappings............port EN
    ds90ub962_i2c_write(0x1F, 0x00); //

    ds90ub962_i2c_write(0x4C,0x01); //# RX0
    ds90ub962_i2c_write(0x6E,0xA0); //# BC_GPIO_CTL0: FrameSync signal to GPIO1
    ds90ub962_i2c_write(0x4C,0x12); //# RX1
    ds90ub962_i2c_write(0x6E,0xA0); //# BC_GPIO_CTL0: FrameSync signal to GPIO1
    ds90ub962_i2c_write(0x4C,0x24); //# RX2
    ds90ub962_i2c_write(0x6E,0xA0); //# BC_GPIO_CTL0: FrameSync signal to GPIO1
    ds90ub962_i2c_write(0x4C,0x38); //# RX3
    ds90ub962_i2c_write(0x6E,0xA0); //# BC_GPIO_CTL0: FrameSync signal to GPIO1

    ds90ub962_i2c_write(0x19, 0x01); //FS_HIGH_TIME_1
    ds90ub962_i2c_write(0x1A, 0x14); //FS_HIGH_TIME_0
    ds90ub962_i2c_write(0x1B, 0x09); //FS_LOW_TIME_1
    ds90ub962_i2c_write(0x1C, 0xbc); //FS_LOW_TIME_0

    ds90ub962_i2c_write(0x18, 0x01); //ENABLE FRAME SYNC

    ds90ub962_i2c_write(0x4C, 0x01); //page to port RX0
    ds90ub962_i2c_write(0x58, 0x58); //enable passthrough
    ds90ub962_i2c_write(0x5D, 0xB0); //imager slave ID = 0x30
    ds90ub962_i2c_write(0x6D, 0x7f); //'set input mode

    ds90ub962_i2c_write(0x4C, 0x12); //page to port RX1
    ds90ub962_i2c_write(0x58, 0x58); //enable passthrough
    ds90ub962_i2c_write(0x5D, 0xB0); //imager slave ID = 0x30
    ds90ub962_i2c_write(0x6D, 0x7f); //'set input mode

    ds90ub962_i2c_write(0x4C, 0x24); //page to port RX2
    ds90ub962_i2c_write(0x58, 0x58); //enable passthrough
    ds90ub962_i2c_write(0x5D, 0xB0); //imager slave ID = 0x30
    ds90ub962_i2c_write(0x6D, 0x7f); //'set input mode

    ds90ub962_i2c_write(0x4C, 0x38); //page to port RX3
    ds90ub962_i2c_write(0x58, 0x58); //enable passthrough
    ds90ub962_i2c_write(0x5D, 0xB0); //imager slave ID = 0x30
    ds90ub962_i2c_write(0x6D, 0x7f); //'set input mode

    ds90ub962_i2c_write(0x4C, 0x0F);
    ds90ub962_i2c_write(0x0F, 0x00); //'disable GPIO input
    ds90ub962_i2c_write(0x4C, 0x0F); //
    ds90ub962_i2c_write(0x6E, 0x00); // 'set GPIO1 (nRESET) and GPIO0 (FSIN) to 0 for all four camera


    ds90ub962_i2c_write(0x4C, 0x01); // 'set GPIO1 of camera 0 to 1
    ds90ub962_i2c_write(0x6E, 0xAA); // '
    ds90ub962_i2c_write(0x4C, 0x12); // '
    ds90ub962_i2c_write(0x6E, 0xAA); // 'set GPIO1 of camera 1 to 1
    ds90ub962_i2c_write(0x4C, 0x24); // '
    ds90ub962_i2c_write(0x6E, 0xAA); // 'set GPIO1 of camera 2 to 1
    ds90ub962_i2c_write(0x4C, 0x38); // '
    ds90ub962_i2c_write(0x6E, 0xAA); // 'set GPIO1 of camera 3 to 1

  • 您好,美国工程师已给出回复,您参考下:

    1. Do you have any background on how many systems show this display this issue?
    2. Have you tried enabling round robin forwarding using register 0x21[0], if so, does the display still show anomalies?
    3. When writing the FWD_CTL2 register, bit 4 is being written when it's denoted as reserved, please avoid writing this register
  • 好的,kailn Chen非常感谢您, 我这边再继续研究研究

  • 不客气,后续有什么问题,随时讨论。

  • 对了,dear kailyn chen , 要是同步模式 画面不通畅,那该调整哪些寄存器?

  • 您好,您指的画面不通畅,可以附上画面看下?可能和layout时阻抗不连续有关。

    有测试962的输出波形吗?波形是不是连续?