Loading...
 
Skip to main content

System Workbench for STM32


STM32F103C8T6 RTC year keeps defaulting to 2000, time however OK

Thanks for reply.

After of read tons of documentation and forums, I decided don't spend more time and use an external clock DS1307.

Apparently the STM32F103 does not have calendar functions, and only has one counter for seconds. Because date reset when reset device. We need implement calendar by software, but the accuracy of RTC was also not convincing me, calculating if it was delayed 5 minutes per day.

When I get my discovery with stm32f4 and have time, I will test if the calendar works. Meanwhile I need to continue with the project. 😀

 
Collapse/expand modules below