Optimizing Framebuffer Fetching, Touchgfx
I am following AN4861, and reading 4.5.2.
I have a 800x480 display, so I need the closest 64 byte multiple. 832
1) In CubeMX, DMA2D-Basic Parameters- DMA2D Output Offset. (832-800) = 32
2) In CubeMX, Additional Software-TouchGFX Width(LTDC) = 832
3) in main.c at end of MX_LTDC_INIT() add: HAL_LTDC_SetPitch(&hltdc, 832, 0);
Device config compile.
Touchgfx Generate code.
Project build.
With these changes it appears to work.
The Touchgfx editor now displays the 832 pixel screen.
Is this the correct configuration for implementing Optimized burst read accesses?
Thanks
Martin
