Nucleo development board GUI development process~

STM32G07x Nucleo + X-Nucleo-GFX01M1 is the latest low-cost solution kit based on STM32G0 + TouchGFX. Users can easily prototype design based on this development board, or learn TouchGFX related controls and model architecture.

For hardware design related to this development board, the driver can refer to the following link:

https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/stm32-nucleo-expansion-boards/x-nucleo-gfx01m1.html

The TouchGFX development process based on this DEMO has been introduced in the TouchGFX Documentation:

https://support.touchgfx.com/docs/development/scenarios/touchgfx-on-lowcost-hardware

In order to let users get started faster, here is a brief description of step by step. I hope that users can quickly develop and debug corresponding prototypes based on this DEMO after getting this DEMO!

STEP 1

Open TouchGFX 4.15.0, select the corresponding application template and UI Template, here select Blank UI, and then click

STEP 2

Make the corresponding configuration first:

Display interface, you can easily switch between horizontal and vertical screens according to actual needs!

Due to performance limitations, STM32G0 does not support Texture mapper related and corresponding controls, so you cannot check it here! Similarly, some corresponding controls are not supported!

STEP 3

After the configuration is complete, you can enter the designer interface, you can carry out the corresponding design, and add the corresponding controls!

STEP 4

After the corresponding design is completed, you can click:

Then based on the preferred project, add code to implement the corresponding function, and finally click directly:

Your design will be displayed on the LCD screen of the DEMO board!

Note

1. About Flash Loader

Flash loader is used to erase and program external SPI flash. Flash loader based on this demo is integrated in the following directory:

If it is Run Target directly in TouchGFX designer, it will run automatically, and burn the corresponding pictures, controls and other resources into the external SPI flash through the flash loader!

If you are using IAR or KEIL, and use the STM32Cube programmer for programming, please copy the *.stldr file to the corresponding directory of the STM32Cube programmer:

Then make the corresponding configuration, you can use the STM32Cube programmer to burn!

2. Keys for interaction

The blue physical button consists of 5 GPIOs

Code examples related to interaction in TouchGFX, such as detecting '6'-right click, then switch to Screen2 interface:

Conclusion

Using the STM32G07x Nucleo + X-Nucleo-GFX01M1 kit can be very convenient for prototyping. TouchGFX designer provides examples of all controls and corresponding DEMO examples, and DEMO examples will be added one after another, such as thermostats based on STM32G07x , Smart switches, etc., related news, design references, courses, please continue to pay attention to the GUI ecosystem of the Chinese official website:

https://www.stmcu.com.cn/ecosystem/app/function-GUI

1. The domestically-made alternatives are intangible? Come back to the Zhaoyi Innovation Live Class!

2. Can the open source RISC-V be the antidote to China's "core shortage"?

3. Raspberry Pi Pico: MCU for only $4

4. There are many reasons why MCU supports AI function~

5. In 2020, 20 software engineering principles I learned~

6. The application of state machine ideas in embedded development~

Disclaimer: This article is reproduced online, and the copyright belongs to the original author. If you are involved in copyright issues, please contact us, we will confirm the copyright based on the copyright certification materials you provide and pay the author's remuneration or delete the content.

Guess you like

Origin blog.csdn.net/DP29syM41zyGndVF/article/details/113409421