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.

MSP430F2419 ADC12 Internal Reference Voltage

Other Parts Discussed in Thread: MSP430F2419

Hi,

I am using MSP430F2419 device which is having ADC12. I using the internal reference voltage(2.5V) and as per the design I have provided two external capacitor 10uF/10V and 0.1uF/10V across VRef+ and VRef-. Iam doing the following configuration in my code to enable internal reference, but I could able to get either 2.5V or 1.5V in the VRef+ Pin outs.

Also for ADC10 we have a REFOUT bit, but it is not in ADC12. How can I ensure, that my internal voltage is set perfectly without measuring it on the VRef+ pin out?

ADC12CTL0  = ADC12ON+REFON+REF2_5V+SHT0_8+MSC;
   ADC12CTL1  = SHP;                        // Use sampling timer,
   ADC12MCTL0 = INCH_2+SREF_1;              // ref+=AVcc,AVss channel = A2
   ADC12MCTL1 = INCH_3+SREF_1;              // ref+=AVcc,AVss channel = A3
   ADC12IE    = INCH_2+INCH_3;

Thanks in Advance,

Regards,

V.Yuvaraj

  • I'm not sure I understand this question completely. Are you trying to output the reference onto a pin or are you just trying to utilize the 2.5V reference in your conversion? It looks like you are not setting your postive reference to use the internal 2.5V reference. 

    Generally speaking, here is how to ensure you are properly enabling the reference for your conversion:

    If you take the below example from our site and run it as-is with a static input do you see the correct converted value?

    Use msp430x261x_adc12_02.c - ADC12, Using the Internal Reference from this zip folder: http://www.ti.com/lit/zip/slac151

**Attention** This is a public forum