Remote Drive. Quick Start Guide. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 0.1.

Similar documents
LED Matrix Board. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408)

USB BitJetLite Download Cable

IR Receiver Board Reference Manual System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408)

SLS Multiple USB Solutions on a Single Chip using MAX10FPGA

MAX II/MAX IIZ Development Board

Audio Codec Snap On Board

CoreCommander. User Guide. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408)

Using MicroC/OS-II RTOS with the Nios II Processor Tutorial Preliminary Information

University Program 3 Kit

Training Simulator Communications Hub Standard 420 (TSCH STANDARD 420)

Video Input Daughter Card Reference Manual

Using the Serial FlashLoader With the Quartus II Software

DSP Development Kit, Stratix II Edition

Excalibur Solutions DPRAM Reference Design

MasterBlaster Serial/USB Communications Cable User Guide

Board Update Portal based on Nios II Processor with EPCQ (Arria 10 GX FPGA Development Kit)

DSP Development Kit, Stratix & Stratix Professional Edition Getting Started User Guide

MAX V CPLD Development Kit User Guide

Table 1 shows the issues that affect the FIR Compiler v7.1.

Disassemble the machine code present in any memory region. Single step through each assembly language instruction in the Nios II application.

Active Serial Memory Interface

December 2002, ver. 1.3 Application Note 191. Six individual interrupts Six-bit priority scheme Five-bit priority scheme plus one individual interrupt

Nios II Development Kit Getting Started User Guide

Avalon Streaming Interface Specification

VGA/LCD Controller IP Core Setup

Using MAX 3000A Devices as a Microcontroller I/O Expander

Legacy SDRAM Controller with Avalon Interface

ByteBlaster II Parallel Port Download Cable

ByteBlaster II Download Cable User Guide

Cyclone III FPGA Starter Kit User Guide

PCI Express Development Kit, Stratix II GX Edition Getting Started User Guide

SignalTap II with Verilog Designs. 1 Introduction. For Quartus II 13.1

Arria II GX FPGA Development Kit HSMC Loopback Tests Rev 0.1

White Paper Configuring the MicroBlaster Passive Serial Software Driver

AN423: Configuring the MicroBlaster Passive Serial Software Driver

Debugging Nios II Systems with the SignalTap II Logic Analyzer

Arria II GX FPGA Development Board

Estimating Nios Resource Usage & Performance

Simulating the ASMI Block in Your Design

Nios II Embedded Design Suite 6.1 Release Notes

altshift_taps Megafunction User Guide

Clock Control Block (ALTCLKCTRL) Megafunction User Guide

AN 547: Putting the MAX II CPLD in Hibernation Mode to Achieve Zero Standby Current

Using MAX II & MAX 3000A Devices as a Microcontroller I/O Expander

AN 370: Using the Serial FlashLoader with the Quartus II Software

UTOPIA Level 2 Slave MegaCore Function

Table 1 shows the issues that affect the FIR Compiler, v6.1. Table 1. FIR Compiler, v6.1 Issues.

Simple Excalibur System

Implementing LED Drivers in MAX Devices

DSP Builder. DSP Builder v6.1 Issues. Error When Directory Pathname is a Network UNC Path

Implementing LED Drivers in MAX and MAX II Devices. Introduction. Commercial LED Driver Chips

Using the Nios Development Board Configuration Controller Reference Designs

Matrices in MAX II & MAX 3000A Devices

Floating Point Inverse (ALTFP_INV) Megafunction User Guide

Enhanced Configuration Devices

AN 549: Managing Designs with Multiple FPGAs

Video and Image Processing Suite

Simultaneous Multi-Mastering with the Avalon Bus

FPGAs Provide Reconfigurable DSP Solutions

Nios II Performance Benchmarks

Cyclone II FPGA Family

For Quartus II Software. This Quick Start Guide will show you how to set up a Quartus

Using the SDRAM on Altera s DE1 Board with Verilog Designs. 1 Introduction. For Quartus II 13.0

Quartus II Introduction Using Verilog Design

Simulating the Reed-Solomon Model

DDR & DDR2 SDRAM Controller

POS-PHY Level 4 MegaCore Function

Simulating the PCI MegaCore Function Behavioral Models

Error Correction Code (ALTECC_ENCODER and ALTECC_DECODER) Megafunctions User Guide

Laboratory Exercise 6

Introduction to the Altera SOPC Builder Using Verilog Design

Making Qsys Components. 1 Introduction. For Quartus II 13.0

Nios II Embedded Design Suite 7.1 Release Notes

Arria GX Development Kit Getting Started User Guide

DDR & DDR2 SDRAM Controller

Using the Serial FlashLoader with the Quartus II Software

Quartus II Introduction Using Schematic Design

Introduction. Design Hierarchy. FPGA Compiler II BLIS & the Quartus II LogicLock Design Flow

RapidIO Physical Layer MegaCore Function

DDR and DDR2 SDRAM Controller Compiler User Guide

