STM32 Graphical User Interface

Overview
Software
HW & Reference Designs
Key Products
Resources
 

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

Software

TOUCHGFX GRAPHICS SOFTWARE

TouchGFX is an advanced GUI tool offering everything you need to create cutting-edge GUIs:

SMARTPHONE FEATURES

TouchGFX enables smartphone animations and features like swipe, scroll, 3D effects, video playback, transparency, alpha-blending, touch gestures, and anti-aliased fonts and kerning.

MINIMUM RESOURCES
  • 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
INTERNATIONALIZED AND LOCALIZED APPLICATIONS
  • 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.
HIGH SCALABILITY
  • 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
GENERATED CODE & USER CODE
  • 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.
CONFIGURABLE FRAMEBUFFER(S)
  • 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

Software Development Tools

STEMWIN GRAPHICS SOFTWARE

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.

MCUS EMBEDDED SOFTWARE

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.

Key Products

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.


STM32 SERIES

FREQUENCY

HARDWARE ACCELERATION

DISPLAY INTERFACES

SUPPORTED RESOLUTIONS

STM32G0 (CM0+) 64MHz SPI Up to 320*240
STM32L4 (CM4) 80 MHz Chrom-ART™ Parallel SPI Up to 480*272
STM32L4+ (CM4) 120 MHz Chrom-ART™
Chrom-GRC™
Parallel
LCD TFT
MIPI-DSI
Up to 450*450
STM32F4 (CM4) 180 MHz Chrom-ART™ Parallel
LCD TFT
MIPI-DSI
Up to 800*480
STM32F7 (CM7) 216 MHz Chrom-ART™
MJPEG
Parallel
LCD TFT
MIPI-DSI
Up to 1024*768
STM32H7 (CM7) 480 MHz Chrom-ART™
MJPEG
Parallel
LCD TFT
MIPI-DSI
Up to 1024*768

Resources

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.

00 Files selected for download
  Description Version Size Action
AN5051
Graphic memory optimization with STM32 Chrom-GRC™
1.0
736 KB
PDF
AN4996
Hardware JPEG codec peripheral in STM32F76/77xxx and STM32H7x3 line microcontrollers
1.0
721 KB
PDF
AN4860
DSI Host on STM32F469/479, STM32F7x8/x9 and STM32L4R9/S9 MCUs
2.0
13 MB
PDF
AN4323
Getting started with STemWin Library
5.0
1 MB
PDF
TouchGFX Brochure 1.0
4.7 MB
PDF
AN5051

Graphic memory optimization with STM32 Chrom-GRC™

AN4996

Hardware JPEG codec peripheral in STM32F76/77xxx and STM32H7x3 line microcontrollers

AN4860

DSI Host on STM32F469/479, STM32F7x8/x9 and STM32L4R9/S9 MCUs

AN4323

Getting started with STemWin Library

TouchGFX Brochure

TOUCHGFX IMPLEMENTERS

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.