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

app_timer_cnt_get not giving correct values

Hi,

I am using app_timer and SoftDevice in NRF52810.

I am storing app_timer_cnt_get() value after releasing button and after completing BLE Advertisment.

as I am starting BLE advertising after button release, BLE Advertising completed value must be greater than Button released time

but sometimes I am getting lesser values.

Note:

Total Observation will be completed in less than 10 seconds so not RTC overflow problem.

Parents Reply
  • Hi,

    I have already mentioned Later values coming lesser than previous values.

    button release  3493 and BLEadv stops 593

    button release   4067 and BLE adv stops 670

    and please note that I have mentioned only values that are not as expected.

    normally BLE adv stops  ~5000 to 6000

    Note: all numbers mentioned are RTC counter values and RTC frequency is 16384 Hz

Children
Related