T3 配置 lvds 点屏

2021-9-26 C++

T3通过配置操作可以实现lvds 配置的修改,实现点屏。

主要问题是:vesa模式与jeida模式

;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_lvds_ab_reverse:  0: not reverse; 1:reverse

vesa 屏调试后点屏啥都OK,换乘jeida屏后,出现了重影,通过调整ab线解决该问题。

看网上其他的芯片都可以通过配置更改ab线极性,通过查看芯片数据手册,全志没做特别说明(有点坑)。

通过咨询代理,更改tcon0_lvds_even_odd_dir可以实现极性反转。

因此增加lcd_lvds_ab_reverse配置,之后就可以通过更改屏参解决ab线反转。

;----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch
;lcd_ht:               hsync total cycle
;lcd_vbp:              vsync back porch
;lcd_vt:               vysnc total cycle
;lcd_hspw:             hsync plus width
;lcd_vspw:             vysnc plus width
;lcd_lvds_if:          0:single link;  1:dual link
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_lvds_ab_reverse:  0: not reverse; 1:reverse
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;----------------------------------------------------------------------------------
[lcd0]
lcd_used            = 1
lcd_driver_name     = "default_lcd"
lcd_backlight       = 128 
lcd_if              = 3
lcd_x               = 1920
lcd_y               = 1080 
lcd_width           =
lcd_height          =
lcd_dclk_freq       = 148
lcd_pwm_used        = 1
lcd_pwm_ch          = 0 
lcd_pwm_freq        = 300
lcd_pwm_pol         = 0
lcd_pwm_max_limit   = 255

lcd_ht              = 2200 
lcd_hbp             = 140
lcd_hspw            = 45 

lcd_vt              = 1125 
lcd_vbp             = 25 
lcd_vspw            = 5 

lcd_lvds_if         = 1
lcd_lvds_ch         = 1
lcd_lvds_colordepth = 0
lcd_lvds_mode       = 0
lcd_lvds_ab_reverse = 0
lcd_frm             = 0
lcd_hv_clk_phase    = 0
lcd_hv_sync_polarity= 0
lcd_gamma_en        = 0
lcd_bright_curve_en = 0
lcd_cmap_en         = 0

deu_mode            = 1
lcdgamma4iep        = 22
smart_color         = 90


标签: 全志 T3 ab线

评论(0) 浏览(2474)

Powered by EMLOG Copyright @ 深圳市炽旗科技 版权所有. 闽ICP备14012694号-2