Hi,
AFAIK, the peripherals on the nRF52832 need to be explicitly enabled. If that is the case, what would be the current consumption of the chip if I program it using the below code:
#include "nrf.h"
#include <stdint.h>
#include <stdbool.h>
int main(void)
{}
I measured the current using a FLUKE 17B multimeter and it read a constant 5.47 mA. The below are my queries:
- Is the above current draw expected?
- Can someone give me a rough breakdown of the current consumption?
- If this is not expected, could someone point to what I might be doing wrong here?
If the use the below code:
#include "nrf.h"
#include <stdint.h>
#include <stdbool.h>
int main(void)
{
NRF_POWER->SYSTEMOFF = 1;
}
the current consumption drops to < 2 uA, which is expected.
Just to rule out the obvious, I have reset the board by power cycling and have disconnected the J-link debugger while measuring the current.
Additional Info: Using SES 3.34a with J-link Segger programmer/Debugger.
Thank you for reading.
Arish