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.

MSP430I2040: MSP430I2040

Part Number: MSP430I2040

Hi,

We are using MSP430i2040 for measuring the differential analog input and found there is a difference of 0.67mV in the ADC result when we short the A+ and A- terminal which should result in 0mV as the difference will be zero.

I have attached the schematics and the sample code used for testing, please let us know the gain or any other missing configuration that required to be added in the code.

#include "msp430i2040.h"

unsigned int storeone;

void main(void) {

WDTCTL = WDTPW | WDTHOLD;

SD24CTL = SD24REFS;
SD24CCTL0 |= SD24SNGL | SD24DF;
SD24CCTL1 |= SD24SNGL | SD24DF;

__delay_cycles(3200); // Delay

__bis_SR_register(GIE);

while (1) {

SD24CCTL0 |= SD24SC;
while (!(SD24CCTL0 & SD24IFG))
;
storeone = SD24MEM0;
}
}

**Attention** This is a public forum