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_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 drivers/clock_control/Kconfig.nrf:75

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_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.)