LPC4357 driver 7inch LCD has blink problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC4357 driver 7inch LCD has blink problem

621 Views
skysky
Contributor III

LPC4357 driver 7inch lcd,and running emWin-V5.30.HCLK=204MHz, EMC-SDRAM-MT48LC2M32B2TG-6 and EMC-clock is 102M. Then ,i create a emWin page,and loop call WM_InvalidateWindow() to repaint the page,code such as:

h_menu = page_system_menu();
while(1)
{
GUI_Delay(1000);
WM_InvalidateWindow(h_menu);
}

Now ,the problem is that  the page is blinking,and i can see the BUTTON on page is cleared and then the BUTTON redraw.

but when i use the emWin Lib-V5.12 to replace the V5.30,the problem is no appear。

Labels (1)
0 Kudos
2 Replies

432 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Sky Sky,

Have you tested the version 5.38 to see if the same behavior is present?

Segger emWin 5.38 Libraries and Utilities for NXP Cortex M3/M4 MCUs 

Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos

432 Views
skysky
Contributor III

hello Carlos:

 Thank you for your reply.

i have tested the V5.38,the result is the same as V5.30.

In addition,i found the LPC4357's LCD DMA-FIFO don't support 32bit RGB-data.

Then ,when configure the emWin to 24bit RGB,the lcd display is error.

Only configure the emWin to 16bit or 32bit.

but LPC4357 don't support alpha blending,so  32bit ARGB is used as 24bit RGB is very bad: no alpha blending,and SDRAM is bigger 50%.

Is this issue exist?

0 Kudos