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

NRF52832 power usage after flashing

I am having a strange problem. After I flash the program to the NRF52 and do a reset (does not matter whether it is a soft reset or pin reset) the system (DK and my own board) will consume 3mA even after NRF_POWER->SYSTEMOFF=1.

However, do I do a power cycle, it drops down to 1.3uA off and 3.6uA in sleep. After this power cycle has been done once, it stays like this unless I re-program using SWD (ext board) or via the nrfjprog on the eval board.

I can update the system then using OTA flashing and all is fine. I did see however, connecting via a debugger (i.e. enabling SWO) will rise the power usage again.

On the external board there is only an i2c temp sensor and the radio periphery, nothing else.

Any ideas?

Parents
  • I can confirm, after using the mentioned jlink script the power usage drops from 3mA to 30uA and down to 2uA after I disconnect the debugger completely (wires). Thanks!

    JLink Base:

    SEGGER J-Link Commander V6.10c (Compiled Sep 28 2016 18:29:56) DLL version V6.10c, compiled Sep 28 2016 18:29:43

    Connecting to J-Link via USB...O.K. Firmware: J-Link V10 compiled Oct 6 2017 16:37:55 Hardware version: V10.10

    Eval Board: PCA10040, v1.1.1, 2016.45 nrfjprog version: 9.7.0 JLinkARM.dll version: 6.10c

Reply
  • I can confirm, after using the mentioned jlink script the power usage drops from 3mA to 30uA and down to 2uA after I disconnect the debugger completely (wires). Thanks!

    JLink Base:

    SEGGER J-Link Commander V6.10c (Compiled Sep 28 2016 18:29:56) DLL version V6.10c, compiled Sep 28 2016 18:29:43

    Connecting to J-Link via USB...O.K. Firmware: J-Link V10 compiled Oct 6 2017 16:37:55 Hardware version: V10.10

    Eval Board: PCA10040, v1.1.1, 2016.45 nrfjprog version: 9.7.0 JLinkARM.dll version: 6.10c

Children
No Data
Related