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.

CCS/MSP430FR6047: MSP430FR6047 Low Power Mode

Part Number: MSP430FR6047


Tool/software: Code Composer Studio

I designed own circuit and am using now that.

But I have a problem with LPM3 mode. When entered LPM3 ( __bis_SR_register(LPM3_bits) )

circuit draws ~37uA (I expected that it draws ~1-2 uA). There is no any firmware in MCU, circuit draws only 2.2uA 

What is the problem? 

  • Hello,

    What's your  test code?

    Could you try a simple test code as below?

    dev.ti.com/tirex/explore/node?node=AKkAI47Fb-RsjK7CPZM37Q__IOGqZri__LATEST

  • "This resource does not exist. Check your URL or select another resource to view"  your code site warning

    My test code is below. In addition I am using TPS62470 in circuit.

    When there is no program written into MCU, current is only 2,2uA.

    I think, it shows that there is no another component which  draws high current except MCU.

    In addditon, I ended unused pins via pull down and out is set to low.

    MCLK : DC0 8 MHz

    SMCLK : DCO 8 Mhz

    ACLK : 32768 Hz from LFXT

    I tried VLO instead of LFXT, result was not changed.

    int main(void)
    {
    WDT_A_hold(WDT_A_BASE); //WDT stop
    _delay_cycles(100); //delay for settling
    PMM_unlockLPM5();


    /* init all GPIOs */
    HW_initGPIOs();
    __PSV_SET_VOLTAGE_TO_2V1; //set MCU rail voltage to 2.1V

    /* init sys clock */
    HW_initClocks(); 
    __delay_cycles(100); //wait a time

    __low_power_mode_3(); //__bis_SR_register(LPM3_bits)

    while(1)
    {

    }

    //return 0;
    }

    void HW_initClocks(void)
    {
    //Set ACLK = XT with clock divider of 1
    // Configure Pins for XIN and XOUT
    GPIO_setAsPeripheralModuleFunctionInputPin(
    LFXIN_PORT,
    LFXIN_PIN,
    GPIO_PRIMARY_MODULE_FUNCTION
    );
    GPIO_setAsPeripheralModuleFunctionInputPin(
    LFXOUT_PORT,
    LFXOUT_PIN,
    GPIO_PRIMARY_MODULE_FUNCTION
    );
    //Set external frequency for XT1
    CS_setExternalClockSource(32768,
    0);
    //Initializes the XT1 crystal oscillator with no timeout
    //In case of failure, code hangs here.
    //For time-out instead of code hang use CS_turnOnXT1LFWithTimeout()
    CS_turnOnLFXT(CS_LFXT_DRIVE_3);
    CS_initClockSignal(CS_ACLK,
    CS_LFXTCLK_SELECT,
    CS_CLOCK_DIVIDER_1);

    //Clear all OSC fault flag
    CS_clearAllOscFlagsWithTimeout(1000);
    //Set DCO frequency to 8MHz Low freq option.
    CS_setDCOFreq(CS_DCORSEL_0,
    CS_DCOFSEL_6);
    //Set SMCLK = DCO with frequency divider of 1
    CS_initClockSignal(CS_SMCLK,
    CS_DCOCLK_SELECT,
    CS_CLOCK_DIVIDER_1);
    //Set MCLK = DCO with frequency divider of 1
    CS_initClockSignal(CS_MCLK,
    CS_DCOCLK_SELECT,
    CS_CLOCK_DIVIDER_1);
    }

  • Hi.

    I tried code but result is approximetely same (Even, circuit  50uA draws your way)

    is my code true? I am using driver lib and I measured ACLK, MCLK and SMCLK with oscilloscope. That are correct values.

    what is the problem with LPM3?. Is it only theoretical that LPM3 would be 1uA?

    In addition, main rail voltage is only 2.1V

  • Hello,

    The current consumption is tested at 3.3V DVCC.

    Please use 3.3V power rail and test again.

**Attention** This is a public forum