]> rtime.felk.cvut.cz Git - fpga/virtex2/uart.git/blob - software/README.txt
Copied all needed files.
[fpga/virtex2/uart.git] / software / README.txt
1 what's this?
2 ------------
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.
6
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
11
12  - software FLL
13    the watch crystal is used as reference and the main clock
14    is adjusted to 1.536MHz on startup
15
16  - use uprintf to print formated strings and do a printf
17    emulation that prints to the serial port.
18
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.
23
24  - makefile
25     o compile and link
26     o include assembler files
27     o convert to intel hex format
28     o generate a listing with mixed C / assembly
29
30 required hardware
31 -----------------
32
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
36    are used.
37  
38  - watch crystal 32.768kHz
39  
40  - optionaly a LED on P2.5  (470 Ohms series resistor to GND)
41
42 disclaimer
43 ----------
44 this example is part of the mspgcc project http://mspgcc.sf.net
45 see license.txt for details.
46
47 chris