I assume your system is working in double-buffering mode. If you are reading the framebuffer content for your screen capture feature always from the same address, you will read sometimes the frontbuffer (= the current screen content) and sometimes the backbuffer (= the previous screen content).
In order to access always the currently visible framebuffer, please have a look into the module ew_bsp_display.c which you will find in the subdirectory /TargetSpecific of our Build Environments.
The variable CurrentFramebufferAddress contains the start address you are looking for - it is updated via the function EwBspSetFramebufferAddress() after the screen has been redrawn.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!