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
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 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