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 ??
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.
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 .
KIRAN KUMAR4 i am new to this topic
New to which topic, exactly?
KIRAN KUMAR4got 4 errors
I am new to msp430 programming. So , I need your help .Can you help me in making ADC using MSP430G2 ?
KIRAN KUMAR4Can you help me in making ADC using MSP430G2
i didn't find your answers useful !! sorry for that !! You could have improved by providing me at-least a sample adc code !
KIRAN KUMAR4i 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 KUMAR4You 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!
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
go here http://www.ti.com/product/msp430g2553
download the demo code.
It has everything you need.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.