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

GPIOTE missing interrupts

Hello,

We are working through an issue which we found recently on the nrf sdk. The following is what is occuring:

  • We have two GPIO interrupts configured for low accuracy
  • If both interrupts occur at the same time, one of the interrupts is not handled
  • We currently see this issue if we set NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS to 10, but we really only need 2

We were able to see that the problem disappeared when we moved to high accuracy gpio interrupts but I am unclear about whether this is supposed to increase power consumption. From looking at the documentation, this appears to be the case but after performing some power measurements, there is no additional power consumption.

Could you please clear up on whether there is expected to be higher power consumption when using high accuracy gpio interrupts with the nrfx_gpiote driver?

Parents
  • I stand corrected.
    GPIOTE_IN events (high_accuracy) will use HFCLK but only for the sprint of times and not always. So

    GPIOTE IN will use in the order of ~10-25 uA, depending on which nRF52 device is used.

    The GPIOTE IN will enable the HFCLK source to run when an edge is triggered, then start sampling using the HFCLK. Before this, the HFCLK is not used.

    This is all handled and requested by the GPIOTE module, 

Reply
  • I stand corrected.
    GPIOTE_IN events (high_accuracy) will use HFCLK but only for the sprint of times and not always. So

    GPIOTE IN will use in the order of ~10-25 uA, depending on which nRF52 device is used.

    The GPIOTE IN will enable the HFCLK source to run when an edge is triggered, then start sampling using the HFCLK. Before this, the HFCLK is not used.

    This is all handled and requested by the GPIOTE module, 

Children
No Data
Related