I am not sure if this is a bug or not.
I changed my hardware LCD. Always some lines in my screen.
What is wrong?
Anybody could share me some method to fix it?
I am not sure if this is a bug or not.
I changed my hardware LCD. Always some lines in my screen.
What is wrong?
Anybody could share me some method to fix it?
What MCU are you using? If it’s STM32F7/H7, do you have the cache enabled?
I use a STM32F103VC.
I am not sure it’s the MCU have a cache or not.
The F1 does not have cache.
Are you using DMA or DMA2D to send the screen buffers, or copying them directly to the display?
Thank you very much.
Actually, I use a FSMC to copy the cmd and data to display.
And I find that the lines distance equal to the buffer size in “lv_port_disp.c”
//============================================================
*/* Example for 2) */*
static lv_disp_buf_t disp_buf_2;*
static lv_color_t buf2_1[LV_HOR_RES_MAX * 10]; /*A buffer for 10 rows*/*
static lv_color_t buf2_2[LV_HOR_RES_MAX * 10]; /*An other buffer for 10 rows*/*
lv_disp_buf_init(&disp_buf_2, buf2_1, buf2_2, LV_HOR_RES_MAX * 10); /*Initialize the display buffer*/*
//============================================================
when I modified the “*10” to “*15”, the distance will be 15 pixs.
2 things:
disp_flush
?LV_COLOR_16_SWAP
if you’re using 16bpp color?Thank you very much.
The lines will disappear when I delete the obj, not reset the hardware.
And when I try other example, the screen will display correct.
It’s strange.
Hi HaganHao,
I have the same problem. Have you resolved this problem?