2019-11-01 20:45:29 +08:00
|
|
|
# STM32F1 PLL configuration options
|
|
|
|
|
2019-05-28 21:49:05 +08:00
|
|
|
# Copyright (c) 2019 Linaro
|
2019-11-01 20:45:29 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-05-28 21:49:05 +08:00
|
|
|
|
|
|
|
if SOC_SERIES_STM32F1X
|
|
|
|
|
|
|
|
config CLOCK_STM32_PLL_MULTIPLIER
|
|
|
|
int "PLL multiplier"
|
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
|
|
|
default 9
|
|
|
|
range 2 16 if SOC_STM32F10X_DENSITY_DEVICE
|
|
|
|
range 4 9 if SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
PLL multiplier, PLL output must not exceed 72MHz. Allowed values:
|
|
|
|
Density devices: 2-16
|
|
|
|
Connectivity devices: 4 - 9 and 13 ( used for multiplication factor 6.5).
|
2019-05-28 21:49:05 +08:00
|
|
|
|
|
|
|
config CLOCK_STM32_PLL_PREDIV1
|
|
|
|
int "PREDIV1 Prescaler"
|
2020-06-26 16:10:28 +08:00
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
2019-05-28 21:49:05 +08:00
|
|
|
default 1
|
|
|
|
range 1 16
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
PREDIV1 is PLL clock signal prescaler, allowed values: 1 - 16.
|
2019-05-28 21:49:05 +08:00
|
|
|
|
|
|
|
endif # SOC_SERIES_STM32F1X
|