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

High current consumption with LPCOMP enabled

Hi,

I'm currently testing LPCOMP with one of our nRF5340DK boards.

The power consumption of the LPCOMP seems way too big (around 140µA) once enabled with this conf:

nrfx_lpcomp_config_t config = {
		.hal    = {NRF_LPCOMP_REF_SUPPLY_2_8,
			   NRF_LPCOMP_DETECT_CROSS,
			   NRF_LPCOMP_HYST_NOHYST},
		.input  = (nrf_lpcomp_input_t) NRF_LPCOMP_INPUT_2,
		.interrupt_priority = NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY
	};

The 140µA are from the LPCOMP alone, as there is no other functionnality enabled on that board (no CONFIG_LOG, no CONFIG_SERIAL ...)

If I #if 0 ... #endif all my code, the current consumption drops to < 10µA.

Is there a errata on the LPCOMP that could explain such large current consumption?

Can we reduce it programmatically?

Regards

Giuliano

Related