Unable to disable GPIOTE for nRF Connect SDK 2.6.1

Hi, 

Recently I upgraded to nRF Connect SDK 2.6.1 and I was required to enable the GPIOTE in order to build properly. Doing this has significantly increased (nearly doubled) the total current consumption at runtime. How can I disable this peripheral now? I am unable to do so now using the overlay file.

Old: 

&gpiote {
    status = "disabled";
};
New:
&gpiote {
    status = "okay";
};

Thank you,

Parents Reply Children
  • Hi Simon

    Yes, it is doable, but it contradicts the move that Nordic made when it transitioned to Zephyr and device tree. In NCS the device tree is the source of hardware configuration. Disabling GPIO in device tree but using it anyway through nrfx is not very elegant and not consistent. So it looks like there is no good solution for that in NCS right now. Thanks for your support.

    Best regards,
    Grzegorz

Related