Skip to main content
Associate II
May 16, 2024
Solved

Nucleo-f767zi and x-nucleo-GFX02zi CubeMX and HelloWorld

  • May 16, 2024
  • 5 replies
  • 3290 views

Hello,

 

I am new at the STM32 World. 

 

I started to buy a nucleo-f767zi and it worked fine. 

 

I was not able to get the debug Console running. Like other too. 

 

Because of that I bought the extension Board  x-nucleo-GFX02zi which should be working fine with the F767ZI. 

 

Now I tried with CubeMX to installed the Hello World Example provided.

But now I get the Message that these Packets is not Support with CubeMX 6.11. It should be support by Version 6.7 until 6.8.2.

 

I tested 6.8.2 and 6.8 but without any changes. It seams like the SPI does not fit together. Always I got no solution found. 

 

Does the GFX02zi can be used with the F767ZI? Or do I have to everything new. 

 

I am going a bit crazy. 

 

Is there anyway a working step by Step intruduction for Add a Display to a STM32. 

 

Thanks for any help 

best regards

Carsten 

Best answer by GaetanGodart

Hello @Carsten73 and welcome to the community!

 


Now I tried with CubeMX to installed the Hello World Example provided.


So you are trying to use the "Hello World" example from STM32CubeMx?

I am not a STM32CubeMx expert, it seems like using an older version of STM32CubeMx should have solved your problem but it did not :| .

I recommend you to create a new thread clearly stating your issue related to STM32CubeMx on the sub forum specific to STM32CubeMx : stm32cubemx-forum 

 


Does the GFX02zi can be used with the F767ZI? Or do I have to everything new. 


Yes, the STM32F767 nucleo board is compatible with the GFX02z1, see this link : x-nucleo-gfx02z1 

 


Is there anyway a working step by Step intruduction for Add a Display to a STM32. 


Yes, we made multiple guides on our documentation : TouchGFX documentation 
There is specific documentation about how to "create a custom board" : development-introduction 

Keep in mind that starting on a new environment is not easy at first (especially in the embedded world) but I personally think that ST made a great work keeping it as simple as possible and as clear as possible.

Also, doing graphics in embedded systems is another difficulty because of the limited resources of embedded devices. Here at TouchGFX we did the heavy lifting, but there is still some specific setups to do.

To help adding your display to the STM32h767, the easiest could be to Download TouchGFX and create a new project that is using a GFX02Z1 (the only ones we have are using a STM32U575 or a STM32H563). By doing that, you will have a working project that could be flashed into the mentioned boards, this is what we call a TBS (TouchGFX Board Setup). You can use this TBS to setup your own board (STM32F767) as it would be similar in some ways.

Finally, to learn about STM32 in general, I would recommend you to watch the Digikey Youtube series : Digikey STM32 
and to look at the ST Academy : ST Academy 

 

I hope this helps you, if it does, I invite you to select this comment as "best answer".

 

Regards,

5 replies

Carsten73Author
Associate II
May 17, 2024

Hi, 

 

i Started from scratch with the MCU only instead of the Nucleo Board. 

 

The Problem is the memory and SPI configuration

Carsten73_0-1715930918979.png

 

How can I fix these?

 

Thanks

Carsten

 

GaetanGodart
GaetanGodartBest answer
Technical Moderator
May 17, 2024

Hello @Carsten73 and welcome to the community!

 


Now I tried with CubeMX to installed the Hello World Example provided.


So you are trying to use the "Hello World" example from STM32CubeMx?

I am not a STM32CubeMx expert, it seems like using an older version of STM32CubeMx should have solved your problem but it did not :| .

I recommend you to create a new thread clearly stating your issue related to STM32CubeMx on the sub forum specific to STM32CubeMx : stm32cubemx-forum 

 


Does the GFX02zi can be used with the F767ZI? Or do I have to everything new. 


Yes, the STM32F767 nucleo board is compatible with the GFX02z1, see this link : x-nucleo-gfx02z1 

 


Is there anyway a working step by Step intruduction for Add a Display to a STM32. 


Yes, we made multiple guides on our documentation : TouchGFX documentation 
There is specific documentation about how to "create a custom board" : development-introduction 

Keep in mind that starting on a new environment is not easy at first (especially in the embedded world) but I personally think that ST made a great work keeping it as simple as possible and as clear as possible.

Also, doing graphics in embedded systems is another difficulty because of the limited resources of embedded devices. Here at TouchGFX we did the heavy lifting, but there is still some specific setups to do.

To help adding your display to the STM32h767, the easiest could be to Download TouchGFX and create a new project that is using a GFX02Z1 (the only ones we have are using a STM32U575 or a STM32H563). By doing that, you will have a working project that could be flashed into the mentioned boards, this is what we call a TBS (TouchGFX Board Setup). You can use this TBS to setup your own board (STM32F767) as it would be similar in some ways.

Finally, to learn about STM32 in general, I would recommend you to watch the Digikey Youtube series : Digikey STM32 
and to look at the ST Academy : ST Academy 

 

I hope this helps you, if it does, I invite you to select this comment as "best answer".

 

Regards,

Carsten73Author
Associate II
May 17, 2024

Hi Gaetan,

 

I followed your guidance to use Touchgfx instead and use the starting Point of a existing Example for the LCD Board with STM32U575.

See the image attached. If i go in detail, no example is available. The resolution does not fit and I am not able to choose one to move forward. 

 

Carsten73_0-1715971859805.png

Thanks

Carsten

 

GaetanGodart
Technical Moderator
May 21, 2024

Hello @Carsten73 ,

 

Yes, we don't have examples for 240*320 pixels screen.

You should be able to create a blank UI :

GaetanGodart_0-1716281982730.png

From there you can add elements in Designer.

 

If you really want to see how examples work, you can just select them without selecting a board but instead selecting the simulator.

 

Regards,

Carsten73Author
Associate II
May 17, 2024

Hello Gaetan, 

 

thanks for your response and sorry for add my post to the wrong forum. You are right. I add it to the correct CubeMX place. 

 

I will try to follow your Guidance to TouchGFX. 

 

Thanks 

carsten 

GaetanGodart
Technical Moderator
May 23, 2024

Hello @Carsten73 ,

 

Indeed, the discovery board do not have many pin available. But the MCU they use have plenty of pins and plenty of communication pins, GPIO pins or even converter pins.
Once you move forward with your prototype, you can create a custom PCB to fit your specific needs.

 

Regards,

Carsten73Author
Associate II
May 23, 2024

Thanks. exactly. 

 

But the test and prototype no a GUI and PINs. 

 

Because of that, I bought a simple LCD SPI Display which is very good documented and Howto`s are available. 

 

I hope this way I can achieve success more quickly. 

 

Thanks 

Carsten

 

GaetanGodart
Technical Moderator
May 23, 2024

Sure, not problem. We provide our board + display setup just for easy of use.

Just out of curiosity, may I know what display you went for?

GaetanGodart
Technical Moderator
May 23, 2024

Sure, that would help us if we end up doing a TBS for it (and that would also help me convince the product owner)!