Hi Ti :
We use the following scheme : sensor->ub935->ub960
Now I have a problem in the debugging process, I use one camera ,so one ub935 connect to ub960 rx-port0, and select CSI-2 TX Port 1,but I can't get the video from my soc.then I read 0x93-0x94(Frame Counter with Errors) and 0x96-0x97( Line Counter with Errors ), omg, All video frames are wrong !
I dump the i2c reg from ub935 and ub960, I hope I can get help.
~ # i2cdump -f -y 1 0x30 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 60 00 1e 40 d0 01 00 fe 1c 10 7a 7a 11 09 40 fb `.?@??.???zz??@? 10: 00 00 13 00 00 00 00 00 00 00 00 00 00 00 04 07 ..?...........?? 20: e1 08 00 91 00 00 00 00 00 00 00 00 00 00 00 00 ??.?............ 30: 00 00 12 03 00 10 00 00 00 00 00 00 00 00 00 00 ..??.?.......... 40: 00 a9 71 01 00 00 20 00 00 00 00 12 01 03 14 64 .?q?.. ....????d 50: 00 00 00 03 02 00 00 00 5e 00 00 30 80 20 00 00 ...??...^..0? .. 60: 00 00 00 00 00 90 00 00 00 00 00 00 00 7c 88 88 .....?.......|?? 70: 2b 2c e4 00 16 07 80 c5 00 01 00 00 20 00 00 00 +,?.????.?.. ... 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90: 00 00 00 00 00 00 00 00 00 1e 00 1e 5c 7b 5c 1e .........?.?\{\? a0: 00 00 00 00 00 1c 00 00 00 00 00 00 00 00 00 00 .....?.......... b0: 02 49 00 08 25 00 18 00 88 33 83 74 80 00 00 00 ?I.?%.?.?3?t?... c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 43 94 0f 60 f0 00 02 00 69 00 10 00 00 00 00 .C??`?.?.i.?.... e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 5f 55 42 39 36 30 00 00 00 00 00 00 00 00 00 00 _UB960..........
~ # i2cdump -f -y 1 0x40 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 30 00 53 48 00 03 9b fa fe 1e 10 7f 7f e1 1e 00 0.SH.??????????. 10: 00 00 00 00 00 20 18 3c 80 62 62 62 00 00 00 00 ..... ?<?bbb.... 20: 00 00 00 00 00 02 00 00 67 33 01 00 00 00 00 00 .....?..g3?..... 30: 00 20 09 04 00 10 00 60 00 00 00 00 00 00 00 00 . ??.?.`........ 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50: 20 c0 47 02 00 06 00 00 07 07 07 00 01 00 44 00 ?G?.?..???.?.D. 60: 00 2c 80 07 0d 88 00 00 00 00 00 00 00 00 00 00 .,????.......... 70: 00 00 25 00 00 00 00 00 00 00 e4 00 00 00 00 00 ..%.......?..... 80: 00 00 00 00 00 00 90 00 00 00 00 00 07 00 00 00 ......?.....?... 90: 32 e3 64 01 00 00 00 00 00 00 03 05 00 00 20 0f 2?d?......??.. ? a0: 00 0e 0e 0d 0d 10 42 10 10 10 03 01 00 00 00 00 .?????B?????.... b0: 04 4a 3f 00 00 00 00 00 00 00 00 00 00 00 00 00 ?J?............. c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 5f 55 42 39 35 33 00 00 00 00 00 00 00 00 00 00 _UB953..........