f1c100s 是最多只能18位RBG接口吗?看手册寄存器配置
TCON0 CPU Interface Control Register:
CPU_MOD: CPU interface mode:
000: 18bit/256K mode
001: 16bit mode0
010: 16bit mode1
011: 16bit mode2
100: 16bit mode3
101: 9bit mode
110: 8bit 256K mode
111: 8bit 65K mode
离线
你看下这个
求一份全志f1c100s的8080接口的lcd驱动 https://whycan.com/t_6744.html
离线
哦,这是8080,我要用RGB,我以为RGB最多只能18bit RGB666
离线
SWAP: TCON0 data manipulation
0: default
1: swap RED and BLUE data at FIFO1
这个寄存器设置是否表明RGB可以换线了,布线可以BGR了 ?
离线
有没有刷屏加速的办法,目前20帧刷屏RGB565 CPU占用40%左右, ARGB888 CPU占用48%左右。我看颜色填充不是连续的内存填充,这样用dma怎么实现
static void lcd_fb_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p)
{
uint32_t x;
uint32_t y;
uint32_t location = 0;
lv_color_t *fbp = (lv_color_t *)info.framebuffer;
//LOG_D("flush x1=%d, x2=%d, y1=%d, y2=%d", area->x1, area->x2, area->y1, area->y2);
for (y = area->y1; y <= area->y2; y++)
{
for (x = area->x1; x <= area->x2; x++)
{
location = x + y * info.width;
fbp[location].full = color_p->full;
color_p++;
}
}
lv_disp_flush_ready(disp_drv);
}
离线