GUI_Exec() takes time

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

  • GUI_Exec() takes time

    hi,
    We are implementing a UI with STM32F429II controller. I tried to draw a PNG file of size 71*71 and we measured time to draw that file with GUI_Exec() and it took around 60msec to complete the operation. code snippet used to measure the time is as below:

    {
    ..
    //Set GPIO
    IMAGE_SET_PNG(.., .. ,..);
    GUI_Exec();
    //Reset GPIO
    }

    Here we measured the time across the setting & resetting the GPIOs & it came around 60msec.
    In our requirement, we need to change this image every time so we call IMAGE_SET_PNG & GUI_Exec. How can we reduce this time to micro sec ? Is it even possible ?


    We also observed that this time increases with the size of the image. Its directly proportional to image size.