To permit lower PWM frequencies, the prescaler produces the PWM clock frequency by
dividing the IPBus clock frequency by 1-128. The prescaler bits, CTRL[PRSC], select
the prescaler divisor. This prescaler is buffered and will not be used by the PWM
generator until MCTRL[LDOK] is set and a new PWM reload cycle begins or
CTRL[LDMOD] is set.
37.5.2.2 Register Reload Logic
The register reload logic is used to determine when the outer set of registers for all double
buffered register pairs will be transferred to the inner set of registers. The register reload
event can be scheduled to occur every "n" PWM cycles using CTRL[LDFQ] and
CTRL[FULL]. A half cycle reload option is also supported (CTRL[HALF]) where the
reload can take place in the middle of a PWM cycle. The half cycle point is defined by
the VAL0 register and does not have to be exactly in the middle of the PWM cycle.
the reload signal from submodule0 can be broadcast as the
Master Reload signal allowing the reload logic from submodule0 to control the reload of
registers in other submodules.
0
1
Reload
Logic
(counts
PWM
cycles)
Local Reload
LDOK
Mod Compare
Half Compare
Master Reload
Register Reload
Master Reload
(from submod0 only)
RELOAD_SEL
Reload opportunity
(to on-chip trigger unit)
Figure 37-235. Register Reload Logic
37.5.2.3 Counter Synchronization
In the following figure, the 16 bit counter will count up until its output equals VAL1
which is used to specify the counter modulus value. The resulting compare causes a
rising edge to occur on the Local Sync signal which is one of four possible sources used
to cause the 16 bit counter to be initialized with INIT. If Local Sync is selected as the
counter initialization signal, then VAL1 within the submodule effectively controls the
timer period (and thus the PWM frequency generated by that submodule) and everything
works on a local level.
Chapter 37 Pulse Width Modulator A (PWMA/eFlexPWM)
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
837
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...