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.
Tool/software: Linux
HI Sir
We are
DS90UB960---DS90UB953
and
Use four cameras.
'1920x1080 YUV422 8bit MIPI 2Lane'
Each camera output has been confirmed.
What we want to do is
RX0, RX1 => CSI 0 port.
RX2, RX3 => CSI 1 port
As above, two cameras are output to one Csi Port
It is output at 3840(1920*2) x 1080 resolution.
I have set the DS90UB960 for this, but it does not work.
This is the register we set.
once 2 camera(rx0,rx1 to csi port0)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 60 00 1e 30 c2 01 00 e2 1c 10 80 79 0f 09 00 ff `.?0??.????y??..
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 07 ..............??
20: c0 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?<..............
30: 00 00 01 21 00 00 00 03 00 00 00 00 00 00 00 00 ..?!...?........
40: 00 a3 01 01 00 00 00 00 00 00 00 00 12 53 fd 64 .???........?S?d
50: 00 00 00 03 00 00 00 00 5e 00 00 30 1a 50 00 00 ...?....^..0?P..
60: 00 00 00 00 00 52 00 00 00 00 00 00 00 78 88 88 .....R.......x??
70: 6b 6c e4 04 38 0f 00 c5 00 01 0f ff 20 00 00 00 kl??8?.?.??. ...
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 00 00 00 00 00 00 00 ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 02 69 00 08 25 00 18 00 88 03 03 74 80 00 00 00 ?i.?%.?.???t?...
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 43 84 0f 60 f8 03 00 00 00 00 08 00 00 00 00 .C??`??....?....
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 5f 55 42 39 36 34 00 00 00 00 00 00 00 00 00 00 _UB964..........
Thank you for your guide.
As you said 0x20 = 0xCC, I could set the clock high (0x1f = 0x01) Even if Disabled, I need to set the port. Thanks.
But if you set 0x1f = 0x00, it stops working.
We will change to 26mhz crystal and check it out.
But I increased the clock and made Des a 4lane
rx0, rx1 to csi port0 can not be output simultaneously.
For Line-Concatenated
Does register 0x70 ~ 0x7f need to be set?
This is a new register dump.
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 0f 09 00 ff `.?@??.???zz??..
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 ..............?.
20: cc 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?<..............
30: 00 00 01 01 00 00 00 03 00 00 00 00 00 00 00 00 ..??...?........
40: 00 a9 71 01 00 00 20 00 00 00 00 12 12 53 5d 64 .?q?.. ....??S]d
50: 00 00 00 04 06 00 00 00 5e 00 00 30 1a 50 00 00 ...??...^..0?P..
60: 00 00 00 00 00 52 00 00 00 00 00 00 00 78 88 88 .....R.......x??
70: 1f 6c e4 04 38 0f 00 c5 00 01 02 01 20 00 00 00 ?l??8?.?.??? ...
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 49 8f 49 8d ff ff 49 8f 00 00 00 00 00 00 00 00 I?I?..I?........
a0: 00 00 00 00 00 1c 00 00 00 00 00 00 00 00 00 00 .....?..........
b0: 1c 3a 14 08 25 00 18 00 88 33 83 74 80 00 00 00 ?:??%.?.?3?t?...
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 43 94 04 60 f2 00 02 00 00 00 10 00 00 00 00 .C??`?.?...?....
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..........
ps> Des chip (964> 960) have been changed.
The print on the chip was 960, but it seems to be a problem.
Regard
CHOI
Additional question.
To set up as shown above
-----------------------------------------------
print "*** RX0 VC=0 ***"
board.WriteReg(0x4C,0x01) # RX0
board.WriteReg(0x70,0x1F) # VC0
# print "*** RX1 VC=2 ***"
board.WriteReg(0x4C,0x12) # RX1
board.WriteReg(0x70,0x9F) # VC2
-------------------------------------------------
Is this right?
HI
I checked again.
There is no problem even if 0x0f = 0x00 (1600).
0x0f = 0x02 (800) There is also no problem.
But still
rx0,1 -> csi port does not work with 0.
Data can not be measured when checked with an oscilloscope.
rx0 -> csi port 0, rx1 -> cxi port 1 will work fine at the same time.
I set it up as follows
------------------------------------------------------
#print "*** RX0 VC = 0 ***"
board.WriteReg (0x4C, 0x01) # RX0
board.WriteReg (0x72,0xE4) # VC0
# print "*** RX1 VC = 2 ***"
board.WriteReg (0x4C, 0x12) # RX1
board.WriteReg (0x72,0xEA) # VC2
# board.WriteReg (0x1f, 0x02) # 800 clock
board.WriteReg (0x1f, 0x00) # 1600 clock
board.WriteReg (0x21,0x3c) # "*** line concatenation ***"
board.WriteReg (0x33,0x01) # 4lane
board.WriteReg (0x20,0xcc) # rx 0,1 to csi 0
------------------------------------------------------
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 0f 09 00 ff `.?@??.???zz??..
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 ..............?.
20: 0c 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?<..............
30: 00 00 01 01 00 00 00 03 00 00 00 00 00 00 00 00 ..??...?........
40: 00 a9 71 01 00 00 20 00 00 00 00 12 12 53 5d 64 .?q?.. ....??S]d
50: 00 00 00 04 06 00 00 00 5e 00 00 30 1a 50 00 00 ...??...^..0?P..
60: 00 00 00 00 00 52 00 00 00 00 00 00 00 78 88 88 .....R.......x??
70: 6b 6c ea 04 38 0f 00 c5 00 01 02 02 20 00 00 00 kl??8?.?.??? ...
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 1c 05 1c 03 ff ff 1c 05 00 00 00 00 00 00 00 00 ????..??........
a0: 00 00 00 00 00 1c 00 00 00 00 00 00 00 00 00 00 .....?..........
b0: 1c 3a 14 08 25 00 18 00 88 33 83 74 80 00 00 00 ?:??%.?.?3?t?...
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 43 94 03 60 f2 00 02 00 00 00 10 00 00 00 00 .C??`?.?...?....
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..........
------------------------------------------------------
Regards
Choi
Hi Choi,
I noitced you are not providing a framesync signal unless it's external. If you are not, can you please follow the example in the DS90UB960-Q1 Datasheet section 7.4.24.2.1 to enable the internal framesync.
Additionally, as a reference, when enabling/disabling CSI transmitters, you should be following the procedure in section 7.4.25.8 to avoid any issues.
Regards,
Mandeep Singh