CONFIG_CLOCK_STM32_MSI_RANGE

MSI frequency range

Type: int

Help

Frequency range of MSI when MSI range is provided in RCC_CR register
Range 0: 100kHz
Range 1: 200kHz
Range 2 around 400 kHz
Range 3 around 800 kHz
Range 4: 1 MHz
Range 5: 2 MHz
Range 6: 4 MHz (reset value)
Range 7: 8 MHz
Range 8: 16 MHz
Range 9: 24 MHz
Range 10: 32 MHz
Range 11: 48 MHz

Direct dependencies

(CLOCK_STM32_SYSCLK_SRC_MSI || CLOCK_STM32_PLL_SRC_MSI) && !CLOCK_CONTROL_STM32_HAS_DTS && !SOC_SERIES_STM32MP1X && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Default

  • 8

Kconfig definition

At <Zephyr>/drivers/clock_control/Kconfig.stm32:92

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:54<Zephyr>/drivers/clock_control/Kconfig:25

Menu path: (Top) → Device Drivers → Hardware clock controller support → STM32 Reset & Clock Control

config CLOCK_STM32_MSI_RANGE
    int "MSI frequency range"
    default 8
    depends on (CLOCK_STM32_SYSCLK_SRC_MSI || CLOCK_STM32_PLL_SRC_MSI) && !CLOCK_CONTROL_STM32_HAS_DTS && !SOC_SERIES_STM32MP1X && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL
    help
      Frequency range of MSI when MSI range is provided in RCC_CR register
      Range 0: 100kHz
      Range 1: 200kHz
      Range 2 around 400 kHz
      Range 3 around 800 kHz
      Range 4: 1 MHz
      Range 5: 2 MHz
      Range 6: 4 MHz (reset value)
      Range 7: 8 MHz
      Range 8: 16 MHz
      Range 9: 24 MHz
      Range 10: 32 MHz
      Range 11: 48 MHz

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