Other Parts Discussed in Thread: ALP
Dear TI Experts:
I am using DS90UB941AS-Q1+DS90UB948-Q1 for MIPI to Dual LVDS display, but cannot found valid LVDS signal output on UB948.
The application as follows, and UB941/UB948 all use the pixel clock:
+-------------+ 4 lanes +-------------+ +-------------+ +-------------+
| MIPI0|------------>|DSI0 OUT0|------------>|IN0 LVDS0|------------>| TFT LCD |
| I2C17|<----------->|I2C | FPD-Link3 | | Dual OLDI | 1920*720 |
| SOC | | UB941 | 2 lanes | UB948 | | 1280*720 |
| | | | STP | | No signal | 1400*900 |
| 1080P MAX | |DSI1 OUT1|------------>|IN1 LVDS1|------------>| 1920*1080 |
+-------------+ +-------------+ +-------------+ +-------------+
I just have a demo board which is adapt the current TFT panel(1920*720). So I cannot debugging the board directly with ALP tools but use a shell script as follow:
#!/bin/sh
i2cport=17
seraddr=0x0c
desaddr=0x2e
# Get I2C bus status
i2cdetect -a $i2cport
i2cdump -f -y $i2cport $seraddr
# Config Ser
i2cset -fy $i2cport $seraddr 0x01 0x07 b # Reset DSI/DIGITLE
sleep 1
i2cset -fy $i2cport $seraddr 0x1E 0x01 b
i2cset -fy $i2cport $seraddr 0x03 0xBA b # Enable I2C pass through
i2cset -fy $i2cport $seraddr 0x1E 0x01 b
i2cset -fy $i2cport $seraddr 0x5B 0x03 b # FPD-Link3 TX mode
i2cset -fy $i2cport $seraddr 0x56 0x00 b # clock mode
i2cset -fy $i2cport $seraddr 0x4F 0x8C b # DSI Continuous Clock Mode,DSI 4 lanes
i2cset -fy $i2cport $seraddr 0x1E 0x01 b
i2cset -fy $i2cport $seraddr 0x40 0x04 b # select DSI0 regs
i2cset -fy $i2cport $seraddr 0x41 0x21 b # DSI_CONFIG_1
i2cset -fy $i2cport $seraddr 0x42 0x60 b # DSI VS/HS Polarity
i2cset -fy $i2cport $seraddr 0x1E 0x01 b
i2cset -fy $i2cport $seraddr 0x40 0x04 b # select DSI0 regs
i2cset -fy $i2cport $seraddr 0x41 0x05 b # DPHY_SKIP_TIMING
i2cset -fy $i2cport $seraddr 0x42 0x16 b # Tskip Count
i2cset -fy $i2cport $seraddr 0x01 0x00 b
sleep 1
# Get I2C bus status
i2cdetect -a $i2cport
i2cdump -f -y $i2cport $seraddr
i2cdump -f -y $i2cport $desaddr
echo Done.
Execute the script after power on the demo board, and the response is:
Probe chips 0x00-0x7f on bus 17? (Y/n):
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- 0c -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 18 00 00 92 00 00 5c 00 00 01 0e 00 27 30 00 00 ?..?..\..??.'0..
10: 00 00 00 8b 00 00 fe 1e 7f 7f 01 00 00 00 01 00 ...?..?????...?.
20: 0b 00 25 00 00 00 00 00 01 20 20 a0 00 00 a5 5a ?.%.....? ?..?Z
30: 00 09 00 05 0c 00 00 00 00 00 00 00 00 00 81 02 .?.??.........??
40: 10 90 00 00 00 00 00 00 00 00 00 00 00 00 00 8c ??.............?
50: 16 00 00 00 02 00 00 02 00 00 d9 00 07 06 44 31 ?...?..?..?.??D1
60: 22 02 00 00 10 00 00 00 00 00 00 00 00 00 20 00 "?..?......... .
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 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 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 82 00 38 00 00 64 40 00 00 00 00 02 ff 00 ..?.8..d@....??.
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 82 00 28 08 00 00 00 00 00 00 00 02 00 00 ..?.(?.......?..
f0: 5f 55 42 39 34 31 00 00 00 00 00 00 00 00 00 00 _UB941..........
Probe chips 0x00-0x7f on bus 17? (Y/n):
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- 0c -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 2e --
30: -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 18 00 00 ba 00 00 5c 00 00 01 19 00 27 30 00 00 ?..?..\..??.'0..
10: 00 00 00 8b 00 00 fe 1e 7f 7f 01 00 00 00 01 00 ...?..?????...?.
20: 0b 00 25 00 00 00 00 00 01 20 20 a0 00 00 a5 5a ?.%.....? ?..?Z
30: 00 09 00 05 0c 00 00 00 00 00 00 00 00 00 81 02 .?.??.........??
40: 04 05 16 00 00 00 00 00 00 00 00 00 00 00 00 8c ???............?
50: 16 00 00 00 02 00 00 02 00 00 c9 03 07 06 44 31 ?...?..?..????D1
60: 22 02 00 00 10 00 00 00 00 00 00 00 00 00 20 00 "?..?......... .
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 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 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 82 00 38 00 00 64 40 00 00 00 00 02 ff 00 ..?.8..d@....??.
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 82 00 28 08 00 00 00 00 00 00 00 02 00 00 ..?.(?.......?..
f0: 5f 55 42 39 34 31 00 00 00 00 00 00 00 00 00 00 _UB941..........
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 5c 04 00 f0 fe 1e 00 18 00 00 00 00 00 00 00 00 \?.???.?........
10: 00 00 00 00 00 00 00 00 00 01 00 00 33 10 00 00 .........?..3?..
20: 00 00 40 24 08 00 83 84 11 00 00 00 00 00 00 00 ..@$?.???.......
30: 00 00 90 25 01 00 00 c8 00 00 00 03 20 e0 23 00 ..?%?..?...? ?#.
40: 43 03 03 00 60 88 00 00 0f 00 00 08 00 00 63 00 C??.`?..?..?..c.
50: 03 10 00 01 80 00 00 00 00 3f 20 20 00 00 00 00 ??.??....? ....
60: 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 ....?...........
70: 00 00 00 07 07 08 00 00 00 00 00 00 02 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 00 00 00 00 00 00 00 ................
a0: 00 00 7d 00 00 00 00 00 00 00 00 00 00 00 00 00 ..}.............
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 c0 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 34 38 00 00 00 00 00 00 00 00 00 00 _UB948..........
Done.
I did not find a configuration example for UB948 on the forums and documents, and any recommend settings for the UB941/UB948 for the LVDS output problem?
Best Regards,
Buridan