Demonstration customization and configuration UM2222
28/76 UM2222 Rev 2
5.3 BSP customization
5.3.1 SDRAM configuration
The BSP SDRAM driver offers a set of functions to initialize, read/write in polling mode or
DMA mode.
Figure 16. SDRAM initialization
The SDRAM external memory must be initialized before the GUI initialization to allow the
SDRAM to be used as LCD layers frame buffer.
Table 5. LCD frame buffer locations
Layer Address
LCD layer 0 0xD000 0000
LCD layer 1
0xD0000000 +
(size of frame buffer * NUM_VSCREENS
(1)
* NUM_BUFFERS)
(2)
1. NUM_VSCREENS: number of virtual screen defined in LCDConf.c file.
2. NUM_BUFFERS: number of multi buffer defined in LCDConf.c file.