NOTICE: This website will be shut down in the near future. Product content has moved to nxp.com. Forum content and FAQs have been moved to community.nxp.com. We encourage you to create a user account on nxp.com to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.

 

TouchGFX Graphic Library on LPC Microcontrollers

NXP_Support's picture

  

TouchGFX is a highly efficient framework written in C++ that offers creation of outstanding graphics and smooth animations with minimal resource and power consumption on cost-effective hardware.

Today’s users want touch products with a smartphone look and feel, but they will not pay smartphone-like prices. TouchGFX breaks existing restraints and enables creation of high-end graphics that fully live up to today’s smartphone standards with a low cost per unit and a long battery life. 

  • Transparency

  • Animations
  • Texture Mapping

  • Screen Transitions
  • Anti-aliased Fonts and Kerning

  • High-Resolution Displays
  • Touch Gestures
  • High Frame Rate
  • Alpha blending

 

 

TouchGFX also contains cutting-edge rendering techniques that rival those found in the smartphone segment, but are specialized for microcontroller hardware. 

Resources:

Target Platforms and Resource Requirements

TouchGFX can run on many hardware platforms. By combining the framework with NXP microcontrollers, you can create high-end graphics and smooth transitions that fully live up to today’s smartphone standards with a low cost per unit and a long battery life. 

Supported LPC MCUs are:

  • LPC1788
  • LPC1853
  • LPC1857
  • LPC4088
  • LPC4350
  • LPC4353
  • LPC4357

Memory Footprint 

  • Internal RAM: 10-35 KB (framework, stack, widgets).
  • Internal ROM: 20 KB (framework) + 1 –40 KB (screen definitions, UI logic).
  • External RAM: 150 KB -2 MB (framebuffers).
  • External Flash: 1-8 MB (graphics data, fonts, text strings).

Required Hardware

  • Flash (external) for graphics.
  • MCU(Cortex M0, M3, M4 and the like).
  • RAM(external) for framebuffer(s).
TouchGFX offers a PC Simulator for prototyping and debugging, which runs on TouchGFX evaluation board and supported hardware.
The framework comes in a fully functional evaluation version. This version is free of charge and offers easy and fast development of a proof of concept on both the PC-simulator, supported developer boards, and your target hardware. Get started by downloading the evaluation version here.

For using TouchGFX on your custom hardware, expect a small porting effort to tailor the HAL specific code optimally for your platform.

Examples

4.666665
Your rating: None Average: 4.7 (3 votes)
feedback