emWin Library Pixel format issue

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

    • emWin Library Pixel format issue

      We are using a STM32H745 microcontroller interface with 1280 x800 TFT lvds display.

      RGB data from controller LTDC data convert through SN75LVDS83 IC and LVDS data fed to tft display.

      we are facing a issue in pixel format which is not update in 0 degree rotation with ARGB8888 color format.

      also we observe that 180 degree rotation with ARGB8888 format , we got clear resolution and no any corrupted pixel shown.

      we are using STemWin graphics library.

      Please suggest 0 degree rotation format with ARGB8888 color format.

      Please find the attached screen image.
      Images
      • ARGB8888_with_Rotation_0.jpg

        968.78 kB, 4,382×1,995, viewed 281 times
    • Hi,

      This looks like the data cache is not cleared before a DMA2D (ChromeArt accelerator) operation. The DMA2D is disabled for rotated configurations, therefore this should only occur when the display rotation is disabled.

      Could you please send me your LCDConf.c?

      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.
    • Hi Miren,

      In your LCDConf.c in line 1039 call to GUI_DCACHE_SetClearCacheHook() is commented out. You would have to set this hook function so that the data cache will be cleared.

      Then, you need also need to add a call to GUI_DCACHE_Clear() at the beginning of _DMA_ExecOperation(). This should prevent the artifacts that you are seeing on your screen.

      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.