CONFIG_CPU_LOAD_USE_SHARED_DPPI_CHANNELS

Use shared DPPI channels

Type: bool

Help

DPPIC tasks and events can be assigned only to a single channel. When enabled, module will use channels to which events are already subscribed but will not enable it, relying on primary owner of the channel. Without special care, it may lead to cpu_load misfunction. On the other hand, it enables usage of cpu_load when events are used by the system. If disabled, cpu_load initialization fails when cannot allocate a DPPI channel.

Direct dependencies

HAS_HW_NRF_DPPIC && 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:53

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:30<nRF>/subsys/debug/Kconfig:8

Menu path: (Top) → Modules → Nordic nRF Connect → Enable CPU load measurement

config CPU_LOAD_USE_SHARED_DPPI_CHANNELS
    bool "Use shared DPPI channels"
    depends on HAS_HW_NRF_DPPIC && CPU_LOAD
    help
      DPPIC tasks and events can be assigned only to a single channel. When
      enabled, module will use channels to which events are already
      subscribed but will not enable it, relying on primary owner of the
      channel. Without special care, it may lead to cpu_load misfunction.
      On the other hand, it enables usage of cpu_load when events are used
      by the system. If disabled, cpu_load initialization fails when cannot
      allocate a DPPI channel.

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