Gui_CopyRect() with ILI9341

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

    • Gui_CopyRect() with ILI9341

      Hello *,

      I´ve got a Problem on a STM32F407VE with an ILI9341-display. The function Gui_CopyRect seems to be not working.
      A manual copy with:

      for (int x = 80; x < 120; x++)
      {
      for (int y = 80; y < 120; y++)
      {
      GUI_SetColor(GUI_Index2Color(GUI_GetPixelIndex(x, y)));
      GUI_DrawPixel(x+50, y+50);
      }
      }

      is working fine. Any ideas?

      The the Display is connected by the FSMC.
    • Hi,

      I'd like to check this, so I got a couple of questions:

      Which color conversion are you using (GUICC_565 or GUICC_M565)?
      What's the width of the interface you are using, 8 or 16 bit?
      Are you using a cache?
      Did you set all read functions properly?

      If you like you can attach your LCDConf.c, GUIConf.h and GUIConf.c. This makes it a lot easier for me and I can take a look into it.

      Regards,
      Sven
      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.
    • Hello Sven,

      Which color conversion are you using (GUICC_565 or GUICC_M565)? - GUICC_M565
      What's the width of the interface you are using, 8 or 16 bit? - 16 bit
      Are you using a cache? - no
      Did you set all read functions properly? - I think so...

      I´m wondering about the fact that while emwin is reading a single pixel (I use the example in the manual with the red cross) for XOR the readmultipledata-function is called with Numitems=3.