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:

STM releases innovative GNSS receiver
Altron Arrow Telecoms, Datacoms, Wireless, IoT
STMicroelectronics recently introduced the Teseo VI family of global navigation satellite system receivers aimed at high-volume precise positioning use cases.

Read more...
Integrated STM32WBA6 wireless microcontrollers
Altron Arrow DSP, Micros & Memory
Cost-efficient and highly integrated embedded controllers for emerging 2,4 GHz wireless applications in smart home, health, factory, and agriculture.

Read more...
Ultra-low-power MCU with FPU Arm Cortex-M33
Altron Arrow DSP, Micros & Memory
STMicroelectronics has expanded its STM32 ultra-low-power family with the launch of the STM32U3 for cost-sensitive applications in industrial, medical, and consumer electronics devices.

Read more...
Compact and powerful Bluetooth module
Altron Arrow Telecoms, Datacoms, Wireless, IoT
u-blox has introduced its ANNA-B5, a compact, powerful and secure Bluetooth LE module optimised for IoT applications.

Read more...
Altron Arrow: Empowering innovation with STMicroelectronics AI processors
Altron Arrow Editor's Choice AI & ML
ST’s AI processors are not only smarter and faster, but also incredibly efficient, enabling a new wave of intelligent solutions across multiple industries.

Read more...
Precision JFET op-amp
Altron Arrow Analogue, Mixed Signal, LSI
The specifications of the ADA4620 make it optimal as a front-end amplifier in a data-acquisition system, or for a TIA circuit with high input impedance.

Read more...
Eval board for MEMS sensors
Altron Arrow DSP, Micros & Memory
ST’s STEVAL-MKI109D is an evaluation platform that allows engineers to monitor the behaviour of ST MEMS sensors and maximise the performance of new product designs, accelerating time to market.

Read more...
High reliability memories
Altron Arrow DSP, Micros & Memory
Infineon’s mil-temp memories offer a wide selection of volatile and non-volatile memories for applications that meet QML-Q certifications and offer support for mil-aero applications.

Read more...
Altron celebrates 60th birthday with a call to rebuild Johannesburg
Altron Arrow News
Altron is celebrating its 60th birthday by honouring Johannesburg’s heritage and encouraging business, government and civil society to come together and respond to our President’s call to rebuild Johannesburg.

Read more...
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...