cancel
Showing results for 
Search instead for 
Did you mean: 

examples for X-NUCLEO-GFX01M1

dsamm
Associate III

we've just purchased a couple of  X-NUCLEO-GFX01M1 kits and want to test them with different nucleo boards.

The X-NUCLEO board should be compatible with the following: NUCLEO-F030R8, NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F401RE, NUCLEO-F410RB, NUCLEO-F411RE, NUCLEO-F446RE, NUCLEO-G071RB, NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L412RB-P, NUCLEO-L433RC-P, NUCLEO-L452RE, NUCLEO-L452RE-P and NUCLEO-L476RG.

what is the best (and quickest) way to evaluate/test the display with L4 and F4 boards?

From TouchGFX Designer there is only one choice of template available working with the STM32G0 MCUs

-DS

6 REPLIES 6
RHern
Associate II

I'm in the same situation. Also, I can't find the manual for the card (UM2750). When will it be ready?

Cino
Associate II

That's the same for me! I'm interesting to develop something with STM32 other than the "default one" they provide as a starting demo

It seems no one is taking care of that. Maybe on YouTube we can find something?

Regards

AIM65
Associate III

Touch gfx from v4.15 as a template for the xnucleo gfx board.

But where are the three demo highlighted by the teaser video :?https://youtu.be/4DSb1-yuf2c

this demo Is very impressive for a SPI screen.

thx

Cino
Associate II

Yes, I know the video in the link you post. impressive!

The point is that I'm dealing with touchgfx by starting from a template (in my case for the STM32F746-Discovery).

Even if I'm using a template, I spent some days on YouTube to find the "adjstument" needed for running the board with proper operation of the touch screen (why that ?? Why it doesnt work buy itself without "manual" adjustment?)

But I don't want to go OT with the '746

Yes there is the template for the XNUCLEO GFX expansion board, but it refers to coupling the expansion with the STM32G071-NUCLEO or in other words the template is for the '32G017 cpu.

Is it easy to migrate form the STM32G0 to another member of the STM32 family?

I've no idea, since I never try a project starting from scratch.

Regards

Enzo

AIM65
Associate III

Hi Enzo,

Unfortunately I’ve no experience with Touch GFX. I’ve planned to acquire some and for this purpose I’ve build kind of STM32G071-NUCLEO and XNUCLEO GFX clone in order to start with a working environment and port it to other custom board with various CPU and SPI screen. That’s part of end of year vacation planning !.

To answer your question, yes it’s no so difficult to port a CubeMX HAL based software between STM32 families. Generate a project for G071- Xnucleo GFX with Touch GFX, this will be your source then generate with CubeMX a target project for your 32F746-Discovery with the same configuration (ports, names, peripheral) than the source one : open the .ioc file in source project and clone the configuration in the target, don’t forget to add ‘touchGFX’ Software pack and also ’XCUBE display extension board’ software pack. Generate the code a start porting ...

If you already made some YouTube search you should know those :

The configuration of the G071 board that should be replicated of the F746 is (this is a cubeMX report) :

Configuration   STM32G071_NUCLEO

STM32CubeMX 6.1.1

Date     12/28/2020

MCU     STM32G071RBTx

PERIPHERALS    MODES FUNCTIONS       PINS

SPI1      Transmit Only Master    SPI1_MOSI         PA7

SPI1      Transmit Only Master    SPI1_SCK            PA5

SPI2      Full-Duplex Master         SPI2_MISO         PC2

SPI2      Full-Duplex Master         SPI2_MOSI         PC3

SPI2      Full-Duplex Master         SPI2_SCK            PB13

Pin Nb  PINs      FUNCTIONs       LABELs

15         PC2       SPI2_MISO         

16         PC3       SPI2_MOSI         

17         PA0       GPIO_EXTI0       

18         PA1       GPIO_Output    DISPLAY_RESET

22         PA5       SPI1_SCK            

24         PA7       SPI1_MOSI         

33         PB13     SPI2_SCK            

              

48         PC8       GPIO_Input        BUTTON_CENTER

49         PC9       GPIO_Input        BUTTON_LEFT

57         PB3       GPIO_Output    DISPLAY_DCX

59         PB5       GPIO_Output    DISPLAY_CSX

63         PB9       GPIO_Output    FLASH_CS

64         PC10     GPIO_Input        BUTTON_DOWN

PERIPHERALS    MODES FUNCTIONS       PINS

SPI1      Transmit Only Master    SPI1_MOSI         PA7

SPI1      Transmit Only Master    SPI1_SCK            PA5

SPI2      Full-Duplex Master         SPI2_MISO         PC2

SPI2      Full-Duplex Master         SPI2_MOSI         PC3

SPI2      Full-Duplex Master         SPI2_SCK            PB13

Pin Nb  PINs      FUNCTIONs       LABELs

1            PC11     GPIO_Input        BUTTON_RIGHT

2            PC12     GPIO_Input        BUTTON_UP

3            PC13     GPIO_Input        BUTTON_USER

15         PC2       SPI2_MISO         

16         PC3       SPI2_MOSI         

17         PA0       GPIO_EXTI0       

18         PA1       GPIO_Output    DISPLAY_RESET

22         PA5       SPI1_SCK            

24         PA7       SPI1_MOSI         

33         PB13     SPI2_SCK            

48         PC8       GPIO_Input        BUTTON_CENTER

49         PC9       GPIO_Input        BUTTON_LEFT

57         PB3       GPIO_Output    DISPLAY_DCX

59         PB5       GPIO_Output    DISPLAY_CSX

63         PB9       GPIO_Output    FLASH_CS

64         PC10     GPIO_Input        BUTTON_DOWN

Rgds

Chris

Cino
Associate II

Dear Chris,

Thanks for you reply and Happy New Year!

I appreciated a lot your suggestions. I will try to put them in practice soon.

I'm still engaged in another project.

Keep in touch!

Regards

Enzo