
PWMA_SMnCTRL2 field descriptions (continued)
Field
Description
14
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.
13
INDEP
Independent or Complementary Pair Operation
This bit determines if the PWM_A and PWM_B channels will be independent PWMs or a complementary
PWM pair.
0
PWM_A and PWM_B form a complementary PWM pair.
1
PWM_A and PWM_B outputs are independent PWMs.
12
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 is asserted.
11
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 is asserted.
10
PWMX_INIT
PWM_X Initial Value
This read/write bit determines the initial value for PWM_X and the value to which it is forced when
FORCE_INIT is asserted.
9–8
INIT_SEL
Initialization Control Select
These read/write bits control the source of the INIT signal which goes to the counter.
00
Local sync (PWM_X) causes initialization.
01
Master reload from submodule 0 causes initialization. This setting should not be used in submodule 0
as it will force the INIT signal to logic 0. The submodule counter will only reinitialize when a master
reload occurs.
10
Master sync from submodule 0 causes initialization. This setting should not be used in submodule 0
as it will force the INIT signal to logic 0.
11
EXT_SYNC causes initialization.
7
FRCEN
Force Initialization Enable
This bit allows the CTRL2[FORCE] signal to initialize the counter without regard to the signal selected by
CTRL2[INIT_SEL]. This is a software controlled initialization.
0
Initialization from a FORCE_OUT event is disabled.
1
Initialization from a FORCE_OUT event is enabled.
6
FORCE
Force Initialization
If CTRL2[FORCE_SEL] is set to 000, writing a 1 to this bit results in a FORCE_OUT event. This causes
the following actions to be taken:
Table continues on the next page...
Memory Map and Registers
KV4x Reference Manual, Rev. 2, 02/2015
782
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...