Other Parts Discussed in Thread: MSP430F2618
Hello I'm planning to use the two analog outputs of the MSP430F2618. The final circuit will have opamp buffers to allow more output current but I'm observing a strange behavior when setting the outputs (with no load): if I set the first analog output to give, for example, 1V, I get the desired voltage value. Then if I set the second analog output to get whatever value of voltage (from 0V to 2.5V) I observe that the first output drops to 0.994V. Setting the second output cause a voltage drops of 6mV and for my application is intolerable. The code to set the first output is:
DAC12_0CTL = DAC12SREF1 + DAC12IR + DAC12AMP1 + DAC12ENC;
delay(20); // delay of 20ms
DAC12_0DAT = code;
The code to set the second output is identical but with DAC12_1CTL and DAC12_1DAT. I'm using a 2.5V external reference connected to Veref+ (pin 10) and outputs on P6.6 and P6.7. The MSP430F2618 is put in LPM3 but I observe the same problem also in active mode and with different values of DAC12AMP. Can anyone explain what is happening? So we can find a solution. Thanks a lot
Massimiliano