Hello,
I have a display problem when using double buffering. I get flickering effects like in the attached video. If I use the offset buffer I don't have such problems. It seems to me that this might be a problem with the synchronization.
https://ask.embedded-wizard.de/?qa=blob&qa_blobid=6102480097685914325
I played around a bit with the LTDC settings(timings & clock), but could not get any improvement.
The used custom board is based on a STM32F769I-Eval but uses the display NHD5.0-800480TF-ATXL#-CTP instead.
The PCPolarity and DEPolarity do not seem to have any influence on the display.
It's also mentioned in the datasheet that the display works in DE mode and is therefore dependent on VSync and HSync.
hLtdcHandler.Instance = LTDC;
hLtdcHandler.Init.HSPolarity = LTDC_HSPOLARITY_AL;
hLtdcHandler.Init.VSPolarity = LTDC_VSPOLARITY_AL;
hLtdcHandler.Init.DEPolarity = LTDC_DEPOLARITY_AH;
hLtdcHandler.Init.PCPolarity = LTDC_PCPOLARITY_IIPC;
hLtdcHandler.Init.HorizontalSync = 1;
hLtdcHandler.Init.VerticalSync = 2;
hLtdcHandler.Init.AccumulatedHBP = 89;
hLtdcHandler.Init.AccumulatedVBP = 34;
hLtdcHandler.Init.AccumulatedActiveW = 889;
hLtdcHandler.Init.AccumulatedActiveH = 514;
hLtdcHandler.Init.TotalWidth = 929;
hLtdcHandler.Init.TotalHeigh = 527;
hLtdcHandler.Init.Backcolor.Blue = 0;
hLtdcHandler.Init.Backcolor.Green = 0;
hLtdcHandler.Init.Backcolor.Red = 0;
Does anyone have any advice?
Kind regards
Alex