Stop state – Motorola M68HC08 User Manual

Page 102

Advertising
background image

Software Design

Designer Reference Manual

DRM028 — Rev 0

102

Software Design

MOTOROLA

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

.

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

CURRENT MEASUREMENT

ISR

TIMER1 (TIM A CH1) INTERRUPT

(CMD_F=1)

CURRENT MEASUREMENT
IS DONE

ENTER

EXIT

MOTOR IS STOPPED

(STOP_F = 1)

MOTOR STOP IS REQUIRED

PWM IS OFF

F

re

e

sc

a

le

S

e

m

ic

o

n

d

u

c

to

r,

I

Freescale Semiconductor, Inc.

For More Information On This Product,

Go to: www.freescale.com

n

c

.

..

Advertising