whats this?
-----------
its a simple example project for the MSP430 series MCU and the GCC port
of the mspgcc project. the project contains a makefile and uses assembler
and C sources. it shows a clock on an character LCD.
this example shows the following features:
- how to use a character LCD.
o download font with custom characters
o it contains a reusable LCD C-module
- how to use (wakeup) interrupts in C
o sync foreground with interrupt by using the lowpower modes
- use uprintf to print formated strings and do a printf
emulation that prints to the LCD.
- using the Timer_A as realtime clock
- makefile
o compile and link
o convert to intel hex format
o generate a listing with mixed C / assembly
required hardware
-----------------
- a MSP430F1121 or larger device (any from the F1x series)
- any character type display with a HD44780 controler or compatible
(e.g. a KS0066 16x2 type was used for developement)
connections for a four bit interface (LCD->MSP):
RS -> P1.1
R/W -> P1.2
E -> P1.3
D4 -> P1.4
D5 -> P1.5
D6 -> P1.6
D7 -> P1.7
many LCD controllers run from 3 volts, but the display requires a
voltage difference of more than 3 volts for the contrast. this means
a negative voltage is needed on the contrast pin (usualy named VEE or
VO)
- watch crystal 32.768kHz
- optionaly a LED on P2.5 (470 Ohms series resistor to GND)
disclaimer
----------
this example is part of the mspgcc project http://mspgcc.sf.net
see license.txt for details.
chris