2024-11-06 02:43 AM
I have created STM32Cube IDE project from TouchGFX for STM32U575ZI-NUCLEO-AZ2 eval board.
While I just created a custom screen showing image as a startup screen using TouchGFX for this eval board. And I have added below piece of code in default Task created:
for(;;)
{
osDelay(1000);
SyncUp();
}
void SyncUp(void)
{
// VSync has occurred, increment TouchGFX engine vsync counter
HAL::getInstance()->vSync();
// VSync has occurred, signal TouchGFX engine
OSWrappers::signalVSync();
// Optional line
//LCD_IO_SendDataDMA((uint8_t*)TFTframebuffer, DISPLAY_WIDTH * DISPLAY_HEIGHT * 2);
}
I was expecting that after calling signalVSync(), the image will be displayed. However, the board display did not have the image loaded and just shows blank white screen. I tried calling LCD_IO_SendDataDMA() as well but then the code got stuck into DMA transfer error.
Can you let me know what is missing here? The simulator is able to show the start image as exoected.
I can share the whole project folder as well if required as the code is generated with minimum changes for the default eval board project.
2024-11-07 10:33 AM
Hi mdalal
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Kind Regards
Joe
STMicro Support