Silicon Laboratories Stepper Machine Stepper Machine User Manual

STEPPER-MOTOR-RD  
STEPPER MOTOR REFERENCE DESIGN KIT USER S GUIDE  
1. Kit Contents  
The Stepper Motor Reference Design Kit contains the following items:  
Stepper Motor Reference Design Board  
Stepper Motor  
Universal AC to DC Power Adapter  
USB Debug Adapter  
USB Cable  
Serial Cable  
Reference Design Kit Tools & Documentation CD  
2. Kit Overview  
This reference design demonstrates a high-performance stepper motor system using the C8051F300/1. The  
reference design provides for both stand-alone demo operation and UART control. The reference design may also  
be used as a platform for stepper motor code development.  
This User's Guide provides a step-by-step guide for getting your system up and running. Refer to the application  
note “AN155: Stepper Motor Reference Design“ for complete documentation of the Stepper Motor Reference  
Design.  
Figure 1. Stepper Motor Reference Design Board  
Rev. 0.1 5/06  
Copyright © 2006 by Silicon Laboratories  
STEPPER-MOTOR-RD  
Download from Www.Somanuals.com. All Manuals Search And Download.  
STEPPER-MOTOR-RD  
4. HyperTerminal Demonstration  
Start with the Demo Setup above and add an RS-232 cable connection to your computer as shown in Figure 3. The  
RS-232 connection is used with a terminal program to provide a basic terminal interface for the stepper motor. If  
your PC has USB and does not have a serial port, you may use the Silicon Laboratories CP2102 EK to provide a  
virtual COM port connection.  
Stepper  
Motor  
Serial Cable  
PC  
Stepper Motor  
Reference Design  
Board  
J3  
J1  
P1  
AC/DC  
Adapter  
Figure 3. Stepper Motor Reference Design Terminal Setup  
Open the HyperTerminal application. The HyperTerminal program may be launched on most Windows XP systems  
from the Start Menu:  
StartProgramsAccessoriesCommunicationsHyperTerminal  
Enter any name into the "Connection Description" dialog box is shown in Figure 4. In the "Connect To" dialog box,  
choose the COM port corresponding to the Serial connection on your PC. In the Port Settings dialog box select  
57600 baud and no flow control. Use the default settings of 8 data bits, no parity, and one stop bit.  
Figure 4. Setting Up HyperTerminal  
Rev. 0.1  
3
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
STEPPER-MOTOR-RD  
Push the Reset button on the Stepper Motor Reference Design Board. When reset, the Stepper Motor Reference  
Design sends a ">" prompt character to the terminal. If you do not get a prompt character, check your port settings,  
cable connections, and make sure the Stepper Motor Reference Design Board is powered.  
The Stepper Motor Reference Design command line provides some basic terminal commands to display motor  
status, change position, and change acceleration. Typing an “s” character immediately displays the motor status.  
Typing a "p" followed by a number and a return moves the motor to the desired position. See “AN155: Stepper  
Motor Reference Design“ for a detailed description of the command line interface.  
Figure 5. Stepper Motor Command Line  
4
Rev. 0.1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
STEPPER-MOTOR-RD  
5. Development Tool Installation  
Install the Reference Design Kit Tools from the Reference Design Kit Tools & Documentation CD. This installs the  
Silicon Laboratories IDE and the 2k code size limited version of the Keil Compiler.  
Figure 6. Install Development Tools  
Rev. 0.1  
5
Download from Www.Somanuals.com. All Manuals Search And Download.