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.

DS90UB940-Q1: 测试YUV422 8bit test pattern

Part Number: DS90UB940-Q1

Hi TI,

我司在使用ds90ub941串化mipi-dsi转FPD-link, ds90ub940解串成mipi-csi,然后将csi数据送给LT9611做HDMI显示。目前,在进行ds90ub940 test pattern生成测试时,940生成的mipi csi信号,LT9611一直提示读取不到video,请帮忙确认940生成test pattern的寄存器设定是否正确,谢谢~

ds90ub940采用内部时钟,分辨率1920x1080,寄存器中写了如下寄存器:

i2ctransfer -yf 3 w2@0x2c 0x66 0x03
i2ctransfer -yf 3 w2@0x2c 0x67 0x02
i2ctransfer -yf 3 w2@0x2c 0x66 0x04
i2ctransfer -yf 3 w2@0x2c 0x67 0x98
i2ctransfer -yf 3 w2@0x2c 0x66 0x05
i2ctransfer -yf 3 w2@0x2c 0x67 0x58
i2ctransfer -yf 3 w2@0x2c 0x66 0x06
i2ctransfer -yf 3 w2@0x2c 0x67 0x46
i2ctransfer -yf 3 w2@0x2c 0x66 0x07
i2ctransfer -yf 3 w2@0x2c 0x67 0x80
i2ctransfer -yf 3 w2@0x2c 0x66 0x08
i2ctransfer -yf 3 w2@0x2c 0x67 0x87
i2ctransfer -yf 3 w2@0x2c 0x66 0x09
i2ctransfer -yf 3 w2@0x2c 0x67 0x43
i2ctransfer -yf 3 w2@0x2c 0x66 0x0a
i2ctransfer -yf 3 w2@0x2c 0x67 0x2c
i2ctransfer -yf 3 w2@0x2c 0x66 0x0b
i2ctransfer -yf 3 w2@0x2c 0x67 0x05
i2ctransfer -yf 3 w2@0x2c 0x66 0x0c
i2ctransfer -yf 3 w2@0x2c 0x67 0x94
i2ctransfer -yf 3 w2@0x2c 0x66 0x0d
i2ctransfer -yf 3 w2@0x2c 0x67 0x24
i2ctransfer -yf 3 w2@0x2c 0x66 0x0e
i2ctransfer -yf 3 w2@0x2c 0x67 0x00

i2ctransfer -yf 3 w2@0x2c 0x6b 0x50
i2ctransfer -yf 3 w2@0x2c 0x6a 0x02
i2ctransfer -yf 3 w2@0x2c 0x65 0x05
i2ctransfer -yf 3 w2@0x2c 0x64 0x51

  • 您好,寄存器0x64这里您读取的为0x51,bit2=0,color bar disable,请配置为1 enable color bar再试试,另外,您使用的哪个port输出?默认的是port 0,port1 是没有输出的。

  • Hi,修改0x64的bit2测试过的,依然后端的LT9611解析不到video信息;使用的port0,在LT9611的CSI port口上是量到MIPI 波形的。

  • 您好,LT9611的输入端能测试到mipi波形,那应该说明没问题了呢。或者您读取下寄存器69h,验证下pattern 是否发生error,如果没有,那就没问题,需要查下LT9611的配置。 

    LT9611 您提到解析不到video信息,是指的没有显示吗?

  • Hi,0x69寄存器这些也检查过的,test pattern没有error。LT9611UXC提示的是“Do not find a video from the list!!”。同款的LT9611UXC接到我司自己芯片的MIPI CSI上是可以正常输出的。所以现在一直搞不清楚是test pattern配置的问题,还是LT9611UXC接入的问题~

  • 您好,69h没有发生pattern error,那说明test pattern是没问题的呢。

    LT9611不能解析,我怀疑是不是LT9611 不支持目前选择的pattern类型,64h bit[7:4]您配置的为0101: Blue/Yellow。

    改一下,将64h配置为0x11,bit[7:4]=0001: White/Black

    然后65h配置0x03, enable 24-bit with internal Clock。试试能否正常显示。

  • Hi, 这几个寄存器的设置都尝试过,依然是不可以。我比较怀疑是940输出的pclk不太正常,相同resolution的mipi 信号,我同事在用maxim的csi解串上已经可以在9611上显示了。

  • test pattern您使用的外部PCLK还是内部晶振产生的时钟?

    940输出的lock是否为高电平?

  • test pattern使用的940内部200Mhz的时钟;940的lock和pass都是高。您调过内部时钟的test pattern吗?有没有可用的设定share一个?目前我通过PATGEN寄存器设置了几组不同分辨率的test pattern,mipi clk输出的波形要么不正常,要么mipi clk一直处于高电平状态。

  • 您好,您参考下这篇Exploring the Int Test Pattern Generation Feature of FPDLink III IVI Devices应用手册,里面给出了internal default timing 和external PCLK的test pattern 配置:

    Exploring the Int Test Pattern Generation Feature of FPDLink III IVI Devices

  • Hi Kailyn,应该是941输出的test pattern 的MIPI CSI timing与LT9611能支持的timing的匹配问题。我跳过test pattern,直接让前端的SOC输出mipi dsi然后串化给941解串,9611已经可以识别到了。非常感谢你的答复。谢谢~