Hello,
I am working on a STM32F429 Discovery but I have remove the original display and I have connected a NewHeaven 800x480 display fitted with a HX8264-D02. I use the LTDC interface to drive the screen with 18 bits for the colors and controls signals. The external SDRAM is used for the display memory. The IDE is OpenSTM32.
I have also a flicker problem. I have a test like this: when you touch the screen the software draw a box where you have touch the screen:
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
gfxSleepMilliseconds(10);
if (ginputGetMouseStatus(0, &ev))
{
if (!(ev.buttons & GMETA_MOUSE_CLICK))
continue;
if(DRAW_AREA(ev.x, ev.y))
{
//gdispFillCircle(ev.x, ev.y, PEN_SIZE, BlueBlue);
gdispDrawBox(ev.x-10, ev.y-10, 20, 20, BlueBlue);
}
}
}
What is the best solution to avoid this inesthetic problem. What is not correct in my setting.
I have enough memory but is is possible to work with the two windows of LTDC? I don't see how to do it.
For my target application is not possible to work with pixel map I think.
Thank you very much for your answer.
Best regards
20160611164826[1].MTS