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:

Touchscreen interfaces for industrial applications
Rugged Interconnect Technologies Opto-Electronics
Being protected from water and dust ingress, scratches, abrasions, and metallic dust makes them suitable for installation into harsh environments.

Read more...
Development board supports Arduino and ST Morpho
Altron Arrow DSP, Micros & Memory
The Arduino UNO V3 connectivity support and the ST Morpho headers allow the easy expansion of the functionality of the STM32 Nucleo open development platform with a wide choice of specialised shields.

Read more...
140 W USB-C PD reference design
Altron Arrow Electronics Technology
The design has a wide input range of 90 to 264 V AC, 50-60 Hz, and supports an output voltage range of 5 to 28 V (USB-PD 3.1 specification).

Read more...
RF agile transceiver
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The AD9361S-CSL from Analog Devices is a high performance, highly integrated, RF agile transceiver designed for use in 3G and 4G applications operating up to 6 GHz.

Read more...
Industrial on-line UPS improves lead time
Altron Arrow Power Electronics / Power Management
Emerson’s S4KD is an on-line (double conversion) UPS, providing a zero-transfer time from external to internal power during utility power failure, to deliver a seamless flow of power for critical loads.

Read more...
Designing a smart wireless industrial sensor
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
This article provides an overview of wireless standards and assesses the suitability of Bluetooth LE, SmartMesh (6LoWPAN over IEEE 802.15.4e), and Thread/Zigbee (6LoWPAN over IEEE 802.15.4) for use in industrial harsh RF environments.

Read more...
Altron Arrow joins forces with Identiv
Altron Arrow News
The strategic collaboration with Altron Arrow expands Identiv’s reach in the southern African market.

Read more...
Bluetooth Channel Sounding provides sub-metre accuracy
Altron Arrow News
Bluetooth Channel Sounding is a new protocol stack designed to enable secure and precise distance measurement between two Bluetooth LE connected devices.

Read more...
Digital signal controller evolution
Altron Arrow DSP, Micros & Memory
Built around a 32-bit CPU architecture with a 200 MHz operating speed, the dsPIC33A family’s advanced core includes a Double-Precision Floating-Point Unit and DSP instructions for numerically intensive tasks in many closed-loop control algorithms.

Read more...
100 V half-bridge GaN driver
Altron Arrow Power Electronics / Power Management
The LT8418 from Analog Devices is a 100 V half-bridge GaN driver that integrates top and bottom driver stages, driver logic control, and protections.

Read more...