Hi @diego_charles
Thanks for your response
I didn't do anything special. The system configuration like clock, mpu setting, etc., I didn't change them. I used the SDK as it is and only did below modification to run in single frame buffer mode.
For the evkmimxrt1060_elcdif_rgb project, I did the following modification to run in single frame buffer mode.
Change the frame buffer size from s_frameBuffer[2] to s_frameBuffer[1].
AT_NONCACHEABLE_SECTION_ALIGN(static uint32_t s_frameBuffer[1][APP_IMG_HEIGHT][APP_IMG_WIDTH], FRAME_BUFFER_ALIGN);
And inside the while(1), I comment out this line /* frameBufferIndex ^= 1U; */ and /* ELCDIF_SetNextBufferAddr(APP_ELCDIF, (uint32_t)s_frameBuffer[frameBufferIndex]); */
The ELCDIF_SetNextBufferAddr() function whether it is comment-out or not, the behavior is the same. I think this is fine as the project is running in single frame buffer.
And for evkmimxrt1060_lvgl_guider_bm project, I did the following modification to run in single frame buffer mode.
Change the frame buffer size from s_frameBuffer[2] to s_frameBuffer[1].
SDK_ALIGN(static uint8_t s_frameBuffer[1][DEMO_FB_SIZE], DEMO_FB_ALIGN);
In the lvgl initialization "lv_port_disp_init()", I set the second frame buffer to NULL as written in LVGL documentation.
lv_disp_draw_buf_init(&disp_buf, s_frameBuffer[0], NULL, LCD_WIDTH * LCD_HEIGHT);
I would say the flickering is bad and I think it is happening even without redrawing/repainting data/image to LCD.
Do you have the EVK1060 demo board on your side? If yes, please take the latest SDK and run it with single frame buffer modification and see if you are also getting the flickering problem.
By the way, I tried to run the examples using the EVK1060 demo board and our own project board (using only internal RAM) and behavior is the same. Display is flickering for single frame buffer mode. Double frame buffer mode, no problem at all regardless of the hardware board.
Thank you very much.