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:

Reference board for cardio monitoring
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The STDES-ESP01 reference board from STMicroelectronics demonstrates the capability of the ST1VAFE6AX and ST1VAFE3BX biosensors to detect ECG and SCG signals.

Read more...
ST MCUs extend ultra-low power innovation
Altron Arrow DSP, Micros & Memory
STMicroelectronics has introduced new STM32U3 microcontrollers with cutting-edge power-saving innovations that ease deployment of smart connected tech, especially in remote locations.

Read more...
Multicell battery monitoring
Altron Arrow Power Electronics / Power Management
The LTC6811 from Analog Devices is a multicell battery stack monitor that measures up to 12 series connected battery cells with a total measurement error of less than 1,2 mV.

Read more...
Innovative satellite navigation receiver
Altron Arrow Telecoms, Datacoms, Wireless, IoT
STMicroelectronics has released an innovative satellite navigation receiver to democratise precise positioning for automotive and industrial applications.

Read more...
Easy Nixie tube display
Dizzy Enterprises Opto-Electronics
MIKROE has launched Nixie Power Click, a booster Click board designed to provide high voltage for powering Nixie Tube (cold cathode display) shields.

Read more...
LED driver for industrial power supply indication
Altron Arrow Editor's Choice Circuit & System Protection
A simple and small solution for driving an LED to provide visual feedback in the presence/absence of a system’s power using a chip not originally designed for this purpose.

Read more...
High-voltage step-down DC-DC converter
Altron Arrow Power Electronics / Power Management
The MAX17793 is a high-efficiency, high-voltage, synchronous step-down DC-DC converter with integrated MOSFETs operating over an input voltage range of 3 to 80 V.

Read more...
High-speed SAR ADC simplifies design
Altron Arrow Analogue, Mixed Signal, LSI
The ADI AD4080 simplifies data converter integration by integrating a low drift reference buffer, low dropout regulators and a 16K result data FIFO buffer.

Read more...
Arduino platform with Analog Devices technology for flexible industrial control
Altron Arrow Editor's Choice DSP, Micros & Memory
Software-configurable systems enable industrial OEMs to deliver unprecedented flexibility to the factory floor, while simplifying product complexity.

Read more...
Ultra-low power Bluetooth connectivity
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Silicon Labs’ delivers robust security and processing for common Bluetooth devices, while BG24L supports advanced AI/ML acceleration and Channel Sounding.

Read more...