How calculate TFT LCD Frame buffer size. Can we allocate it in internal memory. ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-30 3:52 AM
I am using STM32H753 for driving 800x480 TFT LCD. Currently I am using External SDRAM for my FRAME BUFFER. I am using DMA2D and TFT LCD module of MCU.
#define LCD_LAYER0_FRAME_BUFFER ((int)0xC0000000)
#define LCD_LAYER1_FRAME_BUFFER ((int)0xC0300000)
My code is working fine with above configuration.
Currently I need only one layer for LCD.
1) Can I use internal MEMORY of MCU instead of external SDRAM ?
2) How to calculate frame buffer size for 800x480 TFT-LCD for RGB565 format ?
Labels:
- Labels:
-
LCD-LTDC
-
RAM
-
STM32H7 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-30 4:27 AM
- yes when size is ...
- 800x480x2 bytes for single buffer
PS For optimized use i recommend use L8 ARGB2222 , then size is 800x480x1