Introduction to Simulation of VHDL Designs Using ModelSim Graphical Waveform Editor. 1 Introduction. For Quartus Prime 16.1

RLDRAM II Controller MegaCore Function

Nios PIO. General Description. Functional Description

FFT/IFFT Block Floating Point Scaling

PCI Express Multi-Channel DMA Interface

Arria II GX FPGA Development Board

NIOS II Processor Booting Methods In MAX 10 Devices

Increasing Productivity with Altera Quartus II to I/O Designer/DxDesigner Interface

Using Verplex Conformal LEC for Formal Verification of Design Functionality

PCI Express Compiler. System Requirements. New Features & Enhancements

Simulating the PCI MegaCore Function Behavioral Models

DDR & DDR2 SDRAM Controller Compiler

Nios Embedded Processor Development Board

FPGA Design Security Solution Using MAX II Devices

RapidIO MegaCore Function

Intel Quartus Prime Software Download and Installation Quick Start Guide

Introduction to the Altera SOPC Builder Using Verilog Designs. 1 Introduction

CORDIC Reference Design. Introduction. Background

Excalibur Solutions Using the Expansion Bus Interface. Introduction. EBI Characteristics

Nios DMA. General Description. Functional Description

Transcription:

Remote Drive Quick Start Guide, Inc. (USA) 14100 Murphy Avenue San Martin, CA 95046 (408) 852-0067 http://www.slscorp.com Version : 0.1.1 Date : July 17, 2007

Copyright 2007,.All rights reserved. SLS, An Embedded systems company, the stylized SLS logo, specific device designations, and all other words and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of SLS in India and other countries. All other products or service names are the property of their respective holders. SLS products are protected under numerous U.S. and foreign patents and pending applications, mask working rights, and copyrights. SLS warrants performance of its semiconductor products to current specifications in accordance with SLS is standard warranty, but reserves the right to make changes to any products and services at any time without notice. SLS assumes no responsibility or liability arising out of the application or use of any information, products, or service described herein except as expressly agreed to in writing by SLS. SLS customers are advised to obtain the latest version of specifications before relying on any published information and before orders for products or services. MPD_SO11_RD_QG_011 ii

About this Tutorial Introduction This document explains the procedure to run the Remote Drive application on DE1/DE2 Board using SLS Stackable Stepper Motor Controller and IR Receiver Board. We assume that the user is familiar with the usage of SLS Stackable Stepper Motor Controller Board, SLS IR Receiver and DE1/DE2 Board. Table below shows the Revision history of. Version Date Description 0.1.1 First Publication of Remote Drive Quick Start Guide. How to Contact SLS For the most up-to-date information about SLS products, go to the SLS worldwide website at http://www.slscorp.com. For additional information about SLS products, consult the source shown below. Information Type Product literature services, SLS literature services, Non-technical customer services, Technical support. E-mail support@slscorp.com iii

Typographic Conventions Typographic Conventions uses the typographic conventions shown as below. Visual Cue Meaning Bold Type with Initial Capital Letters All Headings and Sub Headings Titles in a document are displayed in bold type with initial capital letters; Example: Introduction, About Application Bold Type with Italic Letters 1. 2. All Definitions, Figure and Table Headings are displayed in Italics. Examples: Figure 1. Connection of E-Gasket with DE2 Board Numbered steps are used in a list of items, when the sequence of items is important. such as steps listed in procedure. Bullets are used in a list of items when the sequence of items is not important. The hand points to information that requires special attention The caution indicates required information that needs special consideration and understanding and should be read prior to starting or continuing with the procedure or process. The warning indicates information that should be read prior to starting or continuing the procedure or processes. The feet direct you to more information on a particular topic. iv

Contents About this Tutorial... iii Introduction...iii How to Contact SLS...iii Typographic Conventions...iv Quick Start Guide... 1 Introduction... 1 Before you Begin... 1 About Application... 1 Hardware Setup... 1 Downloading the Application...7 Running the Application... 9 v

vi

Quick Start Guide Introduction This document explains the procedure to run the Remote Drive application on DE1/DE2 Board using SLS Stackable Stepper Motor Controller and IR Receiver Board. In this guide, you will learn: 1. About Remote Drive application 2. Remote Drive hardware setup 3. Downloading the application 4. Running the application Before you Begin To run the Remote Drive application you require following hardware: DE1/DE2 Board Two Stepper Motor Controller Boards IR Receiver Board E-Gasket Two Stepper Motors IR Keyboard USB Cable DE1/DE2 Power Supply We assume that the Altera s Software Design Suite (Quartus II, Nios II), version 6.1 is installed on your PC. About Application Hardware Setup The Remote Drive application for DE1/DE2 board is designed to control two stepper motors using the IR keyboard. The application uses the joystick (available on the IR keyboard) to control single or both stepper motors in forward/reverse direction. The Remote Drive application for DE1 and DE2 boards is found at: <..//SSMC_Demonstrations/Remote_Drive/> To set up the hardware for Remote Drive application perform the steps below: 1. Take the DE1/DE2 Board 2. Plug in the power supply adapter to provide power to the DE1/DE2 board. 3. Connect DE1/DE2 board with the PC using USB cable. 1

