-
Perhaps I didn't make myself clear but I'm not actually using the Puck, I'm using the nRF52840 in a completely different setting, I just wanted to understand how the Puck was making use of its nRF chip to see if I could lower my high consumption values.
But yeah I'm getting about 8mA current consumption while in operation and about 0.7 mA in sleep mode, I'm already using the deepest sleep mode (system off) so I'm not sure what can I be leaving on, I should be getting less than 100uA for sure.
Anyway I think it's clear for me regarding the puck on what is being done, thank you both for your support @fanoush and @Gordon
-
I'm getting about 8mA current consumption while in operation and about 0.7 mA in sleep mode, I'm already using the deepest sleep mode (system off) so I'm not sure what can I be leaving on, I should be getting less than 100uA for sure.
You may check values here
https://infocenter.nordicsemi.com/topic/ps_nrf52840/_tmp/nrf52840/autodita/CURRENT/parameters.i_sleep.html?cp=5_0_0_4_1_0_0
so yes, you should get about 100 times less both in sleep and system off. Such high power draw could be both software and hardware design issue. Anyway if this is not related to Espruino then there are better places for discussing this. I'd suggest Nordic devzone https://devzone.nordicsemi.com/
Do you have anything else connected to the Puck?
If not, if you could send your code I can take a look and try and see what's causing the power draw.
UART is a big power draw, but you may also find that having a pin in 'pullup' state, or that's driving an output against a pullup (or an external sensor that is unpowered) can easily increase current draw.