This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to get RTC1 counter value during runtime

USING RTC1 for app timer library.

Using windows 10 OS, and SES v5.40.

I am using nRF52833 device in my project along with nRF5_SDK_for_Thread_and Zigbee_v4.1.0_32ce5f8 SDK. There is RTC0

Trying to get RTC 1 counts through this library function TIMEAPI_RtcGetCounter_U32() this function which returns 0 always. 

in turn debugging further app_timer_cnt_get() function returns 0 and also rtc1_counter_get() returns zero.

Also i see even NRF_RTC1->COUNTER value is zero always 

and if i pause my debugging session the counter in RTC1 will always have some value.

According to my knowledge counter should be running as per the code, and it should have some value all the time, COUNTER in watch is always 0.

Please suggest some right way to get the RTC1 counter value.