美文网首页
LVDS 闪屏,黑屏有背光

LVDS 闪屏,黑屏有背光

作者: gale_小米 | 来源:发表于2022-08-26 12:00 被阅读0次

    应用页面切换和下拉状态栏闪屏

    lcd_dclk_freq Pixel Clock Frequency

    lcd_dclk_freq   =148 闪屏;
    降低到108后就不闪屏了
    lcd_dclk_freq       = <108>;
    

    把LVDS屏 从 android Q移植到R 上出现的问题会有logo显示,之后屏幕会按下去

    
    ...
        lcd_gpio_1 = <&pio PD 22 1 0 3 1>;
        lcd_bl_en = <&pio PB 8 1 0 3 1>;
    ...
    android R上面这么改
        lcd_gpio_1 = <&pio PD 22 GPIO_ACTIVE_HIGH>;
        lcd_bl_en = <&pio PB 8 GPIO_ACTIVE_HIGH>;
    

    从10移植到11出现休眠后power键无法点亮屏幕,是11上的管脚配置不对

    image.png
        pinctrl-0 = <&lvds2link_pins_a>;
    -   pinctrl-1 = <&lvds2link_pins_b>;
    +   pinctrl-1 = <&lvds2link_pins_a>;
    

    mipi屏IC 为 JD9365 10.1 initial setting-------------黑屏有背光
    1.屏时序和初始化代码都对比了正常,也有图层信息;2.硬件查了也没有问题;
    客户提供的屏初始化代码

    .....
    {0x6B,1,{0x08}},
    
    {0x6C,1,{0x00}},
    {0x6D,1,{0x00}},
    {0x6E,1,{0x00}},
    {0x6F,1,{0x88}},
    
    {0x75,1,{0xFF}},
    {0x77,1,{0xDD}},
    {0x78,1,{0x3F}},
    {0x79,1,{0x15}},
    {0x7A,1,{0x17}},
    {0x7D,1,{0x14}},
    {0x7E,1,{0x82}},
    
    {0xE0,1,{0x04}},
    {0x00,1,{0x0E}},
    {0x02,1,{0xB3}},
    {0x09,1,{0x61}},
    {0x0E,1,{0x48}},
    
    {0xE0,1,{0x00}},
    {0xE6,1,{0x02}},
    {0xE7,1,{0x0C}},
    {0x11,1,{0x00}},
    {REGFLAG_DELAY,120
    

    后来发现是在全志平台上需要添加下面部分代码才能够点亮屏幕

    {0xE0,1,{0x04}},
    +{0x37,1,{0x58}},
    {0x00,1,{0x0E}},
    {0x02,1,{0xB3}},
    {0x09,1,{0x61}},
    {0x0E,1,{0x48}},
    {0xE0,1,{0x00}},
    {0xE6,1,{0x02}},
    {0xE7,1,{0x0C}},
    {0x11,1,{0x00}},
    {REGFLAG_DELAY,REGFLAG_DELAY,{120}},
    +{0x29, 0, {0x00}},
    +{REGFLAG_DELAY, REGFLAG_DELAY, {5}},
    +{0x35, 1, {0x00}},
    +{REGFLAG_END_OF_TABLE, REGFLAG_END_OF_TABLE, {}}
    

    相关文章

      网友评论

          本文标题:LVDS 闪屏,黑屏有背光

          本文链接:https://www.haomeiwen.com/subject/xibcprtx.html