Part Number:DS90UB941AS-Q1
Hw:
941 Configure:
# 1920x1080p60, Dual Link FPD III
# PCLK = 148.5MHz
# DSI clock = 445.5MHz
# DSI Lane Speed = 891Mbps/lane
# 4 Lanes DSI
# DSI input port 0
# DSI non-burst mode with sync pulses# MODE_SEL0 strap = No. 3
# MODE_SEL1 strap = No. 1
import time
UB941AS = 0x18
board.WriteI2C(UB941AS,0x01,0x02) # Reset
time.sleep(0.1)
board.WriteI2C(UB941AS,0x01,0x08) # Disable DSI
board.WriteI2C(UB941AS,0x40,0x04) # TSKIP_CNT
board.WriteI2C(UB941AS,0x41,0x05) # TSKIP_CNT
board.WriteI2C(UB941AS,0x42,0x30) # TSKIP_CNT
board.WriteI2C(UB941AS,0x40,0x10) # Init DSI Clock Settings (From Section 10.2 of datasheet)
board.WriteI2C(UB941AS,0x41,0x86) # Init DSI Clock Settings (From Section 10.2 of datasheet)
board.WriteI2C(UB941AS,0x42,0x0A) # Init DSI Clock Settings (From Section 10.2 of datasheet)
board.WriteI2C(UB941AS,0x41,0x94) # Init DSI Clock Settings (From Section 10.2 of datasheet)
board.WriteI2C(UB941AS,0x42,0x0A) # Init DSI Clock Settings (From Section 10.2 of datasheet)
board.WriteI2C(UB941AS,0x01,0x00) #Release DSI
使用内部pattern 可是输出800*480的分辨率
但是使能DSI 使用DSI CLK pattern 时clk也是达不到148.5mkz,
但是无法输出148.5的像素时钟,还请帮忙看看
Kailyn Chen:
您好,您的这个问题我再帮您看下。