English
Language : 

PXS20RM Datasheet, PDF (684/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
DBGEN - Debug Enable
When set to one, the PWM will continue to run while the chip is in debug mode. If the device enters
debug mode and this bit is zero, then the PWM outputs will be disabled until debug mode is exited. At
that point the PWM pins will resume operation as programmed in the PWM registers.
For certain types of motors (such as 3-phase AC), it is imperative that this bit be left in its default state
(in which the PWM is disabled in debug mode). Failure to do so could result in damage to the motor
or inverter. For other types of motors (example: DC motors), this bit might safely be set to one,
enabling the PWM in debug mode. The key point is PWM parameter updates will not occur in debug
mode. Any motors requiring such updates should be disabled during debug mode. If in doubt, leave
this bit set to zero.
WAITEN - WAIT Enable
When set to one, the PWM will continue to run while the chip is in WAIT mode. In this mode, the
peripheral clock continues to run but the CPU clock does not. If the device enters WAIT mode and
this bit is zero, then the PWM outputs will be disabled until WAIT mode is exited. At that point the
PWM pins will resume operation as programmed in the PWM registers.
For certain types of motors (such as 3-phase AC), it is imperative that this bit be left in its default state
(in which the PWM is disabled in WAIT mode). Failure to do so could result in damage to the motor
or inverter. For other types of motors (example: DC motors), this bit might safely be set to one,
enabling the PWM in WAIT mode. The key point is PWM parameter updates will not occur in this
mode. Any motors requiring such updates should be disabled during WAIT mode. If in doubt, leave
this bit set to zero.
INDEP - Independent or Complementary Pair Operation
This bit determines if the PWMA and PWMB channels will be independent PWMs or a
complementary PWM pair.
1 = PWMA and PWMB outputs are independent PWMs.
0 = PWMA and PWMB form a complementary PWM pair.
PWM23_INIT - PWM23 Initial Value
This read/write bit determines the initial value for PWM23 and the value to which it is forced when
FORCE_INIT (Figure 25-16) is asserted.
PWM45_INIT - PWM45 Initial Value
This read/write bit determines the initial value for PWM45 and the value to which it is forced when
FORCE_INIT (Figure 25-16) is asserted.
PWMX_INIT - PWMX Initial Value
This read/write bit determines the initial value for PWMX and the value to which it is forced when
FORCE_INIT (Figure 25-16) is asserted.
INIT_SEL - Initialization Control Select
These read/write bits control the source of the INIT signal which goes to the counter.
• 00 = Local sync (PWMX) causes initialization.
25-38
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor