NCS 2.6.0 Low-Power

My chip is battery powered, so I need very low power, and when I try to play with the code, the PPK2 device always gets weird spikes.

prj.conf

CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

overlay

main.c

I have no idea how I would change this, even though I have completely commented out all the code that could be commented.

When I try to recreate a new empty program, the spike is gone, but if I change the device tree file and the CONFIG file based on it, it happens again, even if I comment it out again.

When I use bare-metal applications (without zephyr), this doesn't happen.

Related