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.

MSP430FR6047: Pin Mode & Status in Low Power Mode LPM3

Part Number: MSP430FR6047

Tool/software:

Hi,
My application will work in Mains Mode and Battery(Low Power Mode)
My Query is regarding Controller Pin Mode 
1.In Mains Mode i am planning to keep Unused pins of controller in ouput mode with default low

---Is there any issue or challenge in it or by default firmware takes care of unused pins .

2.In Low Power Mode can i choose Mode(Output or input) or by default its disabled not in my control (Can i change mode of pins in output mode when i am in Low power mode).

  • The pin configuration remains as set prior to entry to the low power mode..

  • Hi,
    As you said it is Set prior meaning it is not possible to change Mode(configuration)in Low power mode or it is not advisable to change the pin configuration.
    My question is because in low power mode i wont be needing some peripherals to source or sink current as that would load my battery.
    In above case mentioned what should i do

  • Also can i set the same configuration of pins  in Low power mode as it is in active mode or it is not possible to do the same

  • I don't understand what the confusion is. The pin configuration will remain as set when you enter low power mode. You are free to make any changes you think are required before entering the low power mode. And undoing those changes on exit. It is up to you and what you think you require.

  • So according to this i can choose any mode of pin before entering in LPM3 there is no as such limitation as per datasheet GPIO pins are available for use in LPM3 expect few pins.
    Also pins which i wont be using will be output mode with default LOW -----is there any issue with it?
    Or according to you to avoid current consumption we should choose some other mode.

  • I can't tell you what will reduce current demand. Only you can do that because you know what the pins are connected to. Or not.

  • I get your point but in LPM3 i wont be using many GPIO's which i would be using in Active/Normal mode so i would be turning these specific Gpio pins in Output mode with default high.
    I need to take decision on the same.
    And according to your statement it is clear that pins can be configured in any mode as it can be configured in active mode.

  • Hi Harsh,

    Please take care what default status of your unused pins in LP mode (which has function in active mode). If it is default low in idle status, then you set it as output high in LP3 mode will cause additional power consumption.

    B.R.

    Sal

  • I want your opinion on pin configuration
    In Active mode (Mains powered) unused pins will be in output mode with default low status
    In Battery mode i will make the controller work for 4sec in LPM3 mode where no measurement will be done and for 1sec it will wakeup for measurement like it is in active mode.
    So pins which i wont be using in LPM3 will be in output mode and default low and when getting active they will be in same configuration as active or mains powered mode.
    2.My Second question is i need my JTAG pins only while programming or debugging not in field configuration how should/rather what should be status of my pins during the same.

  • Hi Harsh,

    1. That depends on your GPIO usage. I can't guarantee output low will not bring additional power consumption. Take a LED drive as example, if output low is lighting LED (The anode of the LED is connected to 3V3), then output low will casue the additional power consumption. But output high will not.

    2. for JTAG pins, refer to below description:

    B.R.

    Sal

**Attention** This is a public forum