Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

Software Design

 

RESET

 

 

INITIALIZE

 

 

MCU

 

 

 

 

 

 

 

 

 

INITIALIZE

 

 

APPLICATION

 

RUN CONDITION

 

 

 

 

 

 

(START SWITCH IS ON

 

 

 

AND PCMode = 0

 

 

 

OR PCMode AND StartCtrl

 

 

 

AND SWITCH IS ON)

 

 

 

 

STAND-BY STATE

 

 

PWM DISABLED

 

(Stop_F = 0)

 

 

 

 

 

 

CLEAR FAILURE

 

 

(START SWITCH SET OFF

ALIGN STATE

 

OR PCMode AND CLEAR FAIL)

 

 

(FAILURE = 0)

PWM ENABLED

 

 

 

 

 

 

OVER CURRENT

 

ALIGN TIMEOUT EXPIRED

 

 

 

 

 

 

FAULT

 

 

 

STATE

BACK-EMF ACQUISITION STATE

IRRECOVERABLE

PWM

DISABLED

COMMUTATION + PWM ENABLED

COMMUTATION

 

 

 

ERROR

 

COMMUTATION IS LOCKED

 

WITH BACK-EMF FEEDBACK

 

RUNNING STATE

 

OVER VOLTAGE

COMMUTATION + PWM ENABLED

 

 

 

 

STOP STATE

 

MOTOR STOP IS REQUIRED

PWM DISABLED

DONE

(Stop_F = 1)

 

 

 

 

 

Figure 5-7. Application State Transitions

Designer Reference Manual

 

DRM028 — Rev 0

 

 

 

90

Software Design

MOTOROLA

 

For More Information On This Product,

 

 

Go to: www.freescale.com

 

Page 90
Image 90
Motorola M68HC08 manual Application State Transitions