How to link framebuffer address in CubeMX and TouchGfx when using internal memory?
The MCU is STM32H743. In CubeMX LTDC settings, I have set the framebuffer address as 0x3000000, and selected buffering strategy and buffer location as "Single" and "Allocate" respectively inb TouchGfx. Also, in main.c I've declared an array
uint16_t framebuffer[100*100];
and set the framebuffer address to this array with
HAL_LTDC_SetAddress(&hltdc, framebuffer, LTDC_LAYER_1);
The display is 640x480, and all that is shown in the display is the backgorund color and a 100x100 black square.
I suspect the framebuffer addess is not understood by TouchGfx. What can I do correctly link the two framebuffer address?
Thanks,
E
