serial communication-msp430f2101

Discussions on how to get your MSP JTAG programmer up and running.

Moderator: phalanx

Post Reply
naz
Posts: 108
Joined: Thu Feb 12, 2009 11:31 pm

serial communication-msp430f2101

Post by naz » Thu Feb 19, 2009 4:34 am

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

gm
Posts: 203
Joined: Fri May 04, 2007 3:08 pm

Post by gm » Thu Feb 19, 2009 5:40 pm

TI has documentation and code that uses TimerA to generate the proper bit timing.

HTH,

gm

naz
Posts: 108
Joined: Thu Feb 12, 2009 11:31 pm

Post by naz » Thu Feb 19, 2009 9:17 pm

hello GM,

could u please send me the corresponding link?

by
naz

naz
Posts: 108
Joined: Thu Feb 12, 2009 11:31 pm

Post by naz » Thu Feb 19, 2009 10:46 pm

hello GM,

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

by
naz

Mark_
Posts: 5
Joined: Mon Feb 02, 2009 7:40 am

Post by Mark_ » Fri Feb 20, 2009 8:03 am

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

OldCow
Posts: 269
Joined: Sun Mar 26, 2006 10:04 am

Post by OldCow » Sun Feb 22, 2009 8:25 am

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.

Post Reply