cancel
Showing results for 
Search instead for 
Did you mean: 

Shutdown mode for RTC

Chamo
Associate II

Hello, I'm using the demoboard B-U585I-IOT02A with a STM32U5 microcontroller. Today, I'm using a RTC with an external battery placed before VBAT. But in order to reduce current consumption, I'm currently working on using shutdown mode in order to just update RTC without using CPU.

My question is the following : If I lose power for Vdd, so only remains Vbat for the RTC (based on the external battery), does the microcontroller go into shutdown mode automatically? Or do I have to do it manually by detecting a power failure just before losing power for the CPU ?

Thanks in advance,

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

> If I lose power for Vdd, so only remains Vbat for the RTC (based on the external battery), does the microcontroller go into shutdown mode automatically?

It automatically goes into VBAT mode, which has lower power draw than any other low-power mode. The other low-power modes, including shutdown, require VDD to be present.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

4 REPLIES 4
TDK
Guru

> If I lose power for Vdd, so only remains Vbat for the RTC (based on the external battery), does the microcontroller go into shutdown mode automatically?

It automatically goes into VBAT mode, which has lower power draw than any other low-power mode. The other low-power modes, including shutdown, require VDD to be present.

If you feel a post has answered your question, please click "Accept as Solution".
Chamo
Associate II

Oh okay, I didn't understand that. To be sure, do you mean that shutdown mode is unavailable with only Vbat (so with no power on Vdd) ? In any case, thank you very much for your answer!

Correct. The datasheet should provide the details.
If you feel a post has answered your question, please click "Accept as Solution".

Okay, thank you for your time and for your answers TDK ! Have a great day