Functional Description
37.5.2 Functional Details
This section describes the implementation of various sections of the PWM in greater
detail.
The following figure is a high-level block diagram of output PWM generation.
PWM_EXT_SYNC
Clock
Sources
PWM
Clocking
Counter
Synchroni-
zation
Register
Reload
Logic
PWM_EXTAn
PWM_EXT_FORCE
PWM Generation
Output Triggers
Interrupts
Figure 37-233. High-Level Output PWM Generation Block Diagram
37.5.2.1 PWM Clocking
Figure 37-234
shows the logic used to generate the main counter clock. Each submodule
can select between three clock signals: the IPBus clock, EXT_CLK, and AUX_CLK. The
EXT_CLK goes to all of the submodules. The AUX_CLK signal is broadcast from
submodule0 and can be selected as the clock source by other submodules so that the 8-bit
prescaler and MCTRL[RUN] from submodule0 can control all of the submodules.
I PB us clock
EX T_CL K
AUX_CLK input
(from submod0)
reserved
CL K _SEL
Figure 37-234. Clocking Block Diagram for Each PWM Submodule
836
Deadtime
Force Out Logic
Insertion Logic
PSRC
0
RUN
1
8 bit
prescaler
2
3
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
PWM_FAULTn
Fault Protection
INIT value
Submodule
Clock
16 bit counter
Init
PWM_An
Output Logic
PWM_Bn
AUX_CLK output
(from submod0 only)
Freescale Semiconductor, Inc.