Pulse-Width Modulator for Motor Control (PWMMC)
Output Control
MC68HC908MR16/MC68HC908MR32 — Rev. 4.0 Advance Information
MOTOROLA Pulse-Width Modulator for Motor Control (PWMMC) 159
complementary operation is in use, the odd OUTx bits are inputs to the
dead-time generators as shown in Figure 9-14. Dead-time is inserted
whenever the odd OUTx bit toggles as shown in Figure 9-22. Although
dead-time is not inserted when the even OUTx bits change, there will be
no dead-time violation as shown in Figure 9-23.
Setting the OUTCTL bit does not disable the PWM generator and current
sensing circuitry. They continue to run, but are no longer controlling the
output pins. In addition, OUTCTL will control the PWM pins even when
PWMEN = 0. When OUTCTL is cleared, the outputs of the PWM
generator become the inputs to the dead-time and output circuitry at the
beginning of the next PWM cycle.
NOTE: To avoid an unexpected dead-time occurrence, it is recommended that
the OUTx bits be cleared prior to entering and prior to exiting ind ividual
PWM output control mode.
Figure 9-22. Dead-Time Insertion During OUTCTL = 1
UP/DOWN COUNTER
MODULUS = 4
PWM1
PWM2
DEAD-TIME = 2
OUTCTL
OUT1
OUT2
2
PWM1/PWM2 2 2
DEAD-TIME INSERTED AS PART OF
NORMAL PWM OPERATION AS
CONTROLLED BY CURRENT
SENSING AND PWM GENERATOR
DEAD-TIME INSERTED DUE
TO SETTING OF OUT1 BIT DEAD-TIME INSERTED
DUE TO CLEARING OF
OUT1 BIT
PWM VALUE = 3
DEAD-TIME