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

Typical current consumption for PORT GPIOTE Interrupts?

Hello

What is a typical current draw when using a PORT GPIOTE interrupt? I seem to be drawing approximately 200uA with a port event enabled. Is this normal?

I'm using a custom nRF51 board and when I send the device to SYSTEMOFF mode, disable all my sensors and cycle the board power, I generally draw around 8uA, which is what I expect. However, I set up an interrupt to wake the device from a GPIO and this seems to add an additional 200uA to this current. The nrf51 chip is an older Rev 2 model, could this have something to do with it?

I'm using Keil, with Version 8.0 of the SDK. No Softdevice is being currently used.

Heres the code where I initialize the interrupt:

nrf_gpio_cfg_sense_input(2, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_HIGH);
NRF_GPIOTE->INTENSET = GPIOTE_INTENSET_PORT_Msk; 
NVIC_EnableIRQ(GPIOTE_IRQn); 

Any help would be much appreciated.

Thanks

  • Hi kilianod

    8 uA is very high for System Off mode. You should be getting ~0.6uA. Why do you expect 8uA?

    The first step is to try code that is proven to work, in order to identify if the problem is related to your hardware or if it is a software problem. Try to run the system_off example. If the chip still draws high current when running the system_off example, then the problem is hardware related. Try to go through the "troubleshooting" section in the current consumption guide in order to spot any potential problems. If you get the expected current consumption with the system_off example, then the problem is software related.

    Try also the System_on example which includes configuring a wakeup pin and sets up the PORT event. The expected currrent consumption when sleeping is ~2.6uA. The PORT event itself should not consume any noticable current, i.e. <<1uA.

Related