RTC stm32f103
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-07-11 10:40 PM
Hi. I need help with RTC on STM32F103.
I would like to edit the time (hours and minutes) in my RTC using a button. When I add an hour the maximum vartosc I can reach in the RTC->CNTL register is 65535 (18h20min), when this value is exceeded, the register zeroes some bits (it gets 0:48), while the RTC->CNTH register does not increment.
When I leave the clock without editing the time, no matter whether with the main power supply on or without (battery), the RTC works fine and counts correctly (the error with the CNTH and CNTL registers does not occur).
Please help, I've been sitting on this for a while and can't get past this problem.
- Labels:
-
RTC
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-15 11:16 AM
Hi All,
This question was routed to our online support center for direct support.
Regards,
Jake
ST Support
