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

BLE Blocking Interrupts

Hi,

I am using the nRF51822 with an external chip. The nRF51822 has interrupts which trigger when one of the signals from the external chip goes low. When using BLE and the CPU is blocked during transmission of the radio, the interrupts are not triggered. Is there any way to prevent BLE from stopping interrupts triggering?

Kind regards

Jack

Parents
  • No there isn't. The BLE stack has precise timing requirements and so it runs at a higher priority than everything else.

    If you search you will find dozens of threads about this which tell you about how the newer versions of chip/softdevice tie up the processor for less time, how the multiprotocol timeslot API can give you short intervals you can work in etc. However the BTLE stack will always take precedence and if your interrupts are at random times, you will not always get serviced until the stack has finished its work.

Reply
  • No there isn't. The BLE stack has precise timing requirements and so it runs at a higher priority than everything else.

    If you search you will find dozens of threads about this which tell you about how the newer versions of chip/softdevice tie up the processor for less time, how the multiprotocol timeslot API can give you short intervals you can work in etc. However the BTLE stack will always take precedence and if your interrupts are at random times, you will not always get serviced until the stack has finished its work.

Children
Related