Executing The Sample Code - ZiLOG Z16FMC Series Quick Start Manual

Motor control development kit
Table of Contents

Advertisement

The sample code has preprogrammed Direction SWITCH S2 to change the direction
of motor spin. Run/Stop SWITCH S3 is set to turn the motor ON and OFF. Speed
potentiometer R7 allows you to change the direction of motor spin and motor speed.
2. Experiment with the switches to see how simple it is to control the motor using the
Z16FMC MCU installed on the kit's MC MDS board.
Step 7. Power Down the Motor
After seeing how the sample code operates, turn the adjustable power supply to 0 V DC
and unplug the 5 V DC universal power supply from the MC MDS board.

Executing the Sample Code

The steps below outline the basic script for executing the sample code in debug mode
using ZDS II. Each of these steps is further described in this section.
1. Stop the preloaded sample code and turn power to the 3-phase motor and MC MDS
board off.
2. Install the ZDS II–ZNEO Series Software.
3. Install the USB Smart Cable driver software and USB Smart Cable.
4. Connect the USB Smart Cable to the MC MDS board.
5. Download and run the sample code in Debug mode using ZDS II.
Step 1. Stop the Preloaded Sample Code
If you have not already done so, apply the adjustable power supply to 0 V DC and unplug
the 5 V DC universal power supply from the MC MDS board.
Step 2. Install the ZDS II–ZNEO Series Software
Observe the following steps to install the ZDS II software tool.
1. Insert the ZDS II CD into your computer's CD-ROM drive. DemoShield launches au-
tomatically. If it does not automatically launch, go to the root of the CD-ROM and dou-
ble-click the
launch.exe
2. DemoShield provides several installation choices. To install ZDS II right away, select
Install Zilog Developer Studio. You can install other software and accompanying
documentation later.
QS007901-1110
Z16FMC Series Motor Control Development Kit
file.
Quick Start Guide
Page 6 of 15

Advertisement

Table of Contents
loading

Table of Contents