STM32 Graphical User Interface
The STM32 family provides a comprehensive offer for Graphical User Interfaces (GUI), which enables developers to easily add a smartphone-like GUI to embedded devices, accelerating the "HMI of things" revolution.
You can now deliver a superior user experience while taking the full advantage of STM32 microcontrollers in terms of real time determinism, lower software complexity, faster boot time and longer battery life.
The STM32 Graphical User interface offer is structured around the following pillars:
- Industry’s broadest advanced graphics-enabled MCU offer
- State-of-the-art graphical development tools available for free
- Support and documentation center
- Reference designs and selected design partners
TouchGFX is an advanced GUI tool offering everything you need to create cutting-edge GUIs:
TouchGFX enables smartphone animations and features like:
- 3D effects
- Video playback
- Touch gestures
- Anti-aliased fonts
- Low CPU load and optimum use of STM32 graphic hardware accelerations
- Optimized library footprints starting from 20 KB Flash and 10KB RAM requirements
- Partial frame buffering feature minimizing graphic buffer sizes and enabling graphic UI support from lowest cost STM32 options
- TouchGFX supports many languages, such as English, Chinese, Japanese, Thai, Arabic, and more.
- Left-to-right and right-to-left writing systems from the unicode basic multilingual plane are supported.
- For large fonts the application can load and install fonts at runtime.
- Runs on bare metal or choose any OS
- Runs on Cortex-M0+, M3, M4, M33 and M7 based STM32 MCUs
- Supports Keil, IAR and STM32CubeIDE
- TouchGFX enables unique GUIs with the ability to combine TouchGFX Designer generated code with user code.
- GUI written in C++.
- Create high performance and easy mantainable code on multiple platforms. The Model-View-Presenter pattern gives way for easy interfacing with other C/C++ application components.
- Create your own software elements with existing widgets.
- Design your own widgets.
- Run applications with 1, 2, 4, 6/8, 16, 24, or 32 bits per pixel color depth.
- Multiple framebuffer setups: partial, single, and double.
- Framebuffer placement Internal and/or external memory.
TouchGFX is a free GUI tool and an integreted part of the STM32 ecosystem, delivered as a X-CUBE-TOUCHGFX package which includes:
Configure and generate a TouchGFX project in CubeMX
Optimized and hardware accelerated graphic library
A drag-and-drop GUI builder
|X-CUBE-TOUCHGFX||ST||TouchGFX advanced and free of charge graphic framework optimized for STM32 microcontrollers|
STemWin is a simple graphics software framework optimized for STM32 microcontrollers.
STemWin is based on graphics library from SEGGER Microcontroller GmbH and is available in binary form, free of charge on STM32 MCUs.
This library is a professional graphics stack library, enabling the building up of Graphical User Interfaces (GUIs) with any STM32, any LCD/TFT display and any LCD/TFT controller, taking advantage of STM32 hardware accelerations whenever possible.
STemWin Library is a comprehensive solution coming with a rich feature set such as JPG, GIF and PNG decoding, many widgets (checkboxes, buttons…) and a VNC server allowing remote display of a local display, as well as professional development tools such as GUIBuilder to create GUIs with simple drag and drop.
STemWin is distributed as part of STM32Cube software packages or in a standalone standard library-based version.
|STemWin||ST||Professional graphical stack library enabling the building up of Graphical User Interfaces (GUIs) (AN4323)|
HW Tools & Reference Designs
A choice of evaluation hardware tools and software examples and demos are made available with the STM32 graphical offer
Each evaluation hardware tool comes with a flashed demonstration and the code of each demo is made available in the associated STM32Cube software packages.
The TouchGFX designer also comes with a large list of application templates that you can use on a choice of STM32 evaluation hardware tools.
|Board name||STM32 MCU||Display resolution|
|32L4R9IDISCOVERY||STM32L4R9||390x390 round display|
|STM32L4R9I-EVAL||STM32L4R9||390x390 round display, WQVGA (272x480)|
|X-NUCLEO-GFX01M1||Extension to different STM32 Nucleo boards||QVGA (320x240)|
Most STM32 microcontrollers can interface with parallel displays and support simple graphical user interface add-ons.
To enable superior user experiences, the STM32 family offers the industry’s broadest advanced graphics-enabled MCU portfolio with over 190 active part numbers, supporting different display interfaces and package options.
The STM32 advanced graphics-enabled MCUs embed different graphics features that allow developers to achieve the desired graphics performance and optimization trade-offs required for embedded devices:
- The Chrom-ART Accelerator™ offers memory efficient 2D graphics acceleration and enables fluid transition and transparency effects while offloading the main CPU resources
- The JPEG codec enables MJPEG video additions for branding and tutorials
- The Chrom-GRC™ offers 20% memory optimization when using a round display
- Support for large display interfaces with parallel interfaces, LCD-TFT, and MIPI-DSI embedded controllers
To help you identify the most suitable STM32 advanced graphics-enabled microcontroller for your needs, the STM32CubeMX tool offers a graphics selector and simulator features.
The graphics selector lists the recommended STM32 part numbers for a given display resolution, color depth and target interfaces. It also provides an estimation of the performance that can be achieved with each recommended part number. The graphics simulator supports tuning of the graphics architecture to be used by providing performance indications for different memory configurations.
|STM32L4 (CM4)||80 MHz||Chrom-ART™|
|STM32L4+ (CM4)||120 MHz||Chrom-ART™
|STM32F4 (CM4)||180 MHz||Chrom-ART™|
|STM32F7 (CM7)||216 MHz||Chrom-ART™
|STM32H7 (CM7)||480 MHz||Chrom-ART™
To assist you in your development, different articles and application notes are made available. In addition to ST online support channel, a graphic dedicated forum area is also made available. Periodic webinars are also organized to help you getting more familiar with our offer.
Our dedicated and highly skilled TouchGFX Implementers help turn your ideas into market leading products. Their innovative approach as well as extensive knowledge about TouchGFX and STM32 microcontrollers make them your ideal sparring partner for your next embedded product. Find your implementer and go from idea to end-product fast and easy.