Skip to main content
NJohn.4
Associate
August 17, 2021
Question

Has anybody gotten the X-NUCLEO-GFX01M1 to work with the NUCLEO-401RE?

  • August 17, 2021
  • 3 replies
  • 967 views

I recently purchased the display module wanting to get started with embedded GUI, however I was met with not much support on getting the framebuffer onto the display itself. I was wonder if anybody has this working as the display says it's compatible with my nucleo

https://drive.google.com/file/d/1nI3OA-nO9YDDNtU6NOXLNL5GUQSJR_ms/view?usp=sharing

This topic has been closed for replies.

3 replies

Alexandre RENOUX
Visitor II
August 19, 2021

Hello NJohn.4,

Porting it, should be fairly achievable since almost the entire code of the G0 Board Setup code (found in TouchGFX Designer) can be reused. Simply changing the pins accordingly (if necessary) should be the only thing you need to do (drivers and TouchGFX_HAL are the exact same).

/Alexandre

NJohn.4
NJohn.4Author
Associate
August 19, 2021

So I just need to go into TouchGFX and select the example project, but how would I port it over?

Alexandre RENOUX
Visitor II
August 20, 2021

Hello NJohn.4,

Like any porting ^^

  • Open CubeMX and create a new project for your specific MCU
  • Copy-paste almost everything from the CubeMX config of the G0 Board Setup
  • Change the SPI pins if needed
  • Generate code from CubeMX
  • Open the .touchgfx.part file with TouchGFX Designer
  • Generate code in the Designer
  • Now copy paste the user code from the G0 Board Setup project to your project.
  • Since you modified correctly the pins, it should work like a charm

/Alexandre