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
  • 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

Children
  • This used to work in the older 2.4.2. I had the following in all of my .overlay files and had much less current consumption with full functionality with all my GPIO interrupts. Now I am unable to achieve the same current consumption because I am forced to keep the gpiote enabled in all my device tree files. I guess, for now I am stuck on 2.4.2.

    &gpiote {
    	status = "disabled";
    };

Related