Skip to main content
MilanPIDRMAN
ST Employee
July 20, 2026

Create and debug a TouchGFX application with a secure and nonsecure project setup

  • July 20, 2026
  • 1 reply
  • 31 views

Summary

This brief article provides a link to GitHub repository where you will find a guide on the process of creating a TouchGFX application. The setup used is STM32CubeMX with a STM32H5 device with TrustZone® (TZ) activated, with a secure and nonsecure project structure.

The full guide including a working project for STM32H573I-DK is in the stm32-hotspot GitHub account. Click the link below to access the repository:

 https://github.com/stm32-hotspot/TouchGFX_with_TrustZone

Prerequisites

Content

  • Configure the option bytes
  • Create a new project using STM32CubeMX
  • Open the project in the STM32CubeIDE and set up debug
  • Add TouchGFX software package X-CUBE-TOUCHGFX
  • Generate TouchGFX project in the TouchGFXDesigner
  • GPIOs settings
  • Adjust available heap and stack size
  • MPCWM settings in GTZC (Global TZ Controller)
  • GPDMA settings
  • Add needed source code

1 reply

Visitor II
July 20, 2026

Thxxxxxxx