Skip to main content
NSing.5
Associate III
September 8, 2025
Question

Graphical LCD display with STM32303E Eval

  • September 8, 2025
  • 3 replies
  • 741 views

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

3 replies

ST Employee
September 9, 2025

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, 

NSing.5
NSing.5Author
Associate III
September 17, 2025

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
October 1, 2025

i think there is no one to help me in ST

MM..1
Chief III
October 4, 2025

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

ST Employee
October 2, 2025

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,