3 it's a simple example project for the MSP430 series MCU and the GCC port
4 of the mspgcc project. the project contains a makefile and uses assembler
5 and C sources. this time it is a software UART with Timer_A.
7 this example shows the following features:
8 - Timer_A uart, full duplex
9 o same pins as BSL (P1.1 TX, P2.2 RX)
10 o it contains a reusable code
13 the watch crystal is used as reference and the main clock
14 is adjusted to 1.536MHz on startup
16 - use uprintf to print formated strings and do a printf
17 emulation that prints to the serial port.
19 - the main loop is a simple line editor. when a return character
20 ('\r', usualy RETURN key) is received, it writes the received
21 characters from the buffer to the serial port.
22 connect a terminal at 9600,N,8,1 to try it out.
26 o include assembler files
27 o convert to intel hex format
28 o generate a listing with mixed C / assembly
33 - a MSP430F1121 or larger device (any from the F1x series)
34 connect pins P1.1 (TX) and P2.2 (RX) through level converters
35 to a terminal. you can also use a BSL hardware, the same pins
38 - watch crystal 32.768kHz
40 - optionaly a LED on P2.5 (470 Ohms series resistor to GND)
44 this example is part of the mspgcc project http://mspgcc.sf.net
45 see license.txt for details.