Opto-Electronics


Upgraded GUIs on STM32 microcontrollers

30 August 2023 Opto-Electronics

TouchGFX is ST’s free-to-use framework that helps create graphical user interfaces on STM32 microcontrollers. Written in C++, the engine takes advantage of optimisations on ST devices.

TouchGFX works under the assumption that interfaces consist of screens users navigate. The framework is intuitive and also extensive, as it handles 2D and 3D objects, videos, animations, and transitions. Additionally, the ability to access the code generated allows for optimisation by experienced engineers. A full set of TouchGFX documentation provides information on the framework’s APIs or available development tools.

TouchGFX Designer is a utility with a WYSIWYG interface where designers create exactly what the users will see and interact with. A startup screen helps choose the demo application, an ST development board, and then configures the project. Hence, running example codes and demos takes minutes, which means creating proofs-of-concept faster. UI elements in TouchGFX Designer often take the form of widgets one adds and configures through the utility’s interface. TouchGFX Simulator is available as part of the package to help developers preview the graphical user interface before uploading it onto a chosen MCU.

TouchGFX has now been upgraded to version 4.22, which sees many new features. Graphical assets take up a lot of memory space and usually reduce the quality of results in a downgrade of the user interface. The bundled L8 compression can now compress a file by up to 75% with no downgrade, thanks to the Chrom-ART accelerator embedded in the STM32 microcontrollers.

For all L8 images, the user has the option to choose between three compression methods: L4, LZW9 (Lempel-Ziv-Welch), and Run Length Encoding (RLE). There is also an auto option that automatically forces the compiler to choose the most optimised compression method based on its new file size and rendering time on the target processor.

Offline mode has also been introduced into the latest version, which enables users to download demos and examples to run thereafter without an internet connection. A more powerful proxy configuration tool is shipped with the new version to satisfy complex coding environments. It is now easier and more practical to use TouchGFX Designer from behind a corporate firewall or on a limited bandwidth connection.

TouchGFX 4.22 is all about the relationship developers have with their UI-building tools. This update puts an emphasis on how users interact with the framework and aids the overall experience.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Capacitors for implantable medical applications
Altron Arrow Passive Components
Vishay has a range of tantalum and multilayer ceramic capacitors (MLCC), manufactured in medical-qualified facilities, for implantable applications.

Read more...
Precision sensor interface SoC
Altron Arrow DSP, Micros & Memory
The MAX40109 is a low-power, precision sensor interface SoC that includes a high-precision, programmable analogue frontend, and digital signal processing.

Read more...
Arduino shield simplifies use of fibre-optic datalink
Opto-Electronics
UK-based company OMC has launched an H19 fibre-optic shield, compatible with Arduino Uno, to demonstrate how an optical fibre datalink can easily be incorporated into a microprocessor-based design.

Read more...
How integrated on/off controllers contribute to energy-efficient system designs
Altron Arrow Editor's Choice Power Electronics / Power Management
The importance of electronic system efficiency has grown more significant, emphasising the need for solutions that promote energy efficienc,y not just during field operation, but also during production.

Read more...
Robbie Venter, former CEO of Altron, passes
Altron Arrow News
It is with sadness that we report on the passing of the former chief executive and board member of South African technology group Altron, Robert (Robbie) Venter.

Read more...
Material promises 100 times higher energy density
Altron Arrow Power Electronics / Power Management
TDK Corporation has successfully developed a material for CeraCharge, a next-generation solid-state battery with an energy density of 1000 Wh/L, approximately 100 times greater than the energy density of TDK’s conventional solid-state battery.

Read more...
Precision voltage reference
Altron Arrow Analogue, Mixed Signal, LSI
The ADR1001 is a fully integrated, ultra-low drift, buried Zener precision voltage reference solution in a single chip.

Read more...
Embedding AI into your next project?
Altron Arrow AI & ML
ST has collated all its AI tools into one resource, the ST Edge AI Suite, and includes free design tools, case studies, and other resources to accelerate AI development into embedded systems.

Read more...
Benefits of a transformer-coupled amplifier
Altron Arrow Editor's Choice Power Electronics / Power Management
The efficiency of a Class A power amplifier is nearly 30%, which is improved to 50% by using a transformer-coupled Class A power amplifier.

Read more...
Five-port SPoE controller
Altron Arrow Power Electronics / Power Management
SPoE simplifies system design and installation with standardised power and Ethernet data over a single-pair cable, and the LTC4296-1 has been designed for interoperability with 802.3cg powered devices.

Read more...