Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month ago.
ST Nucleo F401RE RTC fix
I have an ST Nucleo F401RE rev. C-02 board (with X2) and tried to use the RTC with a CR2032 external battery and desoldering SB45. I found that the RTC was cleared after a power cycle or reset, so practically was useless.
Fortunately I discovered that Kenji Arai had solved this issue patching the file: /mbed-src/targets/hal/TARGET_STM/TARGET_STM32F4/rtc_api.c
I tried this patch and now RTC works as it should. My question is: This patch will be implemented in official mbed ? Normally RTC should "just work" without the need to include mbed-src in a project and patching it.
Many thanks to Kenji Arai for his excellent job on this issue and to the ST and mbed teams. I have started working with Nucleo and mbed and really like them!
1 Answer
9 years, 1 month ago.
It will/might be implemented in the official mbed if someone makes a pull request for it on github: https://github.com/mbedmicro/mbed. But then someone needs to do it, would of course be best if Kenji Arai would do it.