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

Error code from nrf_drv_gpiote_in_init

Hello,

In my project, nrf_drv_gpiote_in_init is used 3 times.

  • battery measure
  • sleep trigger by motion sensor
  • wake-up trigger by motion sensor

After 3rd call of nrf_drv_gpiote_in_init, NRFX_ERROR_NO_MEM(0x04) was returned.

GPIOTE channel might not be available.

Is there a way to use more GPIOTE channel?
Related