beautypg.com

Motorola M68HC08 User Manual

Page 123

background image

User Guide

Application Hardware and Software Configuration

DRM028 — Rev 0

Designer Reference Manual

MOTOROLA

User Guide

123

6.4.4.1 Manual Operating Mode

In the manual operating mode, the drive is controlled by the RUN/STOP
switch and the required speed is set by the SPEED potentiometer. The
RUN/STOP switch enables/disables motor spinning. The yellow LED will
light whenever the application software correctly executes (so, it will also
light when motor spinning is disabled or at a fault state).

When motor spinning is enabled and starts spinning (alignment or
starting/back-EMF acquisition state), only the yellow LED lights.

When motor rotation is enabled and the motor runs with speed
closed loop (running state), the green LED lights (yellow LED also
lights).

If an over-current or over-voltage fault occurs, the internal fault
logic is asserted and the application enters a fault state indicated
by a red LED blinking (yellow LED lights).This state can be exited
only by an application RESET or setting RUN/STOP switch to
STOP.

NOTE:

It is strongly recommended that you inspect the entire application to
locate the source of the fault, before starting again.

6.4.4.2 PC Master Software (Remote) Operating Mode

In the PC master software (remote) operating mode, the drive is
controlled remotely from a PC through the serial communication
interface (SCI) channel of the MCU device via an RS-232 physical
interface. The drive is enabled by the RUN/STOP switch, which can be
used to safely stop the application at any time.

For the PC master software (remote) control it is necessary to have PC
master software installed on your PC computer!

Start the PC master software application:

...\bldc_zerocros08MR32\pc_master\BLDC.pmp

After you start the PC master software, press “control page” to make the
control window visible!

Figure 6-6

illustrates the PC master software

Control Window.

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

.

..