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

When app timer handling its ISR,can ble observer interrupt it?

When app timer handling its ISR,can ble observer interrupt it?

Parents
  • Depends on the app timer priority: APP_TIMER_CONFIG_IRQ_PRIORITY

    With the default prio (6), the ble observer can preempt the timer IRQ handler.

    Edit: As mentioned below, I was mistaken about the SD event IRQ priority, which happens to be 6, too. Thus by default the timer evens cannot be preempted unless APP_TIMER_CONFIG_IRQ_PRIORITY is configured to be 7.

Reply
  • Depends on the app timer priority: APP_TIMER_CONFIG_IRQ_PRIORITY

    With the default prio (6), the ble observer can preempt the timer IRQ handler.

    Edit: As mentioned below, I was mistaken about the SD event IRQ priority, which happens to be 6, too. Thus by default the timer evens cannot be preempted unless APP_TIMER_CONFIG_IRQ_PRIORITY is configured to be 7.

Children
Related