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.

CCS/MSP430F5529: MSP430 internal REF

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Always thank you for your help
I have a question about MSP430

When REF is added from the outside, the total current consumption is the same as the current system, but when switching to internal REF
20 times more current
Please let me know if any settings are missing.

//ADC12
    ADC12CTL0 = ADC12ON | ADC12SHT0_9| ADC12REFON | ADC12REF2_5V; //
//    ADC12CTL0 = ADC12ON | ADC12SHT0_9; //
    ADC12CTL1 =ADC12SSEL_3 | ADC12SHP; //
    ADC12CTL2 =ADC12RES1_L | ADC12REFOUT; //
//    ADC12CTL2 =ADC12RES1_L ; //
    ADC12MCTL0 =0x00 | ADC12SREF_2; //
    ADC12MCTL1 =0x01 | ADC12SREF_2; //
    ADC12MCTL2 =0x02 | ADC12SREF_2; //
    ADC12MCTL3 =0x03 | ADC12SREF_2; //
    ADC12MCTL4 =0x04 | ADC12SREF_2; //
    ADC12MCTL5 =0x05 | ADC12SREF_2; //
//    ADC12MCTL0 =0x00 ; //
//    ADC12MCTL1 =0x01 ; //
//    ADC12MCTL2 =0x02 ; //
//    ADC12MCTL3 =0x03 ; //
//    ADC12MCTL4 =0x04 ; //
//    ADC12MCTL5 =0x05 ; //
//    ADC12MCTL5 =0x08 | ADC12SREF0; //debug
    ADC12IE =0x00; //
    ADC12IFG =0x00; //
    
//REF
REFCTL0 &= ~REFMSTR;



**Attention** This is a public forum