Hi,
I am trying to get the value of an input DC voltage in an MSP430. I am
using the ADC C code examples provided by TI but I am not getting the
correct reading. Has anybody work with something like this before and can
help?
Reply by Rich Webb●March 19, 20082008-03-19
On Wed, 19 Mar 2008 14:59:32 -0500, "Amnesia" <cresyi@gmail.com>
wrote:
>Hi,
>I am trying to get the value of an input DC voltage in an MSP430. I am
>using the ADC C code examples provided by TI but I am not getting the
>correct reading. Has anybody work with something like this before and can
>help?
Possibly ... but more info would help. What are your Vcc and analog
reference voltages? What voltage are you trying to measure? Are you
using a voltage divider? If so, what values? Are you buffering the
input to the ADC (e.g., unity gain opamp)? Are you on a common ground
and are ground and Vcc clean (not noisy)? What readings are you
expecting and receiving? Are you using the same compiler as in the
examples (IAR??) or gcc or ...? Could you provide a pointer to the
example code and the relevant snippets of yours?
--
Rich Webb Norfolk, VA
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.