English
Language : 

PXS20RM Datasheet, PDF (666/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
signal from submodule0, the Local Sync signal, the Master Sync signal from submodule0, or the
EXT_FORCE signal from on or off chip depending on the chip architecture. The local signals are used
when the user simply wants to change the signals on the output pins of the submodule without regard for
synchronization with other submodules. However, if it is required that all signals on all submodule outputs
change at the same time, the Master signals or EXT_FORCE signal should be selected.
Figure 25-17 illustrates the Force logic. The SEL23 and SEL45 fields each choose from one of four
signals that can be supplied to the submodule outputs: the PWM signal, the inverted PWM signal, a binary
level specified by software via the OUT23 and OUT45 bits, or the EXTA or EXTB alternate external
control signals. The selection can be determined ahead of time and, when a FORCE_OUT event occurs,
these values are presented to the signal selection mux which immediately switches the requested signal to
the output of the mux for further processing downstream.
FORCE
Master Force
Local Reload
Master Reload
Local Sync
Master Sync
EXT_FORCE
Reserved
FORCE_SEL
PWM23
0
from generation h/w
1
OUT23
2
EXTA
3
0 SEL23
1
DQ
2
3
4 FORCE_OUT
5
6
from generation h/w
PWM45
0
1
7
OUT45
2
EXTB
3
SEL45
DQ
Master Force
(from submod0
only)
PWM23
to Deadtime
logic
DBLPWM
PWM45
Figure 25-17. Force Out Logic
The local FORCE signal of submodule0 can be broadcast as the Master Force signal to other submodules.
This feature allows the local FORCE bit of submodule0 to synchronously update all of the submodule
outputs at the same time. The EXT_FORCE signal originates from outside the PWM module from a
source such as a timer or digital comparators in the Analog-to-Digital Converter.
25.3.3.7 Independent or complementary channel operation
Writing a logic one to the INDEP bit of the CNFG register configures the pair of PWM outputs as two
independent PWM channels. Each PWM output is controlled by its own VALx pair operating
independently of the other output.
25-20
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor