Example Application Using the DEMO9S08LC60
Interfacing an LCD to the MC9S08LC60, Rev. 0
Freescale Semiconductor
17
All the software for the basic demo is provided as a companion to this application note and can be
downloaded from the Freescale web site. The file name is AN3280SW1.zip. Use the software at your own
risk. The software is provided “as-is,” with no warranties, guarantees, or support.
NOTE
Out of box, the DEMO9S08LC60 comes preprogrammed with an LCD
demo. This preprogrammed demo application is provided by SofTech
Microsystems and it is operational when the DEMO9S08LC60 is powered.
The SofTech Microsystems demo and the demo described in this
application note, though having similar functions, have slightly different
source code implementations. The SofTech Microsystems demo source
code is provided on a CD in the DEMO9S08LC60 kit.
4.1
DEMO9S08LCD60 Overview and Configuration
) is a full-featured customer evaluation PCB with a built-in
USB-to-BDM programmer. Besides providing a programming interface, the USB cable can also be used
to power the device.
The DEMO9S08LC60 has the following user interface elements:
•
LEDs
•
Buttons
•
Potentiometer
•
Serial port
•
Photo cell
•
Temp sensor
•
Speaker
•
3-Axis accelerometer
For this demo, the DEMO9S08LC60 must be configured with the jumper positions given in
Table 8. DEMO9S08LC60 Configuration for Example Application
Jumper(s)
Setting
LED EN
all ON
IO1 ENA
all ON
IO2 ENA
all ON
PTA7 SEL
LED
CLK ENA
all ON
POWER SEL
USB
g-Sel1
don’t care
g-Sel1
don’t care
g-Sleep Mode
don’t care