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
  • I added the following to my .overlay file. I see it represented in the zephyr.dts, but I am still drawing a lot more current (396uA vs. 199uA).

    &gpio0 {
    	compatible = "nordic,nrf-gpio";
    	sense-edge-mask = <0xffffffff>;
    };
    
    &gpio1 {
    	compatible = "nordic,nrf-gpio";
    	sense-edge-mask = <0xffffffff>;
    };

    I also added this to try and set the latency to be low-power.

        // Low-power mode for GPIOTE
        NRF_GPIOTE->LATENCY = 0;

    All other firmware is the same as it was in v2.4.2. Am I missing something else?

Children
Related