I'm using the MSP430F2003 with the intern 16bit ADC. I want to use serval differential inputs, but how must I configure them?
I want to use channel A4+/-:
SD16INCTL0 = SD16INCH_4; // Enable channel A4+/-
SD16AE = SD16AE2; // Enable external input on A4-
Is this enough? Or must it be
SD16AE = (SD16AE1 + SD16AE2);
And if I want to configure A1+ to external input and A1- to Vss?
SD16INCTL0 |= SD16INCH_1; // Enable channel A1+/-
SD16AE = SD16AE2; // enable external input on A1+
Can somebody help me? I'm a little bit confused.