Hello,
I've purchased the MSP-TS430PN80USB EVM Board with MSP430F5529. I'm using this board as a referance for develop my project.Because my project is very sensible to current consumption, i'd like to know what is the overall current consumption of the board under these conditions:
- Board Power supply : 3 V
- Msp430F5529 set in LPM3 (CPUOFF = 1, SCG0 = 1, SCG1 = 1, OSCOFF = 0).
- ACLK = low frequency crystal operation (XTS = 0, XT1DRIVEx = 0).
fACLK = 32768 Hz, fMCLK = fSMCLK = default DCO = 1.042 MHz
USB disabled (VUSBEN = 0, SLDOEN = 0)
- Usb unconnected.
According to my test, the current consumption is about 31 uA, that is in contrast to the value declared on MSP430F5529 datasheet (3.9 uA). Here is the code I used to program uC :
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
// Enable XT1
P5SEL |= BIT4+BIT5; // Port select XT1
UCSCTL6 &= ~(XT1OFF); // XT1 On
UCSCTL6 |= XCAP_3; // Internal load cap
// Loop until XT1 & DCO stabilizes
do
{
UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + DCOFFG);
// Clear XT2,XT1,DCO fault flags
SFRIFG1 &= ~OFIFG; // Clear fault flags
}while (SFRIFG1&OFIFG); // Test oscillator fault flag
UCSCTL6 &= ~(XT1DRIVE_3); // Xtal is now stable, reduce drive
// strength
// Port Configuration
P1OUT = 0x00;P2OUT = 0x00;P3OUT = 0x00;P4OUT = 0x00;P5OUT = 0x00;P6OUT = 0x00;
P7OUT = 0x00;P8OUT = 0x00;PJOUT = 0x00;
P1DIR = 0xFF;P2DIR = 0xFF;P3DIR = 0xFF;P4DIR = 0xFF;P5DIR = 0xFF;P6DIR = 0xFF;
P7DIR = 0xFF;P8DIR = 0xFF;PJDIR = 0xFF;
// Disable VUSB LDO and SLDO
USBKEYPID = 0x9628; // set USB KEYandPID to 0x9628
// access to USB config registers enabled
USBPWRCTL &= ~(SLDOEN+VUSBEN); // Disable the VUSB LDO and the SLDO
USBKEYPID = 0x9600; // access to USB config registers disabled
// Disable SVS
PMMCTL0_H = PMMPW_H; // PMM Password
SVSMHCTL &= ~(SVMHE+SVSHE); // Disable High side SVS
SVSMLCTL &= ~(SVMLE+SVSLE); // Disable Low side SVS
__bis_SR_register(LPM3_bits); // Enter LPM3
__no_operation(); // For debugger
Is there somthing wrong in the procedure I used to set uC in stand by mode (LPM3) ? If you have any suggestions to reduce this current consumption , please let me know.
Thank you.