CONFIG_OSC_XTAL0_FREQ

External oscillator frequency

Type: int

Help

Set the external oscillator frequency in Hz. This should be set by the board’s defconfig.

Defaults

  • 8000000

  • 50000000

  • 12000000

  • 8000000

  • 32000000

  • 12000000

  • 32000000

  • 12000000

  • 50000000

  • 4000000

Kconfig definitions

At <Zephyr>/boards/arm/frdm_k22f/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 8000000
    depends on BOARD_FRDM_K22F

At <Zephyr>/boards/arm/frdm_k64f/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 50000000
    depends on BOARD_FRDM_K64F

At <Zephyr>/boards/arm/frdm_k82f/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 12000000
    depends on BOARD_FRDM_K82F

At <Zephyr>/boards/arm/frdm_kl25z/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 8000000
    depends on BOARD_FRDM_KL25Z

At <Zephyr>/boards/arm/frdm_kw41z/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 32000000
    depends on BOARD_FRDM_KW41Z

At <Zephyr>/boards/arm/hexiwear_k64/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 12000000
    depends on BOARD_HEXIWEAR_K64

At <Zephyr>/boards/arm/hexiwear_kw40z/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 32000000
    depends on BOARD_HEXIWEAR_KW40Z

At <Zephyr>/boards/arm/ip_k66f/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 12000000
    depends on BOARD_IP_K66F

At <Zephyr>/boards/arm/twr_kv58f220m/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 50000000
    depends on BOARD_TWR_KV58F220M

At <Zephyr>/boards/arm/usb_kw24d512/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 4000000
    depends on BOARD_USB_KW24D512

At <Zephyr>/soc/arm/nxp_kinetis/Kconfig:59

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:28<Zephyr>/soc/Kconfig:11<BuildDir>/Kconfig/Kconfig.soc.arch:2

Menu path: (Top) → Hardware Configuration

config OSC_XTAL0_FREQ
    int "External oscillator frequency"
    depends on HAS_OSC && SOC_FAMILY_KINETIS
    help
      Set the external oscillator frequency in Hz. This should be set by the
      board's defconfig.

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