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 <Zephyr>/drivers/clock_control/Kconfig.nrf:87

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:54<Zephyr>/drivers/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.)