Dears,
Please help advise on how to configure registers,
PN#: DS90UB941AS-Q1 -> DS90UB928
1280*640@60
Best regard,
Verna
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.
Dears,
Please help advise on how to configure registers,
PN#: DS90UB941AS-Q1 -> DS90UB928
1280*640@60
Best regard,
Verna
Hello Verna,
See below for an example script - please adjust the TSKIP_CNT as needed based on the DSI clock rate used in your system here. I used 162MHz (54.07MHz PCLK rate) as an example: 1280*640*60*1.1 = 54.07MHz
# 1280x720p60, Dual Link FPD III # PCLK = 54.07MHz # DSI clock = 162.2MHz # DSI Lane Speed = 324.4Mbps/lane # 4 Lanes DSI # DSI input port 0 # DSI non-burst mode with sync pulses # MODE_SEL0 strap = No. 3 # MODE_SEL1 strap = No. 0 or 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,0x0C) # 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
Best Regards,
Casey