Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

Software Design

5.5.7 Stop State

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)

TIMER1 (TIM A CH1) INTERRUPT

MOTOR IS STOPPED

CURRENT MEASUREMENT

PWM IS OFF

IS DONE

CURRENT MEASUREMENT

(CMD_F=1)

ISR

 

EXIT

Figure 5-12. STOP State

5.5.8 Fault State

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

Designer Reference Manual

 

DRM028 — Rev 0

 

 

 

102

Software Design

MOTOROLA

 

For More Information On This Product,

 

 

Go to: www.freescale.com

 

Page 102
Image 102
Motorola M68HC08 manual Stop State Fault State