• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » MSP430 won't operate outside Launchpad
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    MSP430 won't operate outside Launchpad

    This question is answered
    John Warf
    Posted by John Warf
    on Jul 09 2012 17:53 PM
    Prodigy40 points

    I've searched the internet high and low, and while I suspect the answer to my problem will be obvious in retrospect, I can't find anything to help me understand what I need to do differently.  In an effort to simplify the problem as much as possible, I've programmed the MSP430 with a simple program that lights up the LED on P1.0.  I'm using CCS v.5 with the good ol Launchpad.  Everything works as expected on the launchpad, including my more complicated programs.

    But when I place the chip onto a solderless breadboard for testing "outside the womb" it does nothing.  I have tried supplying the chip with 3v from AA's and also whatever voltage is coming off the header pins of the launchpad.  The led lights up if I connect the led directly to the VCC and GND of the power supply going into pins 1 & 20, but when I plug it into Pin 2, or any pin for that matter, it does nothing.

    I'm new to all this, so I assume I'm missing something obvious...Is the launchpad not actually programing the chip?  Is this something to do with debug mode versus release mode?  Do I need any capacitors or resistors to make the chip work on its own?  I've tried a couple chips now (g2353's) with no luck.  This has really put a damper on the whole project, it would be very appreciated if someone could grace me with a tip and possibly a "doh!" moment.

    msp430 launchpad breadboard basic Debug Release
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Alan
      Posted by Alan
      on Jul 09 2012 19:49 PM
      Verified Answer
      Verified by BrandonAzbell
      Intellectual670 points

      Have you biased the RST pin on your breadboard? The launchpad does indeed program the chip so if it runs in the launchpad your program is on it :)

      Looking at the Family User Guide Section 2.5 Connection of Unused Pins / Page 44 they recommend the following setup: 47 kΩ pullup with 10 nF (2.2 nF (1)) pulldown

      (1) The pulldown capacitor should not exceed 2.2 nF when using devices with Spy-Bi-Wire interface in Spy-Bi-Wire mode or in 4-wire JTAG mode with TI tools like FET interfaces or GANG programmers.





      MSP430 Launchpad GitHub: https://github.com/alanbarr/msp430-launchpad

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • John Warf
      Posted by John Warf
      on Jul 12 2012 20:14 PM
      Prodigy40 points

      Hmm..no I haven't, I'll have to try that next.  Now my next question:  Why would I do a pulll up and a pull down on the same pin?  I bought the 47k resistor and a 10nF capacitor but I'm not sure how to wire them up....On that note, do you understand why they are necessary?  I will keep researching as well and post back with my results.  Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • John Warf
      Posted by John Warf
      on Jul 12 2012 20:21 PM
      Prodigy40 points

      well, duh I just checked the pdf for the launchpad and it has a schematic that shows the capacitor and resistor connected to the rst pin, so I'll start by mimicking their setup,  That still doesn't explain what the purpose of doing this is.  If you have any insight, please share!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • old_cow_yellow
      Posted by old_cow_yellow
      on Jul 12 2012 20:33 PM
      Verified Answer
      Verified by BrandonAzbell
      Guru25715 points

      The capacitor is not absolutely necessary. But the resister is.

      Take a look at the LaunghPad board. The PCB has pads to solder both the resistor and the capacitor, TI sometimes do not load the capacitor. Unlike some other micros, MSP430 does not depend on the RC time to generate the reset signal. The capacity is used mostly to reduce noise pickup.

      j

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Jul 13 2012 08:44 AM
      Verified Answer
      Verified by BrandonAzbell
      Guru140135 points

      old_cow_yellow
      MSP430 does not depend on the RC time to generate the reset signal.

      That depends on the MSP. Those with BOR unit also implement their own RC timing after the voltage has risen above BOR threshold.
      Also, a delay is added before device start after RST has been pulled high. But this won't help is VCC is slowly rising. In thsi case, RST release needs to be delayed after VCC has settled or at least reached the minimum voltage level for default operation (Due to expected manufacturing tolerances, the BOR unit cannot ensure this, to avoid worst case keeping hte MSP in reset even thouzgh the required voltage has been reached).

      So sometimes an additional RC delay on RST is required. Or a 'power good' signal from the regulator.

      If you're unsure whether your supply will always deliver full VCC quick enough, add the RC. It won't hurt, and better safe than sorry.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • John Warf
      Posted by John Warf
      on Aug 17 2012 08:43 AM
      Prodigy40 points

      I forgot to do a final reply.  This was definitely the fix, so thanks to all!  My circuit works exactly as expected.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Curt Carpenter
      Posted by Curt Carpenter
      on Aug 17 2012 11:42 AM
      Expert1185 points

      I'm about to move my first MSP430 program off the launchpad and into my circuit board, and have been wondering what I needed to watch out for -- so this discussion has been very helpful!  Thanks to all from me as well..

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use