Page 1 of 1

serial communication-msp430f2101

Posted: Thu Feb 19, 2009 4:34 am
by naz
i need both hardware and software connection,

i'm using msp430f2101 microcontroller,it doesn't have USART and TXD,RXD line,instead of this we have to use port pins, it has 2 port pins it 16 I/O. any one know how to communication with this port pins?, my intention is we have to receive the gps data from gps modul and is fed to msp430f2101 then it fed to terminal.
if any one know about that pl reply back. i need both hardware and example code.

by
naz

Posted: Thu Feb 19, 2009 5:40 pm
by gm
TI has documentation and code that uses TimerA to generate the proper bit timing.

HTH,

gm

Posted: Thu Feb 19, 2009 9:17 pm
by naz
hello GM,

could u please send me the corresponding link?

by
naz

Posted: Thu Feb 19, 2009 10:46 pm
by naz
hello GM,

i saw ur's link ,it's fully based on assembly,i want a code in C.thank you GM

by
naz

Posted: Fri Feb 20, 2009 8:03 am
by Mark_
Do you mean you want code that can be used in a project using C code? Or do you mean you want the actual functions written in C instead of assembly?


They're based in assembly but you can use them with C code. It's based in assembly so that the code is optimized/faster. The documentation defines the different functions and variables you have access to if you make use of it.

--Mark

Posted: Sun Feb 22, 2009 8:25 am
by OldCow
c code is also compiled into assembly code. Do you want a c compiler that compiles c code into c code?

c compilers are usually written in c code, but usually they do not work in MSP430. They themselves must be compiled into assembly code and only much bigger systems can handle that.