https://e2e.ti.com/support/interface-group/interface/f/interface-forum/628848/sn65dsi84-sn65dsi84
部件号:SN65DSI84尊敬的TI:
请帮助我们了解双LVDS模式设置的DSI调谐器值(帧速率为60Hz)。
因为当我们将其设置为60fps时,第一次重新启动后,显示器工作正常
显示屏根本不工作,需要您帮助找出正确的值,以便在DSI调谐器工具中输入。
我们正在使用模块15.6 ”FHD彩色TFT-LCD的显示屏,型号名称"G156HTN。02.0
请查找DSI调谐器工具上使用的值的快照。
LCD规格
Ting5:Ting5{
SCREEN-TYPE =<SCREEN_MIPI>;
LVDS-format =<LVDS_8bit_1>;
端面 =<OUT P888>;
时钟频率=<1.4186亿>;
hactive =<1920>;
vactive =<1080>;
hback门廊=<30>;
hfront门廊=<60>;
vback门廊=<10>;
vfront门廊=<15>;
hsysnC-len =<15>;
vsync-len =<5>;
HSYNC-ACTIVE =<0>;
vsync-active =<0>;
停用=<0>;
pixelclk-active =<0>;
swap-rb =<0>;
swap-rg =<0>;
swap-GB =<0>;
swap-delta =<0>;
swap-dummy =<0>;
};
void DSI84_MIPI_TO_dual_LVDS_G156HTN020()
{
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_soft_reset ,0x00);// reg 0x09
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CORE _PLL ,0x05);// reg 0x0a.
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_PLL_DIV ,0x28);// reg 0x0B
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_PLL_EN ,0x00);// reg 0x0d.
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI_CFG ,0x26);// reg 0x10
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI_EQ ,0x00);// reg 0x11
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_DSI_CLK_RNG ,0x55);// reg 0x12
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_LVDS_MODE ,0x6c);// reg 0x18
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_LVDS_SIGN ,0x00);// reg 0x19
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_LVDS_TERM ,0x03);// reg 0x1a
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_LVDS_CM ,0x00);// reg 0x1b
//W=1920
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_LINE_LEN_LO ,0x80);// reg 0x20
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_LINE_LEN_HI ,0x07);// reg 0x21
//H=1080
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_VERT_Lines_LO ,0x38);// reg 0x24
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_VERT_Lines_HI ,0x04);// reg 0x25
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_SYNC_DELAY _LO ,0x20);// reg 0x28
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_SYNC_DELAY _HI ,0x00);// reg 0x29
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_HSYNC_WIDE_LO ,15);// reg 0x2C
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_HSYNC_WIDE_HI ,0);// reg 0x2D
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_HORZ_BACKPORCH ,30);// reg 0x34
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_HORZ_FRONTPORCH ,60);// reg 0x38
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_VSYNC_WIDE_LO ,5);// reg 0x30
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_VSYNC_WIDE_HI ,0);// reg 0x31
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_VERT_BACKPORCH ,10);// reg 0x36
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_VERT_FRONTPORCH ,15);// reg 0x3a
I2C_REG_WRITE (SN65DSI84_I2C_ADDR,DSI84_CHA_TEST_PATtern ,0x00);// reg 0x3c
}
Rockchip,DSI_hs_clk =<ROCK> 851.16 ;
使用debug board .并使用命令 " dumpsys display | grep DisplayModeRecord "
可以看到fps: DisplayModeRecord{MMode={id=1, width=1920, height=1080, 63.0.0004万 }}