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.

MSP430F5508: MSP430f5508 power consumption to high

Part Number: MSP430F5508
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();
}

  • 0.6 mA sounds as if it is running. Maybe something makes it reset continuously? Does it work if you blink a LED a few times before the sleep?

    All those contradictory UCSCTL settings might be counterproductive. My MSP430F55xx_LPM4.c looks like this:

    int main(void)
    {
      WDTCTL = WDTPW | WDTHOLD;                 // Stop WDT
    
     // Setup UCS
      UCSCTL4 = SELA_1;                       // Ensure VLO is ACLK source
    
      // 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(LPM4_bits);             // Enter LPM4
      __no_operation();
    }
  • Hi Clemens Ladisch,

                       Very thanks for you help. I tries your code and download to MSP430F5508.

    Freerun on debug mode than suspend. check SR register value is 0x00F2.

    So i think MSP430F5508 in LPM4 mode. The current is still to high(630uA).

    Could you have any suggestion? 

  • Dear Clemens

    So is there any comment on this issue?
    We try to test it on the socket board and got the same result as customer's PCB.
    Shall we try it on MSP430F5529?
  • Setting unused PxDIR/PxOUT registers makes no difference.

    On the photo, it looks as if only one pin of JP1 is connected. What are the configurations of all jumpers on the TS430RGC64USB, and what are the connections used for the power supply and the current measurement?
  • Hi Clemens Ladisch

    I tries another environment a s below.

    1. Connect meter to JP1

    2. MSP-FET provide 3.3v to TS430RGC64USB.

    3. run before code in LPM3 mode,  The current is still to high(630uA).

    Could you have any suggestion? thanks.

  • Dear Clemens Ladisch
    Is there any update of this issue.
    It is urgent since this project is almost in mass production.
    Thanks for your support.
  • I don't see anything wrong in your configuration.

    Might this be related to debugging? Try without the FET, and some other power supply.

**Attention** This is a public forum