Skip to main content
Associate III
October 24, 2024
Question

RTC Automatic Periodic Wake up in STM32H503RBT6 controller

  • October 24, 2024
  • 5 replies
  • 966 views

Hello everyone,

I am currently working on the (STM32H503RBT6)RTC periodic wakeup part (I did it in 10s(bare metal programing) ) but this is not enough timing so I want to change 1 hour or more than 1 hour. actually, I tried to do it, but I can't find the solutions, so please guide me on the correct way to find the solutions

Thanks.

This topic has been closed for replies.

5 replies

PGump.1
Senior II
October 24, 2024

Hi,

That's easy, just set the Prescaler and RTC_WUTR appropriately...

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.
Mohan30Author
Associate III
October 25, 2024

Hi @PGump.1 ,  actually I wrote bare-metal program so still confusing to work on it, can you please suggest any baremetal program for periodic wakeup.
thanks

PGump.1
Senior II
October 25, 2024

Hi,

Post your code, and we'll see what is a good fit...

Kind regards
Pedro

 

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.
PGump.1
Senior II
October 28, 2024

Hi,

You say the timer wakes up at 10 second intervals. It looks like your code sets the timer to 60 seconds. Is that the problem?

What is PA0 connected to? A switch?

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.