Associate
June 2, 2021
Question
F746G Discovery: dark grey screen caused by MX_TouchGFX_Init()
- June 2, 2021
- 3 replies
- 1486 views
Hi,
I wanted to configure my F746G Discovery board with LTDC and TouchGFX using framebuffer in internal RAM from scratch. So I configured LTDC based on scheme provided and it works perfectly fine. I am able to display and switch solid colors, display static image from .h file.
Then I wanted to make TouchGFX work, but after calling MX_TouchGFX_Init() it will just display dark grey screen, without calling it I can display at least static content normaly.
LTDC_IRQHandler is being called periodically and framebuffer is declared and set this way:
uint16_t framebuffer[480*272];
HAL_LTDC_SetAddress(&hltdc, framebuffer, LTDC_LAYER_1);
Something is probably miss-configured with TouchGFX and I can´t figure out what it is. Thanks for any help!
