CONFIG_CPU_LOAD_ALIGNED_CLOCKS

Enable aligned clock sources

Type: bool

Help

After enabling this option, the sleep period measurement
is done using the same clock source as the active period,
and one additional PPI channel is used.
If you use the internal RC oscillator for at least one
of the clock sources (high or low frequency), this option
will ensure more accurate results.
Enabling this option allows going to low power idle mode
because the high frequency clock is not used by this module.

Direct dependencies

CPU_LOAD

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <nRF>/subsys/debug/cpu_load/Kconfig:41

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:34<nRF>/subsys/debug/Kconfig:8

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Enable CPU load measurement

config CPU_LOAD_ALIGNED_CLOCKS
    bool "Enable aligned clock sources"
    depends on CPU_LOAD
    help
      After enabling this option, the sleep period measurement
      is done using the same clock source as the active period,
      and one additional PPI channel is used.
      If you use the internal RC oscillator for at least one
      of the clock sources (high or low frequency), this option
      will ensure more accurate results.
      Enabling this option allows going to low power idle mode
      because the high frequency clock is not used by this module.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)