emWin dialog box blinking getting slower and slower on STM32f429 DISCO

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

    • emWin dialog box blinking getting slower and slower on STM32f429 DISCO

      Hello
      i have a very simple application on STM32f429 DISCO : alternatively display dialog box1 / dialog box 2
      After a few second the blinking of the dialog box is very slow.
      What can happen the make the system slow down ?


      1) Each dialog box has a 200ms timer that calls the other dialog box :
      case WM_TIMER:
      CreateFramewin_DLG_Startup();

      case WM_TIMER:
      CreateFramewin_DLG_Status_menu();

      2) GUI_ALLOC_GetNumFreeBytes() returns 102948 free bytes

      3) each dialog box prints bitmaps :


      case WM_INIT_DIALOG:

      hItem = pMsg->hWin;
      FRAMEWIN_SetTitleVis(hWin, 0);
      hItem = WM_GetDialogItem(pMsg->hWin, ID_IMAGE_SAND_GLASS);
      IMAGE_SetBitmap(hItem, &bmsandglass);

      4) SDRAM is not used

      thanks for any support
      Best regards