cancel
Showing results for 
Search instead for 
Did you mean: 

Touch Not Working on STM32U5G9J-DK1

ashutoshtekriwal
Associate III

Hello, I am developing a Touch GUI for STM32U5G9J-DK1 using Touch GFX [ 4.25.0]+
STM32CubeIDE [1.19.0]. The Display is working correctly, but touch input is not getting
detected.

 

 

Following information will be helpful:  
1. If any specific power/reset/initialization sequence is needed for the touch
controller?
2.Any reference project with verified touch support for STM32U5G9J-DK1?

7 REPLIES 7
Osman SOYKURT
ST Employee

Hello @ashutoshtekriwal ,

We do provide a TBS for the STM32U5G9J-DK1 board. You can get inspiration from it or directly use it if you want. Touch input is of course supported.

OsmanSOYKURT_0-1761601025930.png

Osman SOYKURT
ST Software Developer | TouchGFX

Hi Osman,

Could you please share the details for the same. 

Osman SOYKURT
ST Employee

Hello @ashutoshtekriwal ,

Sorry I didn't get it, you need details of what?

Osman SOYKURT
ST Software Developer | TouchGFX

There is only one demo available (includes the touch functionality) for STM32U5G9J-DK1 which is working perfectly on the board . However, I am unable to find the source code associated with this demo.Could you kindly provide the source code for the demo, or let me know if there are any specific steps to obtain it?  

Osman SOYKURT
ST Employee

Hello @ashutoshtekriwal,

When you create the application in Designer, click the Files button located at the bottom left corner. A Windows File Explorer opens, displaying a path that ends with /TouchGFX. This folder is primarily used by the user interface (UI) and contains GUI code, generated GUI code, assets, and other related files.

OsmanSOYKURT_0-1761825518479.png 

OsmanSOYKURT_1-1761825857871.png

 

However, for hardware code, navigate one level up. The folder you need to access is named after the application name you provided when creating your application.

OsmanSOYKURT_2-1761825895511.png

Osman SOYKURT
ST Software Developer | TouchGFX

I am looking for the source code for the demo which is provided for STM32U5G9J-DK1

Osman SOYKURT
ST Employee

The exact same demo source is not publicly available, but a very similar demo is freely accessible in TouchGFX Designer:

OsmanSOYKURT_0-1762353684368.png

Osman SOYKURT
ST Software Developer | TouchGFX