
16 bit counter
INIT
VAL1
Mod Compare
Master Reload
INIT_SEL
Local Sync
FRCEN
Init
PWM_EXT_SYNC
Submodule Clock
0
1
2
3
Master Sync
FORCE_OUT
Master Sync
(from submod0
only)
16 bit
comparator
Processing
Logic
Figure 37-236. Submodule Timer Synchronization
The Master Sync signal originates as the Local Sync from submodule0. If configured to
do so, the timer period of any submodule can be locked to the period of the timer in
submodule0.
The PWM_EXT_SYNC signal originates on chip or off chip depending on the system
architecture. This signal may be selected as the source for counter initialization so that an
external source can control the period of all submodules.
If the Master Reload signal is selected as the source for counter initialization, then the
period of the counter will be locked to the register reload frequency of submodule0. Since
the reload frequency is usually commensurate to the sampling frequency of the software
control algorithm, the submodule counter period will therefore equal the sampling period.
As a result, this timer can be used to generate output compares or output triggers over the
entire sampling period which may consist of several PWM cycles. The Master Reload
signal can only originate from submodule0.
The counter can optionally initialize upon the assertion of the FORCE_OUT signal
assuming that CTRL2[FRCEN] is set. As indicated by the preceding figure, this
constitutes a second init input into the counter which will cause the counter to initialize
regardless of which signal is selected as the counter init signal.
Functional Description
KV4x Reference Manual, Rev. 2, 02/2015
838
Preliminary
Freescale Semiconductor, Inc.
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...