MSP430 introduction

MSP430 is a family of 16 bit ultra-low power microcontroller by Texas Instruments launched during the late 90’s.TI has since launched many series like 1xxx,2xxx,etc. the recent ones being 5x’s and 6x’s.The key features of these controllers are :
>>   up to 6 low power modes while consuming as low as 0.8-µA .
>>   wake up time as good as 6 micro seconds.
>>   16-bit RISC CPU with 27 RISC instructions and 24 emulated CISC instructions.
>>   Orthogonal architecture with seven addressing modes(including atomic addressing).
>>   12-bit or 10-bit ADC — 200 ksps
>>   12-bit dual-DAC
>>   Supply voltage supervisor and Brown out reset circuit.
>>   Watchdog timer.
>>   built-in Lcd drivers in recent versions.

Every new series in the family is accompanied with a user guide provided  by TI.Other resources are data sheets for the particular controller.Online community at TI’s Website and textbooks by John Davis are big sources of information on MSP.

Software and Hardware Tools:
>>  TI : Code Composer Studio v4.0
>>  Third Party Software : IAR Embedded Workbench
>>  Launch PAD
>>  Evaluation boards
>>  eZ430-F2013 USB Development tool

The softwares are available in a code limited version for free and the development boards can be ordered from TI’s website . The launch pad is the cheapest with a price of around 200rs.It has a single port which is multiplexed as I/O’s,ADC’s,UART,Comparator,Timer and a built-in temperature sensor.It is a great tool to learn msp.Recently a Capacitive booster pack has been released with libraries for the launch pad .Its a capacitance based touch pad . priced at around 500rs.Here is a picture of the launch pad.

This entry was posted in Flip, MSP430 Tutorials and tagged . Bookmark the permalink.

7 Responses to MSP430 introduction


    hello dear , It was interesting reading your blog, My question is
    Can we measure the any output from ADC of the MSp430 or is there any way where I can see the ADC clocking and its output.

    • Suraj ms says:

      MSP430/has only one ADC but many channels . output always is present in the ADC buffer. To know which it corresponds to you have to know to which of the channels it is connected.
      The specific register names for these can be found in the data sheet.

      • GAURAV PUROHIT says:

        thanks for Fast reply,
        MY aim is to see the clock frequency (input) to ADC and the output ADC data delivering rate, SInce when I have connected a sensor to this ADC and then transmitting the data of this node to other node over Zigbee uisng Zstack, I am not getting signal at 5khz over this network due to either ADC or TX/rx limitation of TI-Zstack. (please help me in this case or add any suggestion or ask me any info. if you didn’t get my question.)

    • Suraj ms says:

      I haven’t worked on msp430 for abt 4 yrs now. But if I remember right the clock to be used can be configured to pll or other 2.clocks available. This can be output to any IO for monitoring. When ADC conversion is complete a but is set one of the ADC registers. Output that for data rate. And I think you’re ZigBee would be faster than your ADC so ZigBee may have to wait for data to arrive.

      • GAURAV PUROHIT says:

        thanks Suraj, Please possibly give light on how to see the highest possible through put from ADC which is near to 66-60 khz as data sheet says but is not achieved, I tried. since I am unable to see that the Fs sampling freq. I have given (25 kHz) is taken by ADC or Not. Also after ADc i need to convert the ASCII to string( which also reduce my frequecy or data rate. Am I correct). so over all even though processor is at 25 Mhz , the final tx i am not achieving to 5khz at rx.

        where I debug, either Zstack which is challenging and claims 250kbps
        or ADC where No pin are given as GPIO to jus plug and play.

        I derived the output of ADC to led to see the blinking through the lsb of data , since I am able to visualize the LED on/off hence i can say its refreshing data in below 50 HZ.

        hence It is bolttel neck the Tx/rx, Hence My question is how to achieve 250 kbps data tr/rx with th e MSP430 and CC2530/CC2520. please give me any clue.

    • Suraj ms says:

      I see your question . to eliminate possibility of problem from ZigBee I would recommend sending incremental data pattern directly to ZigBee without the adc being involved. This should be your maximum throughput. To check ADC throughput I currently don’t have the hardware . I also cannot check on the data sheet right now as I am working on another project. So won’t be helpmout much. Sorry.

  2. Tanvi says:

    Hi, Can you provide SPI code for the same?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s