EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1295 background imageLoading...
Page #1295 background image
UM1940
LL UTILS Generic Driver
DocID028236 Rev 2
1295/1371
Parameters
UTILS_PLLInitStruct: pointer to a
LL_UTILS_PLLInitTypeDef structure that contains the
configuration information for the PLL.
UTILS_ClkInitStruct: pointer to a LL_UTILS_ClkInitTypeDef
structure that contains the configuration information for the
BUS prescalers.
Return values
An: ErrorStatus enumeration value:
SUCCESS: Max frequency configuration done
ERROR: Max frequency configuration not done
Notes
The application need to ensure that PLL is disabled.
Function is based on the following formula: PLL output
frequency = (((HSI frequency / PLLM) * PLLN) / PLLP)PLLM:
ensure that the VCO input frequency ranges from 0.95 to 2.10
MHz (PLLVCO_input = HSI frequency / PLLM)PLLN: ensure
that the VCO output frequency is between 192 and 432 MHz
(PLLVCO_output = PLLVCO_input * PLLN)PLLP: ensure that
max frequency at 120000000 Hz is reached (PLLVCO_output
/ PLLP)
LL_PLL_ConfigSystemClock_HSE
Function name
ErrorStatus LL_PLL_ConfigSystemClock_HSE (uint32_t
HSEFrequency, uint32_t HSEBypass,
LL_UTILS_PLLInitTypeDef * UTILS_PLLInitStruct,
LL_UTILS_ClkInitTypeDef * UTILS_ClkInitStruct)
Function description
This function configures system clock with HSE as clock source of
the PLL.
Parameters
HSEFrequency: Value between Min_Data = 4000000 and
Max_Data = 26000000
HSEBypass: This parameter can be one of the following
values:
LL_UTILS_HSEBYPASS_ON
LL_UTILS_HSEBYPASS_OFF
UTILS_PLLInitStruct: pointer to a
LL_UTILS_PLLInitTypeDef structure that contains the
configuration information for the PLL.
UTILS_ClkInitStruct: pointer to a LL_UTILS_ClkInitTypeDef
structure that contains the configuration information for the
BUS prescalers.
Return values
An: ErrorStatus enumeration value:
SUCCESS: Max frequency configuration done
ERROR: Max frequency configuration not done
Notes
The application need to ensure that PLL is disabled.
Function is based on the following formula: PLL output
frequency = (((HSE frequency / PLLM) * PLLN) / PLLP)PLLM:
ensure that the VCO input frequency ranges from 0.95 to 2.10
MHz (PLLVCO_input = HSE frequency / PLLM)PLLN: ensure
that the VCO output frequency is between 192 and 432 MHz
(PLLVCO_output = PLLVCO_input * PLLN)PLLP: ensure that
max frequency at 120000000 Hz is reached (PLLVCO_output
/ PLLP)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals