CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_PERIOD

Calibration opportunity period in milliseconds

Type: int

Help

Periodically, calibration action is performed. Action includes
temperature measurement followed by clock calibration. Calibration may
be skipped if temperature change (compared to measurement of previous
calibration) did not exceeded CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF
and number of consecutive skips did not exceeded
CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP.

Direct dependencies

CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Default

  • 4000

Kconfig definition

At <Zephyr>/drivers/clock_control/Kconfig.nrf:82

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:56<Zephyr>/drivers/clock_control/Kconfig:29

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

config CLOCK_CONTROL_NRF_CALIBRATION_PERIOD
    int "Calibration opportunity period in milliseconds"
    default 4000
    depends on CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL
    help
      Periodically, calibration action is performed. Action includes
      temperature measurement followed by clock calibration. Calibration may
      be skipped if temperature change (compared to measurement of previous
      calibration) did not exceeded CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF
      and number of consecutive skips did not exceeded
      CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP.

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