Hardware Setup Figure 1. Connection of E-Gasket with DE1 Board 4. Mount the IO Header (J7, J8) of E-Gasket on header (JP1, JP2) of DE1/DE2 board. Figure 1 shows the connection with DE1 board. 5. Mount the IO Santa Cruz connectors (JP2, JP3 and JP4) of first Stackable Stepper Motor Controller on Header (J3, J5, and J4) of E-Gasket as shown in Figure 2. 2

Quick Start Guide Figure 2. Mounting Stackable Stepper Motor Snap On Board on the E-Gasket Make sure that Jumper Pin JP12.1 is shorted with JP12.2 and Jumper pin JP13.1 is shorted with JP13.2 for both Stackable Stepper Motor Controllers. 6. For controlling Stepper Motor1, make the Stackable Stepper Motor Controller1 s jumper settings as shown in Table 1. Table 1. Jumper Settings for Stepper Motor1 Jumper Name Jumper Settings JP8 JP9 JP10 JP11 Shot JP8.1 with JP8.2 Shot JP9.1 with JP9.2 Shot JP10.1 with JP10.2 Shot JP11.1 with JP11.2 7. For controlling Stepper Motor2, make the Stepper Motor Controller2 s jumper settings as shown in Table 2. Table 2. Jumper Settings for Stepper Motor2 Jumper Name Jumper Settings JP8 JP9 Shot JP8.3 with JP8.4 Shot JP9.3 with JP9.4 3

Hardware Setup Table 2. Jumper Settings for Stepper Motor2 JP10 JP11 Jumper Name Jumper Settings Shot JP10.3 with JP10.4 Shot JP11.3 with JP11.4 Figure 3 below indicates motor connections and jumper settings with locations for Stepper Motor Controller board 1.. Figure 3. Jumper Settings for Stackable Stepper Motor Controller1 8. After that mount the IO Santa Cruz connectors (JP2, JP3 and JP4) of second stackable stepper motor snap on board on Header (JP5, JP6 and JP7) of first stackable stepper motor. As shown in Figure 4. 4

Quick Start Guide Figure 4. Mounting Stepper Motor Controller2 on Stepper Motor Controller1 9. Now mount the IO Santa Cruz connectors (J1, J2 and J3) of IR Receiver board on Header (JP5, JP6 and JP7) of second Stackable Stepper Motor Controller. Figure 5 below shows the final view of the hardware. 5

Hardware Setup Figure 5. Mounting IR on SSMC 10. Connect Stepper Motor wires with Stepper Motor Controller Board s driver outputs (Y1, Y2, Y3 and Y4). Refer to the datasheet of the motor you are using for details on motor connections. 6

Quick Start Guide Figure 6. Final View of Remote Drive Set up Final view of the Remote Drive is as shown in Figure 6. Please make sure that USB-Blaster is installed on your PC. Refer to getting started user guide for DE1/DE2 Board for more details. Downloading the Application The Remote Drive application is provided in the form of an MS-DOS batch file. Follow the steps below to download the respective (DE1/DE2) application: 7

Downloading the Application 1. To run the run.bat file for DE1 board, double click the run.bat file from the SLS_Stackable_Stepper_Motor_Controller\SSMC_Demonstrations \Remote_Drive\remotedrive_de1 folder. The console shows the output as shown in Figure 7. Figure 7. Console Window after Running the run.bat for DE1 Board To run the run.bat file for DE2 board, double click the run.bat file from the SLS_Stackable_Stepper_Motor_Controller\SSMC_Demonstrations\ Remote_Drive\remotedrive_de2 folder. 2. The SOF file will be downloaded first using the Quartus II programmer with the help of USB Blaster. 3. After successful downloading, it will prompt for any key press. Press any key when you find 0 errors. The software application to control the motor will be downloaded which is in the form of ELF file. The Figure 8 shows the console window after successful downloading. 8

Quick Start Guide Figure 8. Nios II C Application Downloading Complete 4. Now the application is downloaded and ready to use. Press any key to close the window. Running the Application With the help of Joystick of the IR Keyboard, you can observe the rotation of single and/or both Stepper Motors. Table 3 shows the information on motor control using joystick. Table 3. Stepper Motor Control Operation using Joystick Joy Stick s Position Stepper Motor1 Stepper Motor2 UP No rotation Rotates clockwise DOWN No rotation Rotates anti-clockwise RIGHT Rotates clockwise No rotation LEFT Rotates anti-clockwise No rotation UP-RIGHT Rotates clockwise Rotates clockwise UP-LEFT Rotates anti-clockwise Rotates clockwise DOWN-RIGHT Rotates clockwise Rotates anti-clockwise DOWN-LEFT Rotates anti-clockwise Rotates anti-clockwise Figure 9 shows IR keyboard. 9

Running the Application Figure 9. IR Keyboard 10