Design Automation


Guide for designing GUIs, for novices to experts

29 April 2020 Design Automation

The TouchGFX team at STMicroelectronics recently published TouchGFX Documentation, a website that targets developers working on their first embedded graphical user interface (GUI) as well as those with years of experience. It’s the fruits of months of hard work by the entire TouchGFX team to show what makes embedded GUIs unique and spread the same passion for graphics on microcontrollers to its community. The company’s teams are already working on the next version of TouchGFX Documentation and readers can also expect videos to supplement future content.

Embedded GUI developments are complex, the subject matter is arcane and resources are sparse. And yet, we expect to see a significant rise in the number of embedded GUIs in 2020 as customers demand more interactivity and accessibility, which means that companies must either make substantial investments to acquire the talent they need or rely on tools like TouchGFX that demystify embedded GUIs.

The framework plays a unique role in the industry as recently seen during the Arm Design Contest 2019, when out of the seven projects from burgeoning university students that put a GUI forward, six used TouchGFX. TouchGFX 4.13 made things even easier thanks to the new TouchGFX Generator that integrates with STM32CubeMX. Nevertheless, ST’s teams understood there was a need for a much more fundamental level when developing embedded GUIs.

The ‘Getting Started’ section guides readers as they set up their system and TouchGFX Designer offers application templates for any ST development boards geared for graphics uses, which is why it is not advised that readers buy something new if they already have one on hand. However, for those that are new to the subject matter and do not already have a board, the STM32H7B3I-DK is recommended. Its 1,4 MB of RAM is large enough to store a framebuffer, which can make developments more straightforward, and its 4,3” display with a resolution of 480 x 272 is ubiquitous in the industry, thus making it a fantastic starting point.

The ‘Hardware Selection’ and the Development chapter as a whole explores the intricacies of the specification that engineers must consider when choosing their final GUI-related components and peripherals. It even looks at display interfaces, from RGB-TFT to SPI, or MIPI-DSI, among many others, to explain their intricacies and their impact on the final product. It also delves into memory interfaces. Even if this is not in direct relation to the use of the TouchGFX framework itself, it is an essential topic for novices and experts alike. Hardware selection also aims to offer crucial pointers for teams moving from an ST development board to custom hardware.

The documentation explores ‘Board Bring Up’, which consists of initialising the GUI-related aspects of the hardware. STM32CubeMX handles the MCU configuration while the TouchGFX Documentation gives guidelines to help set up external components, like the RAM, the touch controller, or physical buttons. It is crucial because it will serve as the foundation for subsequent operations and applications, which is why this is such a vital part of this process. Engineers can thus save a lot of time and resources if they use an STM32 evaluation kit and an application template for their proof of concept because it handles all the board bring up aspect.

TouchGFX Documentation moves on to TouchGFX abstraction layer (AL) development, which sits on top of the board bring up and offers an abstraction layer to developers to help them code their application faster. Put simply, it sits between the hardware and the TouchGFX engine that drives the user interface. TouchGFX Generator generates most of the AL code and can also guide users in the creation of empty functions that developers can populate later. The application template also takes care of this layer, which further asserts its usefulness when building a proof of concept or when looking for a reference implementation.

The TouchGFX Documentation can read both as a textbook or as the story of a seasoned engineer looking to build an embedded system with graphic capabilities. Anyone currently working from home or looking for educational content during this pandemic can thus follow along or jump to specific sections, and still get tremendous benefits. Its use of templates and existing tools makes it practical.

TouchGFX Documentation can be accessed via the short URL www.dataweek.co.za/*apr20-touchgfx

For more information contact Aveshen Nair, Avnet South Africa, +27 11 319 8600, aveshen.nair@avnet.eu, www.avnet.co.za


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

3 kW TVS diode arrays
30 June 2020, Avnet South Africa , Circuit & System Protection
To ensure critical operations, aviation and space systems rely on digital and logic functionality and circuitry in engine control units, environmental controls, instruments and actuators. Data centres, ...

Read more...
PCIe Gen 4 switches
30 June 2020, Avnet South Africa , Computer/Embedded Technology
To support cloud, data centre and hyperscale computing that facilitates advancements in artificial intelligence (AI) and machine learning (ML), Microchip Technology released to production its Switchtec ...

Read more...
DIN-rail mounting DC-DC converters
30 June 2020, Avnet South Africa , Power Electronics / Power Management
Shortly after unveiling the brand-new DIN-rail mounting DC-DC converter family, the DDR-15/30/60/120/240 series, Mean Well has announced the DDR-480 series (480 W) to enable integration into higher-power ...

Read more...
Wi-Fi and BLE combo module
29 May 2020, Avnet South Africa , Telecoms, Datacoms, Wireless, IoT
Dialog Semiconductor announced the DA16600, a module that combines its advanced Wi-Fi and BLE (Bluetooth Low Energy) capabilities into a single solution. This two-in-one module is comprised of two ...

Read more...
HV MOSFET for ruggedness, smart PWM controller for flexibility
30 June 2020, Avnet South Africa , Power Electronics / Power Management
As the world recently celebrated Earth Day, STMicroelectronics’ blog recently featured one of its many components that help better manage the electricity people consume every day and therefore, decided ...

Read more...
Why ‘new space’ satellites demand a new approach to components
29 May 2020, Avnet South Africa , News
New space is opening up exciting opportunities for businesses, which can create completely new products, services and capabilities that were, until recently, impossible or impractical.

Read more...
The top benefits of MEMS timing
29 May 2020, Avnet South Africa , Analogue, Mixed Signal, LSI
MEMS (micro electromechanical systems), designed to resonate and generate clocks signals, may not dominate the world of timing applications right now, but the technology’s popularity is growing. Competing ...

Read more...
Online Tibbo BASIC code generator
29 May 2020, RF Design , Design Automation
Cody is a template project generator that produces working Tibbo BASIC code from the information provided via a few simple-to-understand configuration screens. This web-based app allows you to quickly ...

Read more...
Microcontrollers for functional safety
29 May 2020, Avnet South Africa , DSP, Micros & Memory
As the Internet of Things (IoT) delivers greater connectivity for industrial and home applications and as connected vehicles enhance cabin and operational features, higher-performance microcontrollers ...

Read more...
Enabling cloud connectivity to all Microchip MCUs and MPUs
25 March 2020, Avnet South Africa , DSP, Micros & Memory
Due to the fragmented nature of the Internet of Things (IoT) marketplace, increasing project complexity and costs, today’s developers face more challenges in design decisions than ever before. These challenges ...

Read more...