STEPPER-MOTOR-RD STEPPER MOTOR REFERENCE DESIGN KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. Figure 1. Stepper Motor Reference Design Board



Similar documents
Figure 1. 8-Bit USB Debug Adapter

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AN111: Using 8-Bit MCUs in 5 Volt Systems

AN803. LOCK AND SETTLING TIME CONSIDERATIONS FOR Si5324/27/ 69/74 ANY-FREQUENCY JITTER ATTENUATING CLOCK ICS. 1. Introduction

AN962: Implementing Master-Slave Timing Redundancy in Wireless and Packet- Based Network Applications

TS1005 Demo Board COMPONENT LIST. Ordering Information. SC70 Packaging Demo Board SOT23 Packaging Demo Board TS1005DB TS1005DB-SOT

UG103.8: Application Development Fundamentals: Tools

UG129: ZigBee USB Virtual Gateway Reference Design (RD ) User's Guide

AN862. OPTIMIZING Si534X JITTER PERFORMANCE IN NEXT GENERATION INTERNET INFRASTRUCTURE SYSTEMS. 1. Introduction

AN952: PCIe Jitter Estimation Using an Oscilloscope

AN486: High-Side Bootstrap Design Using ISODrivers in Power Delivery Systems

AN580 INFRARED GESTURE SENSING. 1. Introduction. 2. Hardware Considerations

Making Prototyping Boards for the EFM32 kits

AN922: Using the Command Line Interface (CLI) for Frequency On-the-Fly with the Si5346/47

UG103-13: Application Development Fundamentals: RAIL

Bootloader with AES Encryption

Current Digital to Analog Converter

AN220 USB DRIVER CUSTOMIZATION

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

How To Develop A Toolstick

AN220 USB DRIVER CUSTOMIZATION

ETRX3USB ETRX3USB-LRS ETRX3USB+8M ETRX3USB-LRS+8M PRODUCT MANUAL

RoHs compliant, Pb-free Industrial temperature range: 40 to +85 C Footprint-compatible with ICS , 2.5, or 3.3 V operation 16-TSSOP

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

Table 1. RF Pico Boards of the EZRadioPRO Development Kits. Qty Description Part Number

AN104 I NTEGRATING KEIL 8051 TOOLS INTO THE SILICON LABS IDE. 1. Introduction. 2. Key Points. 3. Create a Project in the Silicon Labs IDE

AN335 USB DRIVER INSTALLATION UTILITY. 1. Description. 2. Installation Install Package

AN614 A SIMPLE ALTERNATIVE TO ANALOG ISOLATION AMPLIFIERS. 1. Introduction. Input. Output. Input. Output Amp. Amp. Modulator or Driver

Backup Power Domain. AN Application Note. Introduction

AN583: Safety Considerations and Layout Recommendations for Digital Isolators

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Telegesis is a trademark of Silicon Laboratories Inc. Telegesis ZigBee Communications Gateway. Product Manual

UG103.8 APPLICATION DEVELOPMENT FUNDAMENTALS: TOOLS

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

QSG105 GETTING STARTED WITH SILICON LABS WIRELESS NETWORKING SOFTWARE

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

AN335 USB DRIVER INSTALLATION METHODS. 1. Introduction. 2. Relevant Documentation. 3. DPInst Installation and Customization

QSG108: Blue Gecko Bluetooth Smart Software Quick-Start Guide

USER GUIDE EDBG. Description

AN0822: Simplicity Studio User's Guide

USB Stick Driver Installation Instructions

Getting Started with Kinetis SDK (KSDK)

AN655 R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO. 1. Introduction. 2. Supported Radio Types

Selecting the Right MCU Can Squeeze Nanoamps out of Your Next Internet of Things Application

Genesi Pegasos II Setup

MS830 / MS833 Barcode Reader v1.0 9-December-2014

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction

Cypress CY7C64225 USB-to-UART Setup Guide Version 1.3

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

USB FM Radio-RD USB FM RADIO USER S GUIDE. 1. USB FM Radio Setup. One-time set-up enables configuration of presets and region specific FM band

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

Configuring Serial Terminal Emulation Programs

Keep it Simple Timing

The following document contains information on Cypress products.

User Manual. Thermo Scientific Orion

GV-Data Capture V3 Series User's Manual

Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers. User s Guide

SecureLinx Spider Duo Quick Start Guide

AT88CK490 Evaluation Kit

STM32F4DISCOVERY. Discovery kit with STM32F407VG MCU. Features. Description

PN L, Revision B, October Epic 950 TM. Master Programmer User s Guide

1 Software Overview ncp-uart ash-v3-test-app ash-v3-test-app Command Line Options Testing... 2

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

FLoader User's Manual

Current Cost Data Cable User Guide. Installing and configuring the data cable

Vicon Flash Upgrade Software

Connect the EFM32 with a Smart Phone through the Audio Jack

PM1122 INT DIGITAL INTERFACE REMOTE

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual

APPLICATION. si32library. Callback CMSIS HARDWARE. Figure 1. Firmware Layer Block Diagram

