English
Language : 

PXS20RM Datasheet, PDF (657/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
VAL1 ($0100)
VAL3
VAL5
VAL4
VAL2
INIT ($FF00)
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
PWM
Output Triggers
Figure 25-8. Multiple Output Trigger Generation in Hardware
Since each submodule has its own timer, it is possible for each submodule to run at a different frequency.
One of the options possible with this PWM module is to have one or more submodules running at a lower
frequency, but still synchronized to the timer in submodule0. Figure 25-9 shows how this feature can be
used to schedule ADC triggers over multiple PWM cycles. A suggested use for this configuration would
be to use the lower frequency submodule to control the sampling frequency of the software control
algorithm where multiple ADC triggers can now be scheduled over the entire sampling period. In
Figure 25-9, ALL submodule comparators are shown being used for ADC trigger generation.
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
25-11