cancel
Showing results for 
Search instead for 
Did you mean: 

GFX01M2 and unsupported X-Nucleo boards in TouchGFX

Al-E-Bags
Senior

Hi,  much trepidation here as I'm new to STM32 and new to this forum too.  

Looking through the entire inventory of STM microcontroller products, one could be forgiven for becoming a little confused over the 'right choice' or combination of hardware and software packages for a particular project.  I am a little confused!

Here is where I am with my efforts so far. I am - as part of my project development - trying to configure a GFX01M2 X-Nucleo diplay expansion board to run on an STM32F303RE Nucleo board.  Following various tutorials online, I am reasonably sure that I have produced a working hardware configuration via CubeMX v6.8.0 (I'm using this version presumably to keep compatability with X-CUBE-DISPLAY v3.0.0 Middleware). I have also configured X-CUBE-TOUCHGFX for this particular display expansion board.

My next step is to create the most basic of GUI's so I can test for a working setup of the boards.   To this end, I have used the STM32G071RB as a template/substitute MCU.  At this stage, I'm looking for no more than displaying some text on the display.  

My intuition suggests that i need to combine parts of the generated code from TouchGFX into my (hopefully correct) project for the F303RE via CubeIDE.  I'm at a bit of a loss as to how to achieve this, or, even if this is the correct approach to the solution.  Can somebody help me out and point me in the right direction.   Thanks!    

 

          

14 REPLIES 14

Hi Gaetan.

In answer to your question, I should have mentioned that when the X-CUBE-DISPLAY package is installed,  the STM32Cube->Repository  directory will contain several folders, one of which is for the NUCLEO-G071RB board.  In this folder there is a HelloWorld application for both the GFX01M1 and GFX01M2 expansion boards.  I'm using this example to configure the F303RE.

GaetanGodart
ST Employee

Hello @Al-E-Bags ,

 

Ok, I think the confusion came from the different versions of STM32CubeMX that we are using.
In general it is recommended to use the latest version of software and firmware if possible.
Are you restricted to using an older version or can you upgrade?

 

"
The F303RE that I am using for the GFX01M2 display needs to be configured for the diplay as there is no support for it in TouchGFX.
"
This could be true for your version, but in the most recent version and most recent TBS (TouchGFX Board Setup), we do not use X-CUBE-DISPLAY, that is why I got confused.
It is actually not compatible anymore once you upgrade STM32CubeMX (I have tried to reproduce your issue):

GaetanGodart_0-1725528508591.png

 

"
As far as I know...and I am no expert by any means, using X-CUBE-DISPLAY via the version of CubeMX I am using is the only means I have found to be able to do this.
"
To use X-CUBE-DISPLAY the simplest way is probably through STM32CubeMX, but maybe you can download it and do it "manually".

 

Please, tell me if you can upgrade to the latest versions of software as it will make it easier to help you.
You won't need X-CUBE-DISPLAY at all if you upgrade.

Also, regarding the initial question about missing pins/signals, these signals are not mandatory, they are the prevent tearing, but you can add that manually, this is what we do in most TBS.
Here is the example of tearing effect signal (interrupt) for the most recent STM32G071RB-nucleo + GFX01M2 TBS :

GaetanGodart_1-1725528794781.png

 

Waiting for your answer.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hi Gaetan.

"
Are you restricted to using an older version or can you upgrade?

"

No, no restriction whatsoever.  I have V6.12.0 installed but was using V6.8.0 for compatibility with X-CUBE-DISPLAY which I thought I needed to have.

"

... the most recent version and most recent TBS (TouchGFX Board Setup), we do not use X-CUBE-DISPLAY, that is why I got confused.

"

Ok, I too am, or have been confused (as I mentioned in my first post on this subject).  I had some issues trying to use the tgfx.exe tool (I could not get it to open correctly in a terminal window).  I think this is why I abandoned the TouchGFX Board Setup process and opted for CubeMX route to try to achieve my goals.

"

Also, regarding the initial question about missing pins/signals, these signals are not mandatory, they are the prevent tearing, but you can add that manually, this is what we do in most TBS.
Here is the example of tearing effect signal (interrupt) for the most recent STM32G071RB-nucleo + GFX01M2 TBS 

"

Ok.  It looks like I was headed down the wrong path.  I need to work out why I am having trouble using the board setup process and then, I think, we will be on the same page!  I shall remove the older version of CubeMX and work only with your instruction.  I'm sorry for any confusion I have caused.  

Please walk me through the steps I need to set up and use TBS (TouchGFX Board Setup.   Thanks for your time...and your patience :)

 

 

GaetanGodart
ST Employee

No problem ! :smiling_face_with_smiling_eyes:

 

I think you are also looking at the wrong guide, we have an old guide talking about tgfx.exe but this is not the process anymore.

 

I think your next steps are :

  1. Upgrade all your software (STM32CubeMX, STM32CubeIDE, STM32CubeProgrammer and TouchGFX) and firmware
  2. Open TouchGFX Designer and create an empty project using a STM32G071RB nucleo + GFX01M2 to be able to look at what a working TBS similar to the one you want to create would look like
  3. Follow our TBS creation guide : board-bring-up/board-introduction 

 

Don't hesitate if you have questions. Maybe it would be more appropriate to create a new topic for those specifis questions.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Will do! Thanks again.