Part Number: MSP430I2040
Hello Team,
my customer tries to use the differential input of the ADC to archive a signle ended measurement of an analog input signal. I think for this he will need additional component to feed the single ended input to the differential.
He has an offsetvolate issue when simply connects the A- pin to ground. can you also explain why this offset occurs? I guess it has do to with the circuit for the internal PGA:
I am currently working with the microcontroller MSP430I2040. The goal is to read out the analog signal with the internal ADC of the microcontroller. I noticed that the ADC pins have a voltage depending on the gain. At gain 1 10mV, at gain 2 20mV and so on. How does this happen and is this normal? The problem I have is that I connect the A- pin to GND. So there is a voltage of 40mV at pin A+ when I set it to gain 4 and when I set it to 30mV the ADC calculates a value of 70mV. What is the reason for this and how can I compensate the 40mV, so that only the 30mV are at the pin.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
yes exactly I try to realize a single-ended measurement.
The analog signal is a DC voltage of 0.4-2V. This drops over a voltage divider. The voltage divider breaks the voltage to approx.36mV-182mV.

The Ana_In_1 network goes directly to the A+ pin of the ADC. A- is against GND.
If I have no voltage at all, i.e. 0V, then I measure a voltage of 40mV at TP8.
If I have for example 0,4V, then the voltage divider breaks the voltage to 36mV. But if I measure the voltage at TP8, then I measure a voltage of 76mV (36mV + 40mV). I suspect that there is a current of about 4.5uA coming out of the ADC pin and this is causing the 40mV. But how can this be or how can I fix this?
Thanks
Jan

