Skip to main content
er3481
Associate III
August 9, 2016
Question

stemwin gui without external ram

  • August 9, 2016
  • 11 replies
  • 2275 views
Posted on August 09, 2016 at 15:04

Hi,

I want to use stemwin gui library with my stm32f429 board without any external ram for driving 320*240 tft LCD, so i will use mcu internal ram. when i use ''GUI_DispString(''Hello world!'')'' function , i can not see anything on the screen. For discovery board there is a external sdram and in ''LCDConf.c'' file the frame buffer is defined as :

#define LCD_LAYER0_FRAME_BUFFER ((uint32_t)0xD0200000)

So, if this is the problem for my board ( i am not sure), what must this value be ? Any advise ? ( when i use the value '' 0x20000000 for buffer adress that is the mcu internal ram adress, the code crashes.)

    This topic has been closed for replies.

    11 replies

    er3481
    er3481Author
    Associate III
    August 11, 2016
    Posted on August 11, 2016 at 15:44

    Hi @Daemy

    There are only three defines in Hal_LTDC for 8bpp format:

    #define LTDC_PIXEL_FORMAT_L8                        ((uint32_t)0x00000005U)      /*!< L8 LTDC pixel format       */

    #define LTDC_PIXEL_FORMAT_AL44                      ((uint32_t)0x00000006U)      /*!< AL44 LTDC pixel format     */

    #define LTDC_PIXEL_FORMAT_AL88                      ((uint32_t)0x00000007U)      /*!< AL88 LTDC pixel format     */

    I have tried all of them but there no colored pixels on the screen, just white and black. If there is another format define for 8bpp colored format can you give advise me?