基于D1s,在melis4.0中适配新的lcd问题
-
采用melis测试基于D1s的LCD显示,LCD为百问网开发板带的100ASK-LCD0701-1024x600-C,不知道要如是配置才可以正确的驱动。
目前修改sys_cofig_nor.fex中lcd0参数为:[lcd0] lcd_used = 1 lcd_driver_name = "default_lcd" lcd_backlight = 0 lcd_if = 0 lcd_x = 600 lcd_y = 1024 lcd_width = 150 lcd_height = 94 lcd_rb_swap = 0 lcd_dclk_freq = 51 lcd_pwm_used = 1 lcd_pwm_ch = 7 lcd_pwm_freq = 50000 lcd_pwm_pol = 1 lcd_hbp = 320 lcd_ht = 1344 lcd_hspw = 0 lcd_vbp = 35 lcd_vt = 635 lcd_vspw = 0 lcd_lvds_if = 0 lcd_lvds_colordepth = 0 lcd_lvds_mode = 0 lcd_frm = 0 lcd_io_phase = 0x0000 lcd_gamma_en = 0 lcd_bright_curve_en = 0 lcd_cmap_en = 0 deu_mode = 0 lcdgamma4iep = 22 smart_color = 90 ;lcd_bl_en = port:PH06<1><0><default><1> ;lcd_power = port:power2<1><0><default><1> ;lcd_fsync_en =1 ;lcd_fsync_act_time = 1000 ;lcd_fsync_pol = 0 lcd_gpio_0 = port:PD00<2><0><default><default> lcd_gpio_1 = port:PD01<2><0><default><default> lcd_gpio_2 = port:PD02<2><0><default><default> lcd_gpio_3 = port:PD03<2><0><default><default> lcd_gpio_4 = port:PD04<2><0><default><default> lcd_gpio_5 = port:PD05<2><0><default><default> lcd_gpio_6 = port:PD06<2><0><default><default> lcd_gpio_7 = port:PD07<2><0><default><default> lcd_gpio_8 = port:PD08<2><0><default><default> lcd_gpio_9 = port:PD09<2><0><default><default> lcd_gpio_10 = port:PD10<2><0><default><default> lcd_gpio_11 = port:PD11<2><0><default><default> lcd_gpio_12 = port:PD12<2><0><default><default> lcd_gpio_13 = port:PD13<2><0><default><default> lcd_gpio_14 = port:PD14<2><0><default><default> lcd_gpio_15 = port:PD15<2><0><default><default> lcd_gpio_16 = port:PD16<2><0><default><default> lcd_gpio_17 = port:PD17<2><0><default><default> lcd_gpio_18 = port:PD18<2><0><default><default> lcd_gpio_19 = port:PD19<2><0><default><default> lcd_gpio_20 = port:PD20<2><0><default><default> lcd_gpio_21 = port:PD21<2><0><default><default> lcd_gpio_22 = port:PD22<2><0><default><default> ;lcd_gpio_23 = port:PD23<2><0><default><default> ;lcdclk = port:PD18<2><0><default><default> ;fsync = port:PD19<2><0><default><default> ;lcdhs = port:PD20<2><0><default><default> ;lcdvs = port:PD21<2><0><default><default>
屏幕有显示,但是屏幕闪烁,并且图片内容有重影。
在终端执行disp命令的显示信息如下:msh />disp screen 0: de_rate 300000000 hz, ref_fps: 59 mgr0: 600x1024 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] dmabuf: cache[0] cache max[0] umap skip[0] overflow[0] lcd output backlight(192) fps:7.9 600x1024 err:0 skip:0 irq:1489 vsync:0 vsync_skip:0 BUF enable ch[0] lyr[0] z[1] prem[N] a[pixel 0] fmt[ 72] fb[ 800, 480; 400, 240; 400, 240] crop[ 0, 0, 800, 480] frame[ 0, 0, 600,1024] addr[0x40f58000,0x40fcd300,0x40fb5c00] flags[0x 0] trd[0,0] BUF enable ch[1] lyr[0] z[8] prem[N] a[pixel 0] fmt[ 0] fb[ 600,1024; 600,1024; 600,1024] crop[ 0, 0, 600,1024] frame[ 0, 0, 600,1024] addr[0x41241000,0x00000000,0x00000000] flags[0x 0] trd[0,0] BUF enable ch[1] lyr[1] z[11] prem[N] a[pixel 0] fmt[ 0] fb[ 800, 46; 800, 46; 800, 46] crop[ 0, 0, 800, 46] frame[ 0, 0, 800, 46] addr[0x4164d000,0x00000000,0x00000000] flags[0x 0] trd[0,0]
感觉刷新率似乎不正确。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号