emWin is too slow!?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • emWin is too slow!?

    LPC4350 (Cortex-M4 running at 204MHz), 32-bits external SDRAM (running at 102MHz) where is the framebuffer and memory dedicated to emWin, TFT 320x240 connected directly to the TFT controller embedded in the processor through 16-bits RGB interface. I think it's a good system to have good performance.

    How is it possible to have the performance in this video? I'm drawing only 12 button widgets in a parent window that covers the entire display and call continuously WM_ShowWindow() and WM_HideWindow().

    I have enabled Memory Devices with Windows:

    Source Code

    1. WM_SetCreateFlags(WM_CF_MEMDEV);


    In the video the buttons has a custom skin, but I tried without skin and the behaviour is the same.

    I noticed poor performance in any animation (FadingIn/Out, moving, scrolling...).

    Those performance can be compared with systems provided with a low-end microcontroller driving a TFT display through SPI interface!

    I'm sure I made some errors. Any help?