Interfacing an LCD to the MC9S08LC60, Rev. 0
MC9S08LC60 Introduction
Freescale Semiconductor
2
Figure 1. MC9S08LC60 Block Diagram
This application note introduces the MC9S08LC60 and details a procedure for interfacing a LCD glass to
the MC9S08LC60 from a hardware and software perspective. Using the DEMO9S08LC60 EVB hardware,
the relationship between the LCD glass segments and the individual bits in the MC9S08LC60 LCDRAM
registers is demonstrated. The demo validates that the LCD glass was properly interfaced to the
MC9S08LC60.
Sample software to illustrate a basic application that uses a LCD is included in this document. The
document contains both an overview of the demo software and a quickstart for the demo. All code for the
demo is provided in the file
AN3280SW1.zip
, which can be found on the Freescale web page
(
freescale.com
).
1.1
Type of LCD Glass Compatible with MC9S08LC60
Two common LCD types are TN (twisted nematics) and STN (super twisted nematics). TN-type LCD
glass is very cost-effective and is compatible with multiplexing LCD drivers using fewer than 16
backplanes. The multiplexing LCD driver uses multiple backplanes to reduce the number of connections
between the LCD and the LCD driver. Using multiplexing, each frontplane pin can be connected to as
many segments as there are backplanes. With up to four backplanes and running in 1/3 bias mode, the
MC9S08LC60 is compatible with TN-type LCD glass.
9S08 CPU
Dual Flash
Arrays
RAM
RTI
Internal
Clock
Generator
BDM
KBI
12-Bit ADC
SCI
(2) SPI
I
2
C
(2) 16-Bit
Timers
LCD Driver
4/3 BP)
80/64 Pin Package
(40/41 FP x