2023-11-06 01:02 AM
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.
when assign the work mem on ext SDRAM(0xc0000000-0xc2000000) there is issues on display lcd.
And run into the HardFault issues.
2023-11-06 01:15 AM
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.