rk3288 lvds TF卡修改屏参

1,,以宽视屏M215HGE-L21_-奇美21.5液晶显示屏  为例说明修改屏参为题!!  奇美21.5寸规格书下载:


屏参文件dis.cfg, 如下: 

[display_param]
screen-type = 3;   //=2;为单8  =3;为双8  for  LVDS
lvds-format = 0;   //0=LVDS_VESA   1=LVDS_JEIDA  2=LVDS_XXX   3=LVDS_XX
out-face    = 0;
color-mode = 0;
clock-frequency = 148000000;
hactive = 1920;   //=x
vactive = 1080;    //=y
hback-porch = 180;
hfront-porch = 97;
vback-porch = 30;
vfront-porch = 12;
hsync-len = 3;
vsync-len = 3;
hsync-active = 0;
vsync-active = 0;
de-active = 0;
pixelclk-active = 0;
swap-rb = 0;
swap-rg = 0;
swap-gb = 0;
end

//hback-porch + hfront-porch  =THB
//vback-porch + vfront-porch = TVB

一下说明如何配置参数的!!!!!依据液晶屏规格书


首先TF 建议使用4GB 以下的容量!!!!需要格式为FAT32
确保M320_PCB供电正常!,多拔插几次确保TF读取正常!


只有在开机过程才能读取屏参!!!!!!


修改dis.cfg 文件,,修改后放到TF卡里面上电开机就可以更改并保存屏参,,例如:/dou/dis.cfg

在TF卡根目录下建文件夹“dou”在">dou文件夹里面放"dis.cfg"文件


hback-porch + hfront-porch  =THB

vback-porch + vfront-porch = TVB

fps必须=60hz,或者=50HZ


fps=(clock)/((hactive +THB)*(vactive + TVB))=60


fps =50HZ <= (clock-frequency)/{(hactive + hback-porch + hfront-porch + 3)*(vactive + vback-porch + vfront-porch + 3)} <= 60





/*              lvds connect config       
 *                                        
 *      lvds-format = 0    lvds-format = 1     lvds-format = 2     lvds-format = 3
----------------------------------------------------------------------
        TX0     R0              R2              R2              R0
        TX1     R1              R3              R3              R1
        TX2     R2              R4              R4              R2
Y       TX3     R3              R5              R5              R3
0       TX4     R4              R6              R6              R4
        TX6     R5              R7              R7              R5      
        TX7     G0              G2              G2              G0
----------------------------------------------------------------------
        TX8     G1              G3              G3              G1
        TX9     G2              G4              G4              G2
Y       TX12    G3              G5              G5              G3
1       TX13    G4              G6              G6              G4
        TX14    G5              G7              G7              G5
        TX15    B0              B2              B2              B0
        TX18    B1              B3              B3              B1
----------------------------------------------------------------------
        TX19    B2              B4              B4              B2
        TX20    B3              B5              B5              B3
        TX21    B4              B6              B6              B4
Y       TX22    B5              B7              B7              B5
2       TX24    HSYNC           HSYNC           HSYNC           HSYNC
        TX25    VSYNC           VSYNC           VSYNC           VSYNC
        TX26    ENABLE          ENABLE          ENABLE          ENABLE
----------------------------------------------------------------------
        TX27    R6              R0              GND             GND
        TX5     R7              R1              GND             GND
        TX10    G6              G0              GND             GND
Y       TX11    G7              G1              GND             GND
3       TX16    B6              B0              GND             GND
        TX17    B7              B1              GND             GND
        TX23    RSVD            RSVD            RSVD            RSVD
----------------------------------------------------------------------
*/


2,,一下参考规格书修改屏参说明



3#注意屏电压问题!!!

4#屏参问题






hback-porch + hfront-porch  =THB  ==140X2 = 280

vback-porch + vfront-porch = TVB         == 45

fps必须=60hz,或者=50HZ


fps=(clock)/((hactive +THB)*(vactive + TVB))=60


fps =50HZ <= (clock-frequency)/{(hactive + hback-porch + hfront-porch + 3)*(vactive + vback-porch + vfront-porch + 3)} <= 60


5# 屏模式问题


如果出现水彩!!!
lvds-format = 0;    或者lvds-format = 1;




5#奇葩奇美42,10BIT_LVDS


屏参如下:
[display_param]
screen-type = 3;
lvds-format = 0;
out-face    = 0;
color-mode = 0;
clock-frequency = 148600000;
hactive = 1920;
vactive = 1080;
hback-porch = 210;
hfront-porch = 16;
vback-porch = 34;
vfront-porch = 16;
hsync-len = 22;
vsync-len = 4;
hsync-active = 1;
vsync-active = 1;

de-active = 0;
pixelclk-active = 0;
swap-rb = 0;
swap-rg = 0;
swap-gb = 0;
end


6#常规1920_1080——LVDS屏参

[display_param]
screen-type = 3;
lvds-format = 0;
out-face    = 0;
color-mode = 0;
clock-frequency = 148000000;
hactive = 1920;
vactive = 1080;
hback-porch = 180;
hfront-porch = 97;
vback-porch = 30;
vfront-porch = 12;
hsync-len = 3;
vsync-len = 3;
hsync-active = 0;
vsync-active = 0;
de-active = 0;
pixelclk-active = 0;
swap-rb = 0;
swap-rg = 0;
swap-gb = 0;
end

7# 15寸夏普和三菱LVDS--1024_768   DE模式
[display_param]
screen-type = 2;
lvds-format = 2;
out-face    = 0;
color-mode = 0;
clock-frequency = 58000000;
hactive = 1024;
vactive = 768;
hback-porch = 120;        //320 /2  =160 OK
hfront-porch = 40;
vback-porch = 20;
vfront-porch = 9;
hsync-len = 3;
vsync-len = 3;
hsync-active = 0;
vsync-active = 0;
de-active = 0;
pixelclk-active = 0;
swap-rb = 0;
swap-rg = 0;
swap-gb = 0;
end




评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值