Motorola M68HC08 User Manual
Page 122
User Guide
Designer Reference Manual
DRM028 — Rev 0
122
User Guide
MOTOROLA
NOTE:
Remember, the MMDS MCU clock must be set to 4 MHz. Change the
crystal oscillator, or set oscillator W1 to MMDS, and set 4 MHz in the
real-time debugger — MMDS0508/target signals/4 MHz!
Once the application is running, move the RUN/STOP switch to the RUN
position and set the required speed with the SPEED potentiometer. If
successful, the BLDC motor will be spinning.
NOTE:
If the RUN/STOP switch is set to the RUN position when the application
starts, toggle the RUN/STOP switch between the STOP and RUN
positions to enable motor spinning. This is a protection feature that
prevents the motor from starting when the application is executed from
CodeWarrior.
6.4.3.3 Execute from Pre-programmed MCU
When the software is built, the S-record file
bldc_zerocros08mr32_MMDS.sx is generated in:
...\bldc_zerocros08MR32\bin\bldc_zerocros08mr32_MMDS.sx
NOTE:
The software must be built (see
Build
) to generate by linker the
bldc_zerocros08mr32_MMDS.sx file (last update)
This S-record file can be used for programming of MC68HC908MR32
MCU devices. An external programmer (e.g., Motorola M68HC08 serial
programmer) must be used to program the device!
The programmed MCU, with MC68HC908MR32 daughter board
module, can then be plugged into the controller board (ECCTRMR32)
instead of the emulator cable.
6.4.4 Application Control
This BLDC sensorless motor control application can operate in two
modes:
1.
Manual Operating Mode
2.
PC Master Software (Remote) Operating Mode
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
.
..