Skip to main content
mchin.1
Associate II
November 24, 2021
Question

my STM32F469I-DISCO kit internal RTC is not running . what is the isuue?

  • November 24, 2021
  • 5 replies
  • 1173 views

Hi , I am working on STM32F469I-DISCO kit.

In that actually Internal RTC time is not running

I configured internal rtc from cubemx. I am getting Time what i did set time only.

no more time is running. support me what the issue for not running time.

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
November 24, 2021

Please edit and refine question so the entire question isn't​ in the Summary..

​

F​or the RTC to keep running it needs to be using the LSE clock, and you need to go into low power modes, and make a special effort not to reset or clear the RTC when restarted or reset.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
mchin.1
mchin.1Author
Associate II
November 24, 2021

ok I changed .

I already used the LSE clock in clock configuration. It shows 32.768Khz to RTC clcok.

you mentioned low power modes. how can i select low power mode.

mchin.1
mchin.1Author
Associate II
November 24, 2021

hi please give me solution for rtc time keep running for STM32F469I_Disco kit

Tesla DeLorean
Guru
November 24, 2021

I suspect you'll need to go beyond CubeMX, and perhaps fish in the CubeF4 example library for the DISCO/EVAL boards to find some good RTC / PWR examples.

Most of my F4 work was done with the SPL, and forum content about that has been lost/destroyed.

Briefly,

STANDBY is the lowest power mode.

You need to determine the cause of Reset, ie exit from standby, wake-up, etc.

You need to determine if the RTC/LSE is running already, and not break or reset it, thereby losing the time information.

The examples are not complete/available for all boards, some analysis and porting tends to be involved.

STM32Cube_FW_F4_V1.25.0\Projects\STM32469I_EVAL\Examples\PWR\PWR_STANDBY\Src\main.c

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
November 24, 2021

Read out and check/post content of RCC_BDCR and all RCC registers.

JW