Hi,
I've been upgrading a product we designed some years ago with the S110 softdevice on an nRF51822 to use S130 and nRF5x SDK version 12.3 so that we can use the more modern bootloader.
So far the transition has gone pretty well and I've got almost everything done and working - but I started comparing the power consumption today and it's way off. This device goes into OFF mode after awhile and it waits on a falling edge from a GPIO pin to wake up. With the old code, the board is drawing about 90uA while waiting to wake up. With the new code it's more like 300uA.
Since I was having trouble figuring out the issue, I decided to eliminate as much code as I could - so I changed my main routine to just wake up, initialize my IO pins, the softdevice, and the hardware on board to minimize power consumption and then I go straight into sd_power_system_off, but it's still drawing ~300uA.
I've tried the different CLOCK_CONFIG_LF_SRC options - didn't seem to make a difference (does the LF clock even run in system off mode?)
What else can I try? Does the S130 softdevice do something that the S110 didn't that makes it draw more power in the OFF state?
I started my project from the "Blinky" example before porting my code in. Is there something that's turned on in that sdk_config that makes it draw more power than it could?
Thanks,
Glen