I'm trying to get a time stamp using app_timer_cnt_get(&ticks), but the ticks always equals 0. And I have called APP_TIMER_INIT() to init the app timer. I have no idea why. Someone can help?
I'm trying to get a time stamp using app_timer_cnt_get(&ticks), but the ticks always equals 0. And I have called APP_TIMER_INIT() to init the app timer. I have no idea why. Someone can help?
Have you set up a timer and called app_timer_start() on it? RTC1 doesn't run unless there's an active timer.
And that timer is still running? If it's a repeating one it should be, if single shot then it may have stopped and then RTC1 stos. Is your timer firing ok?
And that timer is still running? If it's a repeating one it should be, if single shot then it may have stopped and then RTC1 stos. Is your timer firing ok?