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

NRF52 DK: ~60uA extra current draw when changing P0.27 to input!?

Hello,

I'm using an NRF52 DK board.

I noticed that when I change P0.27 from the default (input / not connected to input buffer) to being an input pin connected to the input buffer, the current draw increases by ~60uA:

```

nrf_gpio_cfg_input(27, NRF_GPIO_PIN_NOPULL);
```

If I comment out that line above, the current drops back by ~60uA....

I'm also using P0.8 and P0.28-P0.31 as inputs, but not seeing the problem with those pins.

What could be the problem?

Note (probably not relevant, but mentioning for completeness):

I've shorted SB-4 and SB-3 and cut SB-1 and SB-2 and am using the internal RC oscillator for LF clock.

Parents Reply
  • Thanks for the hints.

    It looks like P0.26 and P0.27 are connected to U6 (a NX3DV2567 switch IC).

    But when SHIELD_DETECT is not connected to anything, it's being pulled up by R39, which, in theory should disconnect P0.26/P0.27 from the I2C pull-ups (R29 and R30). I measured P0.26/P0.27 and I don't see them being pulled up. I also tried toggling the switch by connecting SHIELD_DETECT to GND and only then they are indeed pulled up.

    At any rate, I wonder if the switch is somehow causing the leakage.

    I will try measuring on a board that doesn't have the switch connected.

Children
No Data
Related