Content originally posted in LPCWare by haydnb on Mon Apr 11 23:56:49 MST 2016
I have built up a very simple application with emWin which uses GUI_MEMDEV_MoveIn/MoveOut to periodically show/hide a window containing some basic widgets.
On PC simulation everything runs fine, but on the board the animation is either very slow or the animation as such is not recognizable - there's just a blank screen and the next time it shows up the whole window without any animation in between.
I found out that the more I increase GUI_NUMBYTES in GUIConf.h, the smoother the animation becomes. Currently, the value is 6291456, which I think is very much, but the animation is still too juddery. My problem is, that I don't have more memory available.
Could anyone point me to what I'm missing here? Can it be that there is so much memory needed?
It runs on a Cortex M4, used display driver is GUIDRV_LIN_32, display size 800x480px.