Demonstration customization and configuration
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.
The SDRAM external memory must be initialized before the GUI initialization to allow the
SDRAM to be used as LCD layers frame buffer.
LCD layer 0
LCD layer 1
1. NUM_VSCREENS: number of virtual screen defined in LCDConf.c file.
2. NUM_BUFFERS: number of multi buffer defined in LCDConf.c file.
28/76
Figure 16. SDRAM initialization
Table 5. LCD frame buffer locations
Layer
0xD000 0000
0xD0000000 +
(size of frame buffer * NUM_VSCREENS
UM2222 Rev 2
Address
(1)
* NUM_BUFFERS)
UM2222
(2)
Need help?
Do you have a question about the STM32CubeH7 and is the answer not in the manual?