OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_diligent_s3board/] [software/] [ta_uart/] [README.txt] - Blame information for rev 196

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 olivier.gi
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.