接上官方的LCD, 影像自動會從DSI介面輸出.
似乎隻支援800x480的DSI LCD訊號,
DSI硬體訊號有2-lane, 實際上隻有用到1-lane.
量了一下Rasp DSI介面上的I2C0
開機時會有訊號去存取8A/8B這個位置(45h : 7bit i2c address)

觸屏的位置在70 (38h : 7bit i2c address)
Driver是用輪詢法寫的,開機後,會一直有讀取訊號.
若在config.txt
加了
disable_touchscreen=1
就不會有這個位置上的訊號.
測試TI的SN65DSI83EVM, DSI轉LVDS.
LCDM是微雪的
7inch Capacitive Touch LCD (D)模塊, 1024x600
LCDM與SN65狀況好到的幾乎可以對接.
隻要FFC排線,切斷#28(CAP_WAKE),以免短路.
將以下i2c指令輸入SN65
就會有畫面.
//PLL off
S 5A 0D 00 P
//sw reset
S 5A 09 01 P
//lvds clk.range
S 5A 0A 01 P
//dsi_clk_divider 330/51=6 101=6 101*8=5*8=40=28h
S 5A 0B 38 P
//10 set lanes 11=1 lanes
S 5A 10 39 P
//12 set cha clk range 330/5=66=42h
S 5A 12 42 P
//18 LVDS signal format
S 5A 18 78 P
//S 5A 1A 02 P
//800=320h
//20 hor.lo
S 5A 20 20 P
//21 hor.hi
S 5A 21 03 P
//28 sync_delay.lo
S 5A 28 00 P
//29 sync_delay.hi
S 5A 29 03 P
//PLL enable
S 5A 0D 01 P