Hello,
I am using the following code to set time in my code, but when trying to set 2100 year or 2040 more year with nrf_cal_set_time function,
it is failed, it shows the strange time in all value like year/month/day/time(hour so on). why ?
Could you please kindly help to let me know the reason and solution ?
https://github.com/NordicPlayground/nrf5-calendar-example/blob/master/nrf_calendar.c
I used RTC 0 and the following setting :
// <e> RTC_ENABLED - nrf_drv_rtc - RTC peripheral driver
//==========================================================
#ifndef RTC_ENABLED
#define RTC_ENABLED 1
#endif
#ifndef RTC0_ENABLED
#define RTC0_ENABLED 1
#endif
#ifndef CLOCK_CONFIG_XTAL_FREQ
#define CLOCK_CONFIG_XTAL_FREQ 1
#endif
#ifndef CLOCK_CONFIG_LF_SRC
#define CLOCK_CONFIG_LF_SRC 1
#endif
thankful for your support in advance,
thanks.