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.

MSP-EXP432E401Y: Set up so that if main power fails it switches to a backup battery to power RTC and preserve the RTC clock

Part Number: MSP-EXP432E401Y

Hi,

I cant seem to find in the user guide how to set up the VBAT pin on the MSP to be a battery backup for the RTC. I want to be able to use the VBAT to power the RTC if/when the main power is lost. 

  • Hello,

    This is the function of Hibernation module.

    The Hibernation module power source is supplied by VDD as long as it is within a valid range, even if VBAT > VDD. The Hibernation module also has an independent clock source to maintain a real-time clock (RTC) when the system clock is powered down. Hibernate mode can be entered through one of two ways: • The user initiates hibernation by setting the HIBREQ bit in the Hibernation Control (HIBCTL) register • Power is arbitrarily removed from VDDwhile a valid VBAT is applied.

    Please see the Hibernation module in Technical Reference Manual for  detailed configuration. An example is as below:

**Attention** This is a public forum