• 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 » need some help on using ADC in MSP430 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 >
  • need some help on using ADC in MSP430 launchpad

    need some help on using ADC in MSP430 launchpad

    This question is not answered
    KIRAN KUMAR4
    Posted by KIRAN KUMAR4
    on Dec 30 2012 08:42 AM
    Prodigy165 points

    I have an MSP430 launchpad (MSP-EXP430G2 Rev 1.4). I have M430G2553 Ic in it.

    I need to use this as an ADC, where i'll be providing an input signal( in the range 0.1-0.2V ) . i had read thru some of the example codes but wasn't able to figure the connection . .Can anyone help me in making the connections and also suggesting me the  appropriate code ??

    MSP430 adc 16 bit ADC MSP430 LaunchPad MSP430g2553
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Dec 30 2012 13:58 PM
      Guru140135 points

      See here for a project that uses the ADC and sends data to the PC. You don't need the PC software to see what the MSP side does and how it is done.

      _____________________________________
      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.
    • KIRAN KUMAR4
      Posted by KIRAN KUMAR4
      on Jan 01 2013 09:39 AM
      Prodigy165 points

      Thanks for the adc program. I had used the program for MSP430G2231 but unfortunately had got 4 errors .Since iam new to this topic, i am unable to debug the errors. is it possible for you to give me just a simple code only for the ADC without any UART included in that? .I need it to convert an analog input of 0.1-0.2 V to digital format. I would be pleased if you would indicate a diagram for providing connections also .

      thanks ,

      Kiran.

      MSP430 msp MSP430 LaunchPad msp430 adc
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Jan 01 2013 11:14 AM
      Guru31975 points

      KIRAN KUMAR4
      i am new to this topic

      New to which topic, exactly?

      • New to the MSP430 in particular?
         
      • New to microcontrollers in general?
         
      • New to electronics?
         
      • New to 'C' programming in particular?
         
      • New to any form of programming?
         
      • etc, etc,...

       

      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 Jan 01 2013 19:32 PM
      Guru140135 points

      KIRAN KUMAR4
      got 4 errors

      which ones? IIRC, it compiled well for me, but I had to do some small adaptions anyway, since I use MSPGCC as compiler.

      _____________________________________
      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.
    • KIRAN KUMAR4
      Posted by KIRAN KUMAR4
      on Jan 02 2013 02:21 AM
      Prodigy165 points

       I am new to msp430 programming. So , I need your help .Can you help me in making ADC using MSP430G2 ? 

      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 Jan 02 2013 09:24 AM
      Guru140135 points

      KIRAN KUMAR4
      Can you help me in making ADC using MSP430G2

      You should have users guide and datasheet (if not, download and read them), you should be able to program in C (if not, you should learn it) and you have a working project that uses the ADC.
      So you really should be able to figure it out by yourself.

      _____________________________________
      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.
    • KIRAN KUMAR4
      Posted by KIRAN KUMAR4
      on Jan 02 2013 11:23 AM
      Prodigy165 points

      i didn't find your answers useful !! sorry for that !! You could have improved by providing me at-least a sample adc code !

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Jan 02 2013 12:02 PM
      Guru31975 points

      KIRAN KUMAR4
      i didn't find your answers useful !!

      In what ways do you find them not useful?

      If you want to work with microcontrollers, then you are going to have to deal with datasheets, user guides, and the other support materials provided by the manufacturers.

      That's the way it works. If you don't like that, then microcontroller work is not for you!

      KIRAN KUMAR4
      You could have improved by providing me at-least a sample adc code

      But, as already noted, there is already plenty of example code readily available!
      You have even been given a direct link to one such example!

      If you can't understand that code, it is unlikely that you will understand any other code!

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Peter Dvorak
      Posted by Peter Dvorak
      on Jan 02 2013 18:10 PM
      Expert1530 points

      Kiran,

      You should try the "Getting Started with the MSP430 LaunchPad Workshop" at  http://processors.wiki.ti.com/index.php/Getting_Started_with_the_MSP430_LaunchPad_Workshop

      There is even a video describing the ADC  http://focus.ti.com/general/docs/video/Portal.tsp?lang=en&entryid=0_7wz2r5v0

      Peter

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Tan Chin Yew
      Posted by Tan Chin Yew
      on Jan 05 2013 09:12 AM
      Intellectual430 points

      Halo Kiran,

      go here http://www.ti.com/product/msp430g2553

      download the demo code.

      It has everything you need.

      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