herunterladen

Freescale Semiconductor
Application Note
Document Number: AN4452
Rev. 0, 1/2012
Contents
© Freescale Semiconductor, Inc., 2012. All rights reserved.
This application note describes how to use the
TWR-LCD board to display eGUI or other graphic user
interfaces. This document covers all Freescale ColdFire
and Kinetis 32-bit MCU and MPU tower cards that have
Flexbus or SPI interfaces.
1 Introduction
Freescale continues to introduce new 32-bit parts, each
of them with Flexbus or mini-Flexbus and
SPI/QSPI/DSPI interfaces that can be used to connect
with the Freescale TWR-LCD board. This document
describes how to use these new tower boards to display
eGUI or other GUI (microWindows) working with the
TWR-LCD board. The following contents show the
hardware connections from the MCU board to the
TWR-LCD board and the eGUI software package that
drives the LCD module, including the baremetal eGUI
version and eGUI running with MQX
™
. It covers most
existing ColdFire V1, V2, and V4 MCU/MPU tower
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Hardware interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.1 TWR-LCD board . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2 Flexbus/mini-Flexbus interface for LCD display . . . 4
2.3 SPI for LCD display . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Touch screen interface . . . . . . . . . . . . . . . . . . . . . . 9
3 Display eGUI on TWR-LCD board. . . . . . . . . . . . . . . . . 11
3.1 CW10.1 and IAR project . . . . . . . . . . . . . . . . . . . . 12
3.2 eGUI configurations. . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 Baremetal project . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.4 MQX project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.5 Screen shots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4 Display microWindows with TWR-MCF5441X . . . . . . . 20
5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Display (eGUI) using TWR-LCD
Working with the Freescale Tower System
by: Ju Yingyi
Application Engineer, AISG