
Example Peripheral Clocking - USB
Registers
PCC_USB0FS
DIV1
DIV1
DIV1
DIV1
SOSC
SPLL
FIRC
SIRC
SCG
SCG DIVCORE
SPLLDIV1_CLK
SOSCDIV1_CLK
SIRCDIV1_CLK
FIRCDIV1_CLK
Registers
USB0
COUNTER
DIVCORE_CLK
Peripheral Interface Clock
Figure 5-3. Example Peripheral Clocking (USB)
5.7 Programming model
The selection and multiplexing of system clock sources is controlled and programmed via
the System Clock Generation (SCG) module. First, the SCG selects the clock source for
driving the main CPU and the peripheral interface clocks, DIVCORE_CLK and
DIVSLOW_CLK respectively.
The DIVCORE_CLK and the DIVSLOW_CLK clocks support three different modes of
operation, normal RUN mode, HSRUN mode and Low Power RUN mode. Each of these
run modes can have different clock sources and dividers options and are automatically
selected via the options provided in SCG_xCCR registers. Each specific run mode is
configured via the SMC_PMCTRL register.
Secondly the SCG can provide additional peripheral functional clocks to the various
peripherals, via 3 optional output clock trees from each of the four sources. Each of the
peripheral functional clock outputs has a programmable divider within the SCG. These
xxxx
DIVy_CLK outputs are fed to the PCC module where the peripheral can select one of
these alternative clock sources to clock the timing function of that peripheral.
Programming model
K32 L2A Reference Manual, Rev. 2, 01/2020
116
NXP Semiconductors
Summary of Contents for K32 L2A Series
Page 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Page 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Page 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Page 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Page 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Page 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Page 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Page 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Page 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Page 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Page 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Page 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Page 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Page 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Page 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Page 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Page 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Page 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Page 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Page 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Page 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...