Associate
January 20, 2019
Question
Some kind of Tearing Effect with LCD_DSI_VideoMode_DoubleBuffering Example
- January 20, 2019
- 2 replies
- 2118 views
I have slightly modified the LCD_DSI_VideoMode_DoubleBuffering Example for the STM32F769-DISCO Board to see the behaviour when switching the video buffer at every Frame. The display is the standart DSI display (B-LCD40-DSI1) delivered with the DISCO kit. In the code I first preset 8 video-buffers with some pattern in the SDRAM, and on every HAL_LTDC_LineEventCallback, the CFBAR register is set to the next buffer.
Now I get some kind of diagonal tearing or shift effect, eventough the buffer-switching is theoretically synced to LTDC Line 0. You can see the effect in the attached picture.
Does anyone have an Idea, what is causing this effect and how this could be prevented?