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.

MSP430FR2311: GPIO pin floating during sleep mode

Part Number: MSP430FR2311

I am using MSP430 GPIO pin to drive a load using MOSFET as shown in below photo.

This GPIO pin turns on the MOSFET in response to an external interrupt on another GPIO pin. When there is no interrupt, the MCU is in sleep mode.

Sometimes when this circuit is left overnight without any external interrupt, the GPIO pin driving the MOSFET charges up and falsely turns on the load. 

My question is : Is it expected for the GPIO pin to charge up when the MCU is sleeping? This pin is defined as Output in the initial system setup. What can be the best way to fix this issue?

My thoughts : A simple fix can be to pull the GPIO pin low externally but now the PCBs are made and that is not possible. This GPIO pin is configured as output, so from my understanding using internal pull down resistors is also not an option.

  • Hi Gurang,

    Yes, typically when interfacing an MCU to a MOSFET you want a series resistor to limit the surge current caused by the internal capacitance on the gate, plus you want a resistor from the gate to ground to keep the MOSFET off in case the MCU is not power or during bootup when the pin has not been configured yet.

    Now, that said, if you have the pin configured as an output and driven low overnight, I'm not sure where the charge is coming from.

    One option is to enable the internal pull-down resistor on that pin to see if that will help.

    From the FR2311 family user's guide:

**Attention** This is a public forum