Program get stuck in draw_buf_flush

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Be sure you have checked the FAQ and read the relevant part of the documentation.
  • If applicable use the Simulator to eliminate hardware related issues.

Delete this section if you read and applied the mentioned points.

Description

Hi All!
I’m using LVGL with an ILI9806e-based LCD driver. LCD Connected to the stm32f769igt6 Microcontroller through DSI in Video non_Burst Mode with 8 chunks (in single Buffer mode).
it can handle drawing the first screen but can’t proceed with the other drawings. in debug mode it gets stuck in the draw_buf_flush function as shown in the attached image. it seems it can’t access the content of the second buffer. is there any way to manage LTDC and LVGL access to the framebuffer or is it helpful to use double buffering with video mode and how to implement that with lvgl. I would really appreciate suggestions on what the problem is and how to fix it

What MCU/Processor/Board and compiler are you using?

stm32f769igt6

What LVGL version are you using?

v8.2.0

What do you want to achieve?

fixing the problem: get stuck in Flushing the content of the draw buffer

What have you tried so far?

increasing the disp_buf1 to TFT_HOR_RES * 100

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Probably you forgot to call lv_disp_flush_ready. See here Display interface — LVGL documentation

Many thanks
it works fine now
:+1: