2025-09-08 3:43 AM - last edited on 2025-09-08 3:47 AM by mƎALLEm
i m using STM32303E Eval board. This board has SPI based GLCD (as per datasheet of Board) with is connected through SPI-2. i m using TOUCHGFX for display images and my application has only QR code in it. i have started from STCubeMX, enabled TOUCHGFX and CRC, included QRcode from TOUCHGFX and finally compiled code in IAR workbench.
The setting i have used in STCubeMX are attached as an image.
But screen is not showing any image (remains white in color).
i ve tried to debug and found a function hal.backPorchExited(); is not executing.
Void touchgfx_taskEntry()
{/** Main event loop will check for VSYNC signal, and then process next frame.
* Note This function returns immediately if there is no VSYNC signal.*/
if (OSWrappers::isVSyncAvailable())
{
hal.backPorchExited();
}
}
Now my question is
1. why the statement if (OSWrappers::isVSyncAvailable()) is always false and how to torubleshoot it.
2. IS it right to use TOUCHGFX for this board or i have to work with STemwin for this purpose.
waiting for reply
regards
2025-09-09 5:00 AM
Hello @NSing.5,
You should be able to use your board, OSWrappers::isVSyncAvailable() is called when VSYNC happened. You need to have the VSYNC pin set up to use touchgfx.
Br,