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

timer beacon

I'm using nRF51822 Beacon v1.1.0. It seems interrupt has ocurred every 256msec. I want to change timing of interrupt interval.(like a 512msec, 1024msec etc.)

Is it possible to be changed where settings is.

thanks Mik

  • timer: Look for

    #define APP_TIMER_PRESCALER             0
    #define APP_TIMER_MAX_TIMERS            4
    #define APP_TIMER_OP_QUEUE_SIZE         5
    #define SECOND_TIMER_INTERVAL			APP_TIMER_TICKS(1000, APP_TIMER_PRESCALER)
    

    1000 here is the number of mS between each timer event.

    Below for changing advertisement: Just change the advertisement interval. Typical value:

    Setting the intercal to 500mS

    #define APP_ADV_INTERVAL   MSEC_TO_UNITS(500, UNIT_0_625_MS)
    
  • This problem has been resoleved. Thank you!

Related