Software Design
5.5.7 Stop State
5.5.8 Fault State
Designer Reference Manual
102
Freescale Semiconductor, Inc.
When motor stop is required, the PWM signals are disabled and the
power switches are switched off. The state diagram for this state is
shown in
Figure
5-12.
ENTER
MOTOR STOP IS REQUIRED
(STOP_F = 1)
MOTOR IS STOPPED
PWM IS OFF
EXIT
If over-voltage, over-current, or commutation fault occurs, the motor
control PWM's are disabled and control enters the fault state, where it
remains until RESET or clear failure (start switch set OFF or
PCMode&ClearFail). The fault state is indicated by the Red LED diode
blinking.
Clear Failure Test
Software Design
For More Information On This Product,
Go to: www.freescale.com
TIMER1 (TIM A CH1) INTERRUPT
CURRENT MEASUREMENT
ISR
Figure 5-12. STOP State
CURRENT MEASUREMENT
IS DONE
(CMD_F=1)
DRM028 — Rev 0
MOTOROLA