Pll Configuration Register (Rcc_Pllcfgr) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

RM0351
6.4.4

PLL configuration register (RCC_PLLCFGR)

Address offset: 0x0C
Reset value: 0x0000 1000
Access: no wait state, word, half-word and byte access
This register is used to configure the PLL clock outputs according to the formulas:
• f(VCO clock) = f(PLL clock input) × (PLLN / PLLM)
• f(PLL_P) = f(VCO clock) / PLLP
• f(PLL_Q) = f(VCO clock) / PLLQ
• f(PLL_R) = f(VCO clock) / PLLR
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
rw
rw
Bits 31:27 Reserved, must be kept at reset value.
Bits 26:25 PLLR[1:0]: Main PLL division factor for PLLCLK (system clock)
Caution:
Bit 24 PLLREN: Main PLL PLLCLK output enable
Bit 23 Reserved, must be kept at reset value.
28
27
26
25
Res.
PLLR[1:0]
rw
rw
12
11
10
9
PLLN[7:0]
rw
rw
rw
rw
Set and cleared by software to control the frequency of the main PLL output clock PLLCLK.
This output can be selected as system clock. These bits can be written only if PLL is
disabled.
PLLCLK output clock frequency = VCO frequency / PLLR with PLLR = 2, 4, 6, or 8
00: PLLR = 2
01: PLLR = 4
10: PLLR = 6
11: PLLR = 8
The software has to set these bits correctly not to exceed 80 MHz on this
domain.
Set and reset by software to enable the PLLCLK output of the main PLL (used as system
clock).
This bit cannot be written when PLLCLK output of the PLL is used as System Clock.
In order to save power, when the PLLCLK output of the PLL is not used, the value of
PLLREN should be 0.
0: PLLCLK output disable
1: PLLCLK output enable
24
23
22
PLL
Res.
PLLQ[1:0]
REN
rw
rw
8
7
6
Res.
rw
rw
DocID024597 Rev 3
Reset and clock control (RCC)
21
20
19
PLL
Res.
Res.
QEN
rw
rw
5
4
3
PLLM[2:0]
Res.
Res.
rw
rw
18
17
16
PLL
PLLP
PEN
rw
rw
2
1
0
PLLSRC[1:0]
rw
rw
203/1693
253

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF