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.

关于msp430g2332 ADC转换电流的问题

Other Parts Discussed in Thread: MSP430G2332

您好,我在使用msp430g2332 的时候隔一段时间会调用ADC转换(没有采用中断),在调用之前是在lmp3低功耗状态,但是调用之后,再次进入低功耗电流会在180ua上,请问这是怎么回事呢?程序如下:

for(;;)
  {
     _BIS_SR(LPM3_bits + GIE);

     ADC10CTL1 = INCH_11;                      // AVcc/2
     ADC10CTL0 = SREF_1 + ADC10SHT_2 + REFON + ADC10ON;
 
     ADC10CTL0 |= ENC + ADC10SC;                        // ADC10 Enable   ENC +    ADC10SC
     while (ADC10CTL1 & ADC10BUSY);      // ADC10BUSY?
     //voltage = ADC10MEM;                 // 转换结果取出
  
     ADC10CTL0 = 0;
     ADC10CTL1 = 0;

}

感觉好像ADC没有关掉。