Part Number: MSP430G2955
I have a question of MSP430G2955 power consumer. MSP430G2955+ 3.6864MHz oscillator , our power consumption test is 1.8mA but your spec is less than 200uA, when i change the clock into DCO, the consumption is 450uA
#include "include_all.h"
void main( void )
{
// Stop watchdog timer to prevent time out reset
_DINT();
WDTCTL = WDTPW + WDTHOLD;
BCSCTL1 |= XTS; // ACLK = LFXT1 = HF XTAL
BCSCTL3 |= LFXT1S_2; // 3 - 16MHz crystal or resonator
do
{
IFG1 &= ~OFIFG; // Clear OSCFault flag
for (unsigned char i = 0xFF; i > 0; i--); // Time for flag to set
}
while (IFG1 & OFIFG); // OSCFault flag still set?
BCSCTL2 |= SELM_2+DIVM_2+SELS+DIVS_3; // MCLK = XT2/4=0.9216MHz ;SMCLK=XT2/8=460.8kHz
while(1);
}
This is my complete code
