This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

useing timer as a counter

hi, i am getting a lot of help in here, thanks a lot

i'm using SDK 6.0.0 for my project. and i want to use timer as a counter like as the title.

then, i fount the app_timer_cnt_get which can get current RTC1 value.

but there are some problems.

i get RTC1 value from app_timer_cnt_get at starting point of 1sec timer interrupt and get RTC1 value at ending point of 1sec timer interrupt. the value is 32768ticks.

i know that the RTC is very fast timer but, ticks from it is just 32768 druing 1sec....

is it right?? actually, i need over than 100000 ticks during 1sec.

Related