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 Reply
  • Yes the actual operation is a little different from what I described in my question.

    Actually when there's no jlink plugged, I power on the board, I get 2.21mA; then I plug the jlink in with the board still powered, then I get 0.96mA instantly.

    If I power on the board with jlink plugged, then enter the debug mode with the keil debug settings panel, I got the same result. So what I'm trying to say is I think I can tell the running state of the chip properly, hope you can help me more Sigurd, thanks!

Children
No Data
Related