2016-08-09 06:04 AM
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.)2016-08-11 04:34 AM
2016-08-11 06:44 AM
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?