EmbeddedRelated.com
Forums

newbie programming msp340

Started by john...@gmail.com November 19, 2008
hi

i am interested in programming msp340 in assembler. I know i can buy the
EZ430-F2013 from TI which uses IAR kickstart. But if i buy a simple dev board from MSP340 dev. board olimex can i also use the IAR IDE with this as well? if so is it easy to 'install' into such the IC on the board?

Also the IC included with the EZ430 works from 3.6 V. This IC can be seperated from the debugging section for dev. purposes. If i wish to use this ic for prototyping simple circuits is it easy to generate such a voltage?

please excuse if any of this sounds silly but i am a novice :)

thanks
john

Beginning Microcontrollers with the MSP430

Hi John,

Why do you want to program in assembler? I'm sure you have a good
reason, I'm just curious. The reason I ask is that when we were
drafting our MSP430 books we started writing them in assembler,
having written most of our applications as pure assembly language for
the better part of a decade, but our test readers almost universally
asked for C.

The last pure MSP430 book we've written is titled MSP430 State
Machine Programming. If you can tolerate writing in C, this book is
intended to help you learn how to write MSP430 applications, and
making the most of the ultra-low-power features. It is available on
amazon.com:

http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%
2Fwww.amazon.com%2FMSP430-State-Machine-Programming-ES2274%2Fdp%
2F0975475924%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1214397954%26sr%3D8-
1&tag=softcom-20&linkCode=ur2&camp89&creative25

If that link doesn't work, then search amazon for MSP430 as one word
and choose our green and white title.

This book is written for our ES2274, but the principles in it are
applicable to any MSP430 design. The book is formatted as a series of
fifteen tutorial sessions, with solved exercises at the end of each
chapter. Consider it a semester course in the MSP430!

At a more basic level, you can pick up a copy of John Davies' book,
MSP430 Microcontroller Basics. His book explains a lot of background
information that sets the foundation for the material in ours. These
books are complementary, so don't worry about overlap. His is also
available on amazon.com:

http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%
2Fwww.amazon.com%2FMSP430-Microcontroller-Basics-John-Davies%2Fdp%
2F0750682760%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1220014595%26sr%3D8-
2&tag=softcom-20&linkCode=ur2&camp89&creative25

If you had to search for ours above, then his will be near ours on
the list. Both will be near the top ;-)

The tutorials in our book are best done with our ES2274 board:

http://www.softbaugh.com/ProductPage.cfm?strPartNo=ES2274

When you are done working through the tutorials, and the solved
exercises at the end of each chapter, you will be well on your way to
being an MSP430 expert rivaling many with years of experience with
the chip.

Tom
> Also the IC included with the EZ430 works from 3.6 V. This IC can
be seperated from the debugging section for dev. purposes. If i wish
to use this ic for prototyping simple circuits is it easy to generate
such a voltage?

Hi John,

And 3.6v is a maximum for the MSP430, but you can use other
voltages. 3.0v or 3.3v are popular choices. You can generate all
these voltages many ways, one easy way is with our B33V:

http://www.softbaugh.com/ProductPage.cfm?strPartNo3V

You can change the output voltage easily with a single resistor, and
it doesn't take up a lot of space on the bench. For example, FAQ #3
on that page shows how to change the output voltage.

Or, you can generate a fixed output voltage with our BAAA:

http://www.softbaugh.com/ProductPage.cfm?strPartNoAA

which will let you walk around with your prototype powered from a
single alkaline cell. The BAAA ships with a fixed 3.3v output from a
TPS60310, but you can change that part to a TPS60311 for a fixed 3.0v
output.

Tom