Table of Contents. ARM Evaluation Board (AEB-1) Welcome Guide ARM DGI 0005D. Proprietary Notice

ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4

MED-AFEs Design Reference Manual

Intel Compute Stick STCK1A32WFC User Guide. Intel Compute Stick STCK1A32WFC

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

Desktop NETGEAR Genie

User Manual. AS-Interface Programmer

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

Guide to Installing BBL Crystal MIND on Windows 7

Liebert IntelliSlot Web Cards

Knowledge Base POS/C31A Troubleshooting

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

PL-2303 (Chip Rev H, HX, X) USB to Serial Adapter Windows Driver Installer Manual

AN10866 LPC1700 secondary USB bootloader

HVP-KV31F120M Quick Start Guide

STIM202 Evaluation Kit

ISP Engineering Kit Model 300

MAXREFDES46# Quick Start Guide UG6207; Rev 1; 9/15. Abstract

USER GUIDE. ZigBit USB Stick User Guide. Introduction

LabelWriter. Print Server. User Guide

RN-XV-RD2 Evaluation Board

Transcription:

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

3. Stepper Motor Reference Design Demonstration The Stepper Motor Reference Design includes everything you need to set up a stepper motor demonstration. Connect the stepper motor to the stepper motor control board following the wiring chart for the 42BYG205 motor as shown in Table 1. Table 1. GBM 42BY201 Stepper Motor Wiring Diagram Color Name red A+ yellow Ac blue A green B+ orange Bc brown B Connect the universal ac/dc power adaptor to the dc supply (P1) on the Stepper Motor Reference Design Board. Press the Function (FUNC) button on the Stepper Motor Reference Design Board. The motor will turn in one direction. Notice that the motor accelerates smoothly up to the maximum speed, moves at a constant speed, and then decelerates smoothly to a standstill. Press the function button again and the motor will turn the other direction. Stepper Motor J3 J1 RS232 Debug Stepper Motor Reference Design Board FUNC P1 AC/DC Adapter Figure 2. Stepper Motor Reference Design Demonstration Setup 2 Rev. 0.1

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 PC Serial Cable J3 J1 RS232 Debug Stepper Motor Reference Design Board 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: Start Programs Accessories Communications HyperTerminal 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

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

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

6. Development Setup using the USB Debug Adapter The Stepper Motor Reference Design includes everything you need to develop your own stepper motor control firmware using the Silicon Laboratories C8051F300/1 MCU. The Stepper Motor reference design code may be used as a starting point for your own code development. Connect the Stepper Motor, ac/dc power adapter, and serial cable if you have not done so already. Refer to the stepper motor wiring Table 1 on page 2 for the stepper motor connections. Connect the USB Debug Adapter ribbon cable to the 10-pin Debug connector on the Stepper Motor Reference Design Board. Connect the USB Debug Adapter to your PC using the supplied USB cable as shown in Figure 7. Stepper Motor PC USB Port USB Cable Serial Cable USB Debug Adapter Ribbon Cable J3 J1 RS232 Debug Stepper Motor Reference Design Board P1 AC/DC Adapter Figure 7. Development Setup using the USB Debug Adapter 6 Rev. 0.1

7. Stepper Motor Project The source code for the Stepper Motor Reference design is installed from the CD onto your hard drive in the following default location: C:\SiLabs\MCU\Stepper_Motor_RD\firmware\ The software for AN155 is also available as a zip file on the CD or from the Silicon Laboratories website. To create a stepper motor project, complete the following steps: 1. Launch the Silicon Laboratories IDE from the Start menu. 2. Select Add Files to Project from the Project menu. 3. Browse to the source code location listed above, and open the file stepper.c. 4. Double click on Stepper.c in the Project Workspace pane to open. 5. Select Rebuild All from the project menu or click on the Rebuild All button. (The IDE will compile and link the stepper.c file as shown in Figure 8.) 6. Select Connection Options from the Options menu. 7. Make sure the USB Debug Adapter is selected and the Debug Interface is using the C2 connection. 8. Select Connect from the Debug menu, or click on the Connect button in the tool bar. The Status Bar should display Target:C8051F301 to indicate the IDE is connected to the MCU on the Stepper Motor Reference Design Board. Refer to the application note AN155 for additional information on the stepper motor code. Figure 8. Stepper Motor Project Rev. 0.1 7

8. Related Documents Stepper Motor Reference Design Quick Start Guide AN155: Stepper Motor Reference Design Soft copies of this document and the ones listed above are included on the Reference Design Kit Tools & Documentation CD. Click on Browse Documents to locate them or explore the CD and locate the User s Guides and Application Notes in the Documents folder. The latest versions of the documentation and software can also be downloaded from the Silicon Laboratories website www.silabs.com. 8 Rev. 0.1

Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio www.silabs.com/iot SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.com Disclaimer Silicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products must not be used within any Life Support System without the specific written consent of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Laboratories products are generally not intended for military applications. Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, CMEMS, EFM, EFM32, EFR, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZMac, EZRadio, EZRadioPRO, DSPLL, ISOmodem, Precision32, ProSLIC, SiPHY, USBXpress and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com