This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
i am using msp430i2041 adc to measure resistance ranging from 1mohm to 1Kohm..
the problem that i am facing is that when i connect a power supply at the adc pins it shows correct measured voltage..
But if i connect a current source with resistance connected to it.. the voltage is equal to the resistance.. but this voltage is not correct..
If i connect my multi meter it shows correct values but if i connect the adc it adds extra voltage...
rcfocus said:Does the current source is enough for charging ADC? You must know that there is a S/H circuit needs to be charged before starting ADC sampler to get stable value.
rcfocus, if you would look at the schematic provided, you would notice 100uF capacitor which shall be considered as big enough for "ADC sampler to get stable value".
[edit] Particular msp430 does not even have ADC with S/H circuit BTW :)
I just realised that I have to click on the circuit image and then zoom-in it to see the details. Multi-meter and ADC represent different extra loading to your circuit. I think this is a good starting point to debug.
>See msp430i2040 is at 3.3v and mosfet current source is it 5v... I. E. The two ends of adc is at 5v-4.9v to give 0.1v o/p.. But the circuit works fine on atmel device which runs at 5v...
Fact that some other chip works at given voltage is not an excuse to operate ADC of msp430i2040 outside it's input voltage range! No wonder you are not getting expected results. Check datasheet of msp430i2040, page 22 to see that Absolute input voltage range of it' s SD24 ADC is AVSS-1V to VCC.
Why don't you power your current source from AVCC of the chip?
**Attention** This is a public forum