Image distortion

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

    • Image distortion

      I'm working on STemWin544 library using the STM32F767ZI-Nucleo and the 3.97inch 16BIT Module OTM8009A display.
      Everything works fine with some STemWin examples, but the example
      from emWin_Tutorials_SRC DIALOG_MenuStructure.c shows the graphics with the expressions like this:



      When setting up a definition like this, #define GUI_SUPPORT_MEMDEV (0) displays graphics without distortion.
      I conclude, since the STM32F767ZI-Nucleo has only internal memory,
      then #define GUI_SUPPORT_MEMDEV should have a definition of 0
      Tell me, am I right or not?
      Images
      • P1.JPG

        214.57 kB, 800×600, viewed 276 times
    • Hi,

      GUI_SUPPORT_MEMDEV simply tells the compiler if code for memory devices should be included. But since you are using a precompiled library, that define has no influence on whether or not memory devices are included by the compiler.

      Anyhow, the distorted graphics are most likely caused by an incorrect emWin configuration, instead of memory devices. Unfortunately, there is no ready-to-use LCDConf.c I can send to you. But instead, could you send me the following files from your project:
      • GUIConf.c
      • GUIConf.h
      • LCDConf.c
      • LCDConf.h
      Thanks and best regards,

      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.