Bit 10
RTCAPBEN:RTC APB clock enable
Set and cleared by software.
0: RTC clock disabled
1: RTC clock enabled
410 Reference manual states this... well it says "bits"
1. Enable the power interface clock by setting the PWREN bits in the RCC_APB1ENR register (see Section 5.3.9: RCC APB1 peripheral clock enable register (RCC_APB1ENR))
Fix mimiced from https://github.com/ChibiOS/ChibiOS/comm ... 56ba6b98d4
tested on STM32F410RB
See: https://github.com/kimmoli/ChibiOS/comm ... 12a9c6c7e5
Code: Select all
telakone GPS
------------
- Loaded 1 variables
- Watchdog is disabled
- Initialisation complete
- Threads started
ChibiOS/RT Shell
telakone> date
RTC time is Sun Jan 1 00:00:55 1980
telakone> date
RTC time is Sun Jan 1 00:03:43 1980
telakone> date
RTC time is Sun Jan 1 00:03:46 1980
telakone>