Other Parts Discussed in Thread: MSP430F5529, MSP-FET
Hi Sir,
I had Current meter/ power supply/ MSP-TS430RGC64USB / CCS6 to build MSP430F5508 in LPM3 mode.
As below picture are code and test environment. I download below code in MSP-TS430RGC64USB than test power consumption to high.(654uA)
May I konw to setting MSP430F5508 in LPM3 mode than power consumption under 10uA? thank you.
#include <msp430f5510.h> void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer UCSCTL4 = SELA_1; // ACLK = VLO //////////////////////////////////////////// UCSCTL4 = SELA_1; // ACLK = VLO UCSCTL6 = XT2OFF+XT1DRIVE_3+XCAP_3+XT1OFF; UCSCTL5 = 0x5555; UCSCTL4 = SELM__DCOCLKDIV + SELS__DCOCLKDIV + SELA__VLOCLK; // As the cc430x513x_LPM3_2.c example code. ///////////////////////////////////////////////////////////// // Port Configuration P1OUT = 0x00;P2OUT = 0x00;P3OUT = 0x00;P4OUT = 0x00;P5OUT = 0x00;P6OUT = 0x00; PJOUT = 0x00; P1DIR = 0xFF;P2DIR = 0xFF;P3DIR = 0xFF;P4DIR = 0xFF;P5DIR = 0xFF;P6DIR = 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 __bis_SR_register(LPM4_bits); // Enter LPM3 __no_operation(); }