I am analyzing the power consumption of mesh nodes using your Power Profile Kit. I am running the example beaconing of the Mesh SDK 3.1.0 on a board nRF52832 with the following modification, which makes the beacon scan only once every 2 seconds instead of continuously:
/* nrf_mesh_config_bearer.h */
#define BEARER_SCAN_WINDOW_DEFAULT_MS 20
I can measure a consumption of 620 μA on average when the application is idle (ie outside advertising and scanning events) while I obtain 8 μA with a standard beacon.
Why is it so ? Is there some background processing or a different sleep mode in the mesh SDK that explains that consumption gap compared to the standard SDK ?
Thanks and all the best.
Is your debugger plugged in? I have a very similar problem with an nRf51822 device, and got from 600µA to 300µA simply by unplugging it. But I can't make it consume less :-(
Tthere was no external debugger in my setup.
I believe it's the timer running keeping the HFCLK active when inside a timeslot (mesh stack requests timeslot from the softdevice).
Please be aware that except for the Low Power Node example, all other mesh example is not power optimized.
Could you share some more information on what you plan do to ? It's much easier to disable mesh completely, do beaconing as a standard beacon then reactive mesh again if needed.
Ok thank you !
Is there a way to disable the timer running for the mesh stack that keep the HFCLK active ?So I can do a "mesh_disable" and then disable the timer used by mesh (timer 0 I think). To get a power consumption of approx 4uA ?And then I enable the timer before enabling the mesh stack again.How can I do that ?