This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP

Maximum number of calibration skips

Type: int

Help

Calibration is skipped when temperature change since last calibration
was less than configured threshold. If number of consecutive skips
reaches configured value then calibration is performed
unconditionally. Set to 0 to perform calibration periodically
regardless of temperature change.

Direct dependencies

CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/clock_control/Kconfig.nrf:86

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:54drivers/clock_control/Kconfig:23

Menu path: (Top) → Device Drivers → Hardware clock controller support → NRF Clock controller support → Enable LF clock calibration

config CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP
    int "Maximum number of calibration skips"
    range 0 255
    default 1
    depends on CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL
    help
      Calibration is skipped when temperature change since last calibration
      was less than configured threshold. If number of consecutive skips
      reaches configured value then calibration is performed
      unconditionally. Set to 0 to perform calibration periodically
      regardless of temperature change.

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