This is 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.
Features:
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)
This example is part of the mspgcc project http://mspgcc.sf.net. See license.txt for details.
chris