cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750 LVGL Display Issues

martin_xu
Associate II

Hi Support

    I'm running a LVGL demo,set the framebuffer address  at extern SDRAM  address 0xC0000000

    "pLayerCfg.FBStartAdress = ((uint32_t)0xC0000000);"

     lvgl need  a work mem for dynamically allocated data 

    when assign the  work mem on IRAM(0x24000000-0x24080000)  it work fine.

    OK.png

     when assign the  work mem on ext SDRAM(0xc0000000-0xc2000000)  there is issues on display lcd.

     Failed.jpg

 And run into the HardFault issues.

 

 

1 REPLY 1
martin_xu
Associate II

The  LTDC  resolution  is 1024X600  LTDC_PIXEL_FORMAT_RGB565,

so the Frambuffer size is  1228800 , I 'm also confirm that the work mem 0xc0400000(size 200K) is safe.