Hi,
Would you please tell me which timer had been used by ESB and app_timer_init() function?
Which register can I get the current timer count value of above timer?
Thank you,
Chianglin
Hi,
Would you please tell me which timer had been used by ESB and app_timer_init() function?
Which register can I get the current timer count value of above timer?
Thank you,
Chianglin
I had found app_timer is use RTC0.
I had try to read the values of RTC0 register value (ex. EVENTS_COMPARE[[0]~[2], CC[0]~[2]), but the value is always "0x00000000".
I can make sure the app_timer is active because I use app_time to print register value.
Would you please tell me why I can not read the value?
Thank you,
Chianglin
Hi Bjørn,
I try to get "NRF_RTC0->COUNTER" in main loop by following program.
gRTC_Value.COUNTER = NRF_RTC0->COUNTER;
And I had print "gRTC_Value.COUNTER“ value in 1 sec app_timer, but the value is always 0.
Would you please tell me how can I get correct RTC0 COUNTER?
Thank you,
Chianglin
HI Ives,
the Application Timer library uses RTC1, not RTC0, see nRF5 SDK v15.3.0: Application Timer. Try reading the RTC1 counter instead.
Best regards
Bjørn