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.
5 years, 11 months ago.
RTC reset issue on FRDM-K64F
I'm running a RTC code in a FRDM-K64F that is based on Erik Olieman code http://developer.mbed.org/users/Sissors/code/RTC/.
My project is all in C instead of C++, and I'm using the mbed-src from github for all features.
My problem is:
I configure the RTC and it works properly until a reset occur, because when a reset occur all the RTC registers are cleared to their default values, so it lose all configured and counted date/time.
Is there any way to do not lose this values? Did someone have the same problem?