cancel
Showing results for 
Search instead for 
Did you mean: 

Questions on how RTC clock usage STM32F103

Dioswilson
Visitor

I am planing to have a time functionality on a project I want to make.

After reading the manual I undestood I have a 32 bit counter which increases with TR_CLK.
Let's say I want to update the clock every 1ms, that would leave me with aproximately 49.5 days of clock, which is not enough.
Did I understood correctly? Is this how it should be used?

What should I do to save more time? Should I manually save time into flash or smth?

I've seen some "Calendar" functionality on CubeMX so I guess something is possible (I'd like to stay out of HAL functions)

Thanks in advance, best regards.

0 REPLIES 0