# MSP430 Programming

#### gusmas

Joined Sep 27, 2008
239
Ok so i like programming but last thing i programmed was a pic and that was really easy but now I am doing a small project and using a MSP430 microcontroller. What compiler must I use? and where can I get help on programming a MSP430 micro controller Ive tried TI.com but those example codes lack explination... thanks

#### tom66

Joined May 9, 2009
2,595
Are you using a Launchpad board?

#### retched

Joined Dec 5, 2009
5,208
You really need to go to TI.com and find there forums.

If you visit the Launchpad area and get the Code Composer Studio Version 4 or IAR Embedded Workbench.

That will get you moving.

Its:

#### gusmas

Joined Sep 27, 2008
239
ok cool i gt some help, now my pc dont have a LPT port... so can i program the msp430 through the serial port?

#### retched

Joined Dec 5, 2009
5,208
You can program it through the USB port.
Did you look at the launchpad? It is $4.30 DELIVERED. free shipping. It comes with all the software and hardware you need, including a msp430 and usb cable. I would go that route. much faster. #### tom66 Joined May 9, 2009 2,595 I ordered two. They're so popular they're backordered to August. I'm still waiting here. Thread Starter #### gusmas Joined Sep 27, 2008 239 OK i will buy the launchpad, but I am from South Africa, so dont know if it is possible for me to buy it? #### retched Joined Dec 5, 2009 5,208 Yes, they ship around the world. Thread Starter #### gusmas Joined Sep 27, 2008 239 ok cool thanks alot for the help guys really apreciate it. Thread Starter #### gusmas Joined Sep 27, 2008 239 Quick question, once a microcontroller startsup, is all the input pins to a defualt logic level 0? #### sage.radachowsky Joined May 11, 2010 241 Quick question, once a microcontroller startsup, is all the input pins to a defualt logic level 0? Usually all the pins default to high impedance, which is "input" -- is neither logic level 0 or 1. Usually right after startup, the best code will set all the unused pins to output, and either 0 or 1. This saves some power by keeping them high or low, not floating. #### sage.radachowsky Joined May 11, 2010 241 Ok so i like programming but last thing i programmed was a pic and that was really easy but now I am doing a small project and using a MSP430 microcontroller. What compiler must I use? and where can I get help on programming a MSP430 micro controller Ive tried TI.com but those example codes lack explination... thanks Yes, go to the TI "E2E" forums for specific help on MSP430 programming. Many replies are from TI employees. But also, ask here! There are some people doing MSP430 programming here, like me. I use the IAR Embedded Workbench, which you can download for free from TI.com. It allows you to do some code size for free, and if your code is too big then you have to pay. I have always been able to fit in the free code size. To program the microcontroller, you can use the Launchpad, if you can get it because it's backordered. Or you can use any of the other options, if you're willing to pay$20 to \$100 for it. Check this website.

I use the MSP-FET430UIF because I do a lot with MSP430s and it is a good tool.

If you're starting out for prototyping a simple project, you might want to use the EZ430 development stick thing....

#### retched

Joined Dec 5, 2009
5,208
So mushin123, how long have you worked for bipom?