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_NRF_FORCE_ALT && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/clock_control/Kconfig.nrf:68

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

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

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_NRF_FORCE_ALT && 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.)