Skip to main content
NSing.5
Associate III
Sep 8, 2025 10:43 AM UTC
Question

Graphical LCD display with STM32303E Eval

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

This topic has been closed for replies.

7 replies

ST Employee
Sep 9, 2025 12:00 PM UTC

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, 

Louis BOUDOST Software Engineer | TouchGFX
NSing.5
NSing.5Author
Associate III
Sep 17, 2025 12:32 PM UTC

thanks for reply. sorry i was late to check your response. can you guide me how to enable VSYNC pin. or if you can suggest some reference tutorial for it.

regards 

NSing.5
NSing.5Author
Associate III
Oct 1, 2025 4:55 AM UTC

i think there is no one to help me in ST

MM..1
Super User
Oct 4, 2025 9:10 AM UTC

SPI displays require your code to manage sync etc. Read TGFX docu for spi ... SPI Display Interface | TouchGFX Documentation

ST Employee
Oct 2, 2025 12:40 PM UTC

Hello @NSing.5,

As you are using an eval board the Vsync is already connected (I first thought it was a custom board). Have you tried to folow all the steps in https://support.touchgfx.com/docs/development/board-bring-up/board-introduction ?

BR,

Louis BOUDOST Software Engineer | TouchGFX