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

nrf51822 Timer2 Interrupt Problem

Hi, I am using Timer0..2 interrupts along with radio TX/RX. When the Timer2 interrupt coincides with RX/TX the Timer2 is halted for approx. 450 µs during TX. Is there a conflict between Timer2 and the RX/TX interrupt?

BR Günther

Parents
  • Hi,

    You will never be able to trigger interrupts during TX or RX. The SoftDevice has complete control over the CPU when the radio is active. This is necessary to provide a stable BLE link, but has the downside, as you have discovered, of application latency. Have a look at the SoftDevice Specification. Chapter 11 explains processor availability and interrupt latency.

    You can also do a search here on devzone. There are already a lot of people discussing the topic.

    Martin

Reply
  • Hi,

    You will never be able to trigger interrupts during TX or RX. The SoftDevice has complete control over the CPU when the radio is active. This is necessary to provide a stable BLE link, but has the downside, as you have discovered, of application latency. Have a look at the SoftDevice Specification. Chapter 11 explains processor availability and interrupt latency.

    You can also do a search here on devzone. There are already a lot of people discussing the topic.

    Martin

Children
No Data
Related