beautypg.com

Application state transitions – Motorola M68HC08 User Manual

Page 90

background image

Software Design

Designer Reference Manual

DRM028 — Rev 0

90

Software Design

MOTOROLA

Figure 5-7. Application State Transitions

RESET

STAND-BY STATE

RUNNING STATE

STOP STATE

PWM DISABLED

OVER VOLTAGE

(Stop_F = 0)

(Stop_F = 1)

PWM DISABLED

ALIGN STATE

PWM ENABLED

BACK-EMF ACQUISITION STATE

COMMUTATION + PWM ENABLED

ALIGN TIMEOUT EXPIRED

OVER CURRENT

COMMUTATION IS LOCKED

WITH BACK-EMF FEEDBACK

APPLICATION

INITIALIZE

DONE

IRRECOVERABLE

COMMUTATION

ERROR

COMMUTATION + PWM ENABLED

MOTOR STOP IS REQUIRED

MCU

INITIALIZE

RUN CONDITION

(START SWITCH IS ON

AND PCMode = 0

OR PCMode AND StartCtrl

AND SWITCH IS ON)

FAULT
STATE

PWM

DISABLED

CLEAR FAILURE

(START SWITCH SET OFF

OR PCMode AND CLEAR FAIL)

(FAILURE = 0)

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

.

..