No images on Screen - TouchGFX on STM32H743VIT6 with custom LTDC 2.1" Round LCD
hi,
I've installed the TouchGFX and I could compile it without any error. I did some images and buttons and only one screen inside TouchGFX Designer I could Generate code, and I could simulate it without any problem. But after compile the project, and upload the project in CubeIDE, I don't see any image in LCD.
* First I've check the framebuffer, if it could be allocated properly. And I think it is.

* I've checked the LTDC setup
pLayerCfg.WindowX0 = 0;
pLayerCfg.WindowX1 = 480;
pLayerCfg.WindowY0 = 0;
pLayerCfg.WindowY1 = 480;
pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565;
pLayerCfg.Alpha = 255;
pLayerCfg.Alpha0 = 255;
pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_CA;
pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_CA;
pLayerCfg.FBStartAdress = 0x2400010c;
pLayerCfg.ImageWidth = 480;
pLayerCfg.ImageHeight = 480;
pLayerCfg.Backcolor.Blue = 150;
pLayerCfg.Backcolor.Green = 100;
pLayerCfg.Backcolor.Red = 200;
I made sure that I've the correct address of the framebuffer.
* The main.c code is generated automatically so I did not touch anything
int main(void)
{
SCB_EnableICache();
HAL_Init();
/* Configure the system clock */
SystemClock_Config();
/* Configure the peripherals common clocks */
PeriphCommonClock_Config();
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_LTDC_Init();
MX_SPI1_Init();
MX_SPI6_Init();
MX_SPI4_Init();
MX_QUADSPI_Init();
MX_DMA2D_Init();
MX_JPEG_Init();
MX_FATFS_Init();
MX_LIBJPEG_Init();
MX_CRC_Init();
MX_RNG_Init();
MX_TouchGFX_Init();
/* USER CODE BEGIN 2 */
LCD_init();
MX_LTDC_Init();
while (1)
{
/* USER CODE END WHILE */
MX_TouchGFX_Process();
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
Where should I check too ?
