Default LTDC config LTDCconfig for board
for CubeMX config STM32F429 Discovery
LTDC_R7 PE15 PG6
LTDC_R6 PB1 PB1
LTDC_R5 PA12 PA12
LTDC_R4 PA11 PA11
LTDC_R3 PB0 PB0
LTDC_R2 PC10 PC10
LTDC_G7 PD3 PD3
LTDC_G6 PC7 PC7
LTDC_G5 PB11 PB11
LTDC_G4 PB10 PB10
LTDC_G3 PE11 PG10
LTDC_G2 PA6 PA6
LTDC_B7 PB9 PB9
LTDC_B6 PB8 PB8
LTDC_B5 PA3 PA3
LTDC_B4 PE12 PG12
LTDC_B3 PD10 PG11
LTDC_B2 PD6 PD6
LTDC_CLK PE14 PG7
LTCD_VSYNC PA4 PA4
LTDC_HSYNC PC6 PC6
LTDC_DE PF10 PF10
The required size for your framebuffer can be calculated as follows:
xSize * ySize * BytesPerPixel * NumberOfBuffers
= 320 * 240 * 2 * 1
= 153600 Bytes
for CubeMX config STM32F429 Discovery
LTDC_R7 PE15 PG6
LTDC_R6 PB1 PB1
LTDC_R5 PA12 PA12
LTDC_R4 PA11 PA11
LTDC_R3 PB0 PB0
LTDC_R2 PC10 PC10
LTDC_G7 PD3 PD3
LTDC_G6 PC7 PC7
LTDC_G5 PB11 PB11
LTDC_G4 PB10 PB10
LTDC_G3 PE11 PG10
LTDC_G2 PA6 PA6
LTDC_B7 PB9 PB9
LTDC_B6 PB8 PB8
LTDC_B5 PA3 PA3
LTDC_B4 PE12 PG12
LTDC_B3 PD10 PG11
LTDC_B2 PD6 PD6
LTDC_CLK PE14 PG7
LTCD_VSYNC PA4 PA4
LTDC_HSYNC PC6 PC6
LTDC_DE PF10 PF10
The required size for your framebuffer can be calculated as follows:
xSize * ySize * BytesPerPixel * NumberOfBuffers
= 320 * 240 * 2 * 1
= 153600 Bytes
Комментариев нет:
Отправить комментарий