CONFIG_CLOCK_STM32_PLL_P_DIVISOR

PLL division factor for main system clock

PLL P Divisor

PLL P Divisor

PLL P Divisor

Type: int

Help

PLLP division factor needs to be set correctly to not exceed 84MHz. Allowed values: 2, 4, 6, 8

Help

PLL P Output divisor, allowed values: 1-128.

Help

PLL P Output divisor, allowed values: 0, 7, 17.

Help

PLL P VCO divisor, allowed values: 2-32.

Defaults

  • 4
  • 2
  • 7
  • 2

Kconfig definitions

At drivers/clock_control/Kconfig.stm32f2_f4_f7:33

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:54drivers/clock_control/Kconfig:30drivers/clock_control/Kconfig.stm32:124

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

config CLOCK_STM32_PLL_P_DIVISOR
    int "PLL division factor for main system clock"
    range 2 8
    default 4
    depends on CLOCK_STM32_SYSCLK_SRC_PLL && (SOC_SERIES_STM32F2X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X) && CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    help
      PLLP division factor needs to be set correctly to not exceed 84MHz.
      Allowed values: 2, 4, 6, 8

At drivers/clock_control/Kconfig.stm32h7:74

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:54drivers/clock_control/Kconfig:30drivers/clock_control/Kconfig.stm32:125

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

config CLOCK_STM32_PLL_P_DIVISOR
    int "PLL P Divisor"
    range 1 128
    default 2
    depends on CLOCK_STM32_SYSCLK_SRC_PLL && SOC_SERIES_STM32H7X && CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    help
      PLL P Output divisor, allowed values: 1-128.

At drivers/clock_control/Kconfig.stm32l4_wb:28

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:54drivers/clock_control/Kconfig:30drivers/clock_control/Kconfig.stm32:127

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

config CLOCK_STM32_PLL_P_DIVISOR
    int "PLL P Divisor"
    range 0 17
    default 7
    depends on CLOCK_STM32_SYSCLK_SRC_PLL && (SOC_SERIES_STM32L4X || SOC_SERIES_STM32WBX) && CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    help
      PLL P Output divisor, allowed values: 0, 7, 17.

At drivers/clock_control/Kconfig.stm32g0:27

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:54drivers/clock_control/Kconfig:30drivers/clock_control/Kconfig.stm32:128

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

config CLOCK_STM32_PLL_P_DIVISOR
    int "PLL P Divisor"
    range 2 32
    default 2
    depends on CLOCK_STM32_SYSCLK_SRC_PLL && SOC_SERIES_STM32G0X && CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    help
      PLL P VCO divisor, allowed values: 2-32.

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