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

51802 debug mode consuming less power?

Hi community, I'm running a 51802 on my custom board with no other parts on it, except for some buttons and leds directly connected to GPIO, and a DC/DC converter which feed the 51802 with 1.8V power directly. I'm running a custom 2.4G protocol with neither softdevices, nor Gazell lib, which keep 16M clock always running.

Now when I try to optimize power, I've found some interesting thing that I can't find an explanation. I measure current before the DC/DC, so the absolute current read is not so relevant. The cpu is running the main loop steadily merely check for GPIO buttons, not much radio activities except sending a heartbeat packet every second,

the current read 2.21mA.

But if I reset the board to debug mode(with jlink plugged),

the current read 0.96mA.

I've checked this many times to make sure, as long as power is on, the consumption keeps the low state, and there seems no difference of the functionality of the 51802.

So my question is: why in debug mode, the power consumption reduced to about 44% of the normal state? what's changed inside the chip?

Parents
  • Hi,

    It’s actually the other way around. When you do a power-reset, the nRF51 will exit debug mode. Debug mode consumes around ~1mA, so you will see a ~1mA reduction when you resume normal mode. Please see section 11.1.3 "Resuming Normal Mode" in the nRF51 reference manual

  • Here's a shabby video I've made just now: video

    My board have only a 3V power, and a multimeter attached to a 10ohm power line series resistor.

    1. When I turn the power on, we can read a steady 1.99mA after power on initialization(a little lower than yesterday's 2.21mA for some unknown reason).
    2. then I have a jlink attached, we can see the board reset, after an initialization, we get a steady 0.88mA.
    3. then I remove the jlink, it still stay at 0.88mA.
    4. When I use a on board button to turn the board off, we read 2.32mA, which further prove the board is in debug mode. If I turn my board off in normal mode, I read 0.02~0.03mA.
    5. I turn my board on again, it still read 0.88mA.
    6. then I turn the power off and on again, my board recover to 1.99mA of the normal mode.
Reply
  • Here's a shabby video I've made just now: video

    My board have only a 3V power, and a multimeter attached to a 10ohm power line series resistor.

    1. When I turn the power on, we can read a steady 1.99mA after power on initialization(a little lower than yesterday's 2.21mA for some unknown reason).
    2. then I have a jlink attached, we can see the board reset, after an initialization, we get a steady 0.88mA.
    3. then I remove the jlink, it still stay at 0.88mA.
    4. When I use a on board button to turn the board off, we read 2.32mA, which further prove the board is in debug mode. If I turn my board off in normal mode, I read 0.02~0.03mA.
    5. I turn my board on again, it still read 0.88mA.
    6. then I turn the power off and on again, my board recover to 1.99mA of the normal mode.
Children
No Data
Related