CPLD board datasheet EB

Similar documents
CPLD board datasheet EB

CPLD board. EB020

Atmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents

ECIO Base Board datasheet EB061-00

LIN bus board datasheet EB

1. About this document General information Board layout Testing this product Circuit description...

Card Reader Board EB037-00

Opto-isolator board datasheet EB

PICmicro Microcontroller Lite programmer datasheet

eblocks A Adaptor Board datasheet Matrix Multimedia Adaptor Board Contents

Graphical LCD Display Datasheet EB

RS485 board datasheet EB062-00

Bluetooth board EB Technical datasheet

ARM programmer and daughter board EB Technical datasheet

SPI Memory and D/A board datasheet EB

4D Picaso Touchscreen Display board datasheet EB

USB232 board EB Technical datasheet

Home Automation Board datasheet

Internet board datasheet EB

Wireless LAN board. EB069

ARM programmer and daughter board

Raspberry Pi board. EB080

Sensor Board datasheet

ECIO base board. EB061

IrDA Board datasheet. Matrix Multimedia IrDA Board. Contents

PICmicro MCU Multiprogrammer EB Technical datasheet

Typical applications where a CPLD may be the best design approach:

eblocks Sensor Board datasheet Matrix Multimedia Sensor Board Contents

Locktronics PICmicro getting started guide

Motor driver board. EB022

Motor angle (servo) trainer board

EB020 Installation Instructions.

LED board. EB004

Accelerometer board. EB068

TFT Graphical LCD Board

CHAPTER 2 LITERATURE REVIEW

Power board. EB011

Polmaddie6 User Manual. Issue 1.0

Sidewinder Development Board rev 1.0

Universal VLSI Protoboard

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Wireless LAN board. EB069

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

MX Educational Target User Manual

EB-51 Low-Cost Emulator

Getting Started with STK200 Dragon

CEIBO FE-5111 Development System

Microtronix Firefly II Module

_ V1.0. Freescale MPC5607B Bolero Mini Target Board. User s Manual. Ordering code

Nios Embedded Processor Development Board

CPLD Software Tutorial FOR ALTERA MAX+PLUS II

VGA multimedia board

Chameleon POD Specification v1.2

_ V1.3. MPC5643L Target Board. User s Manual. Ordering code

Usable gates 600 1,250 2,500 5,000 10,000 Macrocells Logic array blocks Maximum user I/O

TFT LCD multimedia board with touchscreen

PIC 28 Pin Board Documentation. Update Version 5.0

MAX II/MAX IIZ Development Board

Sensor board. EB003

NOTE: This tutorial contains many large illustrations. Page breaks have been added to keep images on the same page as the step that they represent.

Copyright 2011 R.S.R. Electronics, Inc. All rights reserved. 04/11. Ver. 1.0web

CHAPTER 1 Introduction of the tnano Board CHAPTER 2 tnano Board Architecture CHAPTER 3 Using the tnano Board... 8

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Goal: We want to build an autonomous vehicle (robot)

Multi-CPLD SUPPORTS ALTERA MAX7000S AND MAX3000A PLD DEVICES. Logic Design Environment. Maximum Digital Designs, LLC Presents:

Introduction to VHDL Design on Quartus II and DE2 Board

PS/2 and SVGA board. EB033

Digilab 2 XL Reference Manual

HCAL DCC Technical Reference E. Hazen - Revised March 27, 2007 Note: Latest version of this document should be available at:

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

PICmicro MCU multiprogrammer

Data Sheet W65C134DB Developer Board

Tutorial for Altera DE1 and Quartus II

Easy Kit Board Manual

Parallel Cable III Emulator for the XSB-300E Board

Parallel Cable III Emulator for the XSV Board

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 7: VHDL and DE2 Board. Name: Date:

Quick Tutorial for Quartus II & ModelSim Altera

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Chapter 13 Programmable Logic Device Architectures

Revision: May 11, E Main Suite D Pullman, WA (509) Voice and Fax LED. Doc: page 1 of 6

Nios Soft Core. Development Board User s Guide. Altera Corporation 101 Innovation Drive San Jose, CA (408)

Terasic DE0 Field Programmable Gate Array (FPGA) Development Board

Chapter 2 Getting Hands on Altera Quartus II Software

CPE 200L LABORATORY 4: INTRODUCTION TO DE2 BOARD UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND:

U4DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 19. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

ECE 353 Lab 4. MIDI Receiver in Verilog. Professor Daniel Holcomb UMass Amherst Fall 2016

FPGA starter pack. EB940

HAND HELD PROGRAMMER QUICK START GUIDE

Evaluation & Development Kit for Freescale PowerPC MPC5517 Microcontroller

Spartan-II Demo Board User s Guide

Altera EP4CE6 Mini Board. Hardware User's Guide

S USB-PC Connection (Cable Not Included) S USB Powered (No External Power Supply Required) S Real-Time Data Acquisition Through the USB

LCD board. EB005

Digilab 2 Reference Manual

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

ST SPC58 B Line Emulation Adapter System

U6DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 18. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

NIOS CPU Based Embedded Computer System on Programmable Chip

QUARTUS II Altera Corporation

Transcription:

CPLD board datasheet EB020-00-3 Contents. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix Circuit diagram Copyright Matrix Multimedia Limited 200 page

. About this document This document concerns the E-blocks CPLD board, code EB020 version 3. The order code for this product is EB020.. Trademarks and copyright PIC and PICmicro are registered trademarks of Arizona Microchip Inc. E-blocks is a trademark of Matrix Multimedia Limited. 2. Other sources of information There are various other documents and sources that you may find useful: Getting started with E-Blocks.pdf This describes the E-blocks system and how it can be used to develop complete systems for learning electronics and for PICmicro programming. PPP Help file This describes the PPP software and its functionality. PPP software is used for transferring hex code to a PICmicro microcontroller. C and assembly strategies This is available as a free download from our web site. 3. Disclaimer The information in this document is correct at the time of going to press. Matrix Multimedia reserves the right to change specifications from time to time. This product is for development purposes only and should not be used for any life-critical application. 4. Technical support If you have any problems operating this product then please refer to the troubleshooting section of this document first. You will find the latest software updates, FAQs and other information on our web site: www.matrixmultimedia.com. If you still have problems please email us at: support@matrixmultimedia.co.uk. Copyright Matrix Multimedia Limited 200 page 2

2. General information. Description This CPLD Board connects to your PC via a standard USB cable to provide you with a low cost CPLD development board and programmer. The board is fully compatible with a wide range of E-blocks which makes it an extremely flexible platform for learning and developing projects. The CPLD Board allows in-circuit programming of an ALTERA CPLD device. This board is used together with Altera s free and comprehensive downloadable CPLD program, Quartus II. The board can be programmed using various programming techniques such as Schematic Entry, Block Diagram and Hardware Description Languages (HDLs such as AHDL, VHDL and Verilog). It provides clean access to all available I/O lines on the relevant CPLD device. Further information on E-blocks is available in a separate document entitled Introduction to E-blocks.doc. 2. Features E-blocks compatible Used as a programmer and as a development board Full suite of programming software 25MHz Xtal operation 7 full I/O ports 3. Block schematic USB Programming Port Clock circuit X USB Programming Circuitry C5 C6 J4 4V 0V +V OUT +V OUT +4V Power supply regulation 5V J2 SW J ON OFF D4 POWER INDICATOR 2 TDO TDI TMS TCK Socketed CPLD device CPLD [J5] CPLD2 [J6] CPLD4 [J] CPLD3 [J7] CPLD7 [J] CPLD6 [J0] CPLD5 [J9] Copyright Matrix Multimedia Limited 200 page 3

3. Board layout ) Power connector 2) USB connector 3) Power LED Indicator 4) USB LED Indicator 5) USB Host Device 6) Programming Buffer 7) CPLD Crystal ) Bridge Rectifier 9) Power Screw Terminals 0) Power Switch ) Power Mode Switch (PSU / USB) 2) ALTERA CPLD and Socket 3) Port - CPLD 4) Port CPLD2 5) Port CPLD3 6) Port CPLD4 7) Port CPLD5 ) Port CPLD6 9) Port CPLD7 20) ALTERA JTAG Header EB020-74-3.cdr Copyright Matrix Multimedia Limited 200 page 4

4. Testing this product. Installing Quartus II This software a web-based and therefore requires the users to have access to the Internet. ) Enter the Altera website at www.altera.com 2) Click Design software under the product header. 3) Now click Downloading under the Ordering & Downloading header. 4) Next, click Quartus II Web Edition. 5) Follow the on-screen instructions to download the program 6) Please note that this will involve registering to the Altera website. 7) On completion of the on-screen instructions Quartus II web edition will be fully installed and ready to use. ) For the most up-to-date version of this software please visit the Altera web page at: www.altera.com 2. Test Procedure The following instructions explain the steps to test and use your CPLD Board. The instructions assume that Quartus II Web Edition is installed and functional. It assumes that the folder Flasher has been copied to a suitable place on your computer. Follow these instructions to test the CPLD Board ) Ensure power is supplied to the CPLD Board necessary boards. 2) Insert EB-004 LED board into any Port of the CPLD Board 3) Ensure that the power switch (SW) is in the ON position 4) Open Quartus II 5) Open the flasher project 6) Navigate to the flasher folder using the pop-up window 7) Double click on flasher.quartus ) From the Tools menu open up the programmer 9) Tools -> Programmer 0) Click on the following boxes to highlight the programming options ) Program / Configure 2) Verify 3) Click on Start Programming Icon 4) This should send the program to the CPLD 5) If there is a problem check all cables are connected. Check that all the LEDs on the LED board light up 6) The sequence is as follows. Each light should light consecutively 2. Then all should stay on 7) You can reset the program by removing the power supply., or switching SW to the OFF position then to ON can perform reset This should satisfy that the CPLD Board is fully functional! Copyright Matrix Multimedia Limited 200 page 5

5. Circuit description The CPLD Board solution is made up of two parts: A circuit board that allows slave CPLD devices to be programmed, and the program to be executed seamlessly, and the Windows based programming utility Quartus II Web Edition.. Power Supply The board can be powered from a 4V supply. The regulation circuitry will withstand unregulated 20V as a maximum input voltage and 7V as a minimum. If you are using a DC power supply then you should use a 4V setting. Power can be connected using the 2.mm power jack (positive outer), or the screw terminal connectors J, J2. The two +V OUT screw terminals are supplied for powering other E-blocks, supplying approximately +5V. The regulator will supply up to 400mA via all outputs. LED D4 will indicate that power is connected to the board and that the voltage regulation circuitry is fully functional. Please note connector J4 is directly connected to the J screw terminal pin labeled +4V, therefore any voltage input to J4 will also be available direct from pin of J. Note Remember that other E-blocks will have to receive +5V by placing a connecting wire from the +V Out screw terminal of the Multiprogrammer to the +V screw terminal of each E-Block that requires a voltage. 2. The CPLD The CPLD that comes with this board is an 4-pin PLCC Altera MAX 7000 series device. The device has 2500 usable gates with 2 Macrocells available. The device has a maximum of 6 I/O lines (note some of them are multiplexed for dual use). This CPLD board utilizes 56 I/O pins, thus providing plenty of resources to set up both simple and complex projects. 3. Crystal operation The board is fitted with a 25MHz crystal. To make use of the 25MHz crystal, your design must include a not gate function between the crystal input (Pin ) and the crystal output (Pin 0). The system clock can be taken from the output of the not gate. The following diagram shows the block schematic, using Quartus, for the necessary circuit to enable the 25MHz crystal. The clk_in input is connected to Pin location ; this is the physical pin for the crystal input. The clk_out input is connected to Pin location 0; this is the physical pin for the crystal output. The output of the not gate is used as a system clock to clock all other parts of the circuit. Drawing showing the clock schematic block to enable 25MHz The following is an example Verilog code to enable the crystal in the design. This design uses the same name as the clock schematic above. /********* Crystal oscillator ***********/ always @ (clk_in) begin clk_out =!clk_in end /***************************************/ Copyright Matrix Multimedia Limited 200 page 6

An example of VHDL code to use the crystal in your design is shown below. Again this code uses the same names as the above clock schematic. ---------------------------------------------------------------- entity clock_gen is port( clk_in: in std_logic; clk_out: out std_logic); end clock_gen; architecture behave of clock_gen is begin process (clk_in) begin clk_out <= not clk_in; end process; end behave; ---------------------------------------------------------------- 4. DIL Headers and I / O Ports The CPLD DIL Headers (J2, J3, J4 and J4) are wired to the exact replica of the CPLD pins. The s surrounding these 4 DIL header pins shows pin of the CPLD device each header pin is connected to. Please note that the 4 header blocks have 22 pins each and therefore one is not connected, which is marked with an X on the board. There are 56 dedicated I/O lines fed out to 7 D-type sockets grouped in ports, each port having I/O lines. The pinout of these ports can be found below NOTE All I/O available are clean signals this means there is no protection. The user must be aware of this when selecting the functionality of the pins. Avoid connecting +V directly to an I/O pin or two outputs pins directly together this can damage the CPLD device. 5. USB circuitry The EB020 CPLD FPGA Board makes use us a USB socket to provide the programming functionality. Note that the Altera Quartus II software thinks that it is talking to a parallel port or LPT port when it is talking to the Byteblaster cable. This is normal as the USB driver chip is actually emulating a parallel port. 6. Device pin out The following diagram shows the pin-out of the Alter MAX EPM2SLC4 device that comes with this board. Copyright Matrix Multimedia Limited 200 page 7

7. Port connections The following table shows the pin connections on the 9-way D-type ports. This should be used for correctly setting the Pin location in the Quartus software. CPLD EPM72 pin IO 4 2 IO 5 3 IO 6 4 IO 5 IO 9 6 IO 0 7 IO IO 2 CPLD2 EPM72 pin IO 5 2 IO 6 3 IO 7 4 IO 5 IO 20 6 IO 2 7 IO 22 IO 24 CPLD3 EPM72 pin IO 25 2 IO 27 3 IO 2 4 IO 29 5 IO 30 6 IO 3 7 IO 33 IO 34 CPLD5 EPM72 pin IO 46 2 IO 4 3 IO 49 4 IO 50 5 IO 5 6 IO 52 7 IO 54 IO 55 CPLD6 EPM72 pin IO 56 2 IO 57 3 IO 5 4 IO 60 5 IO 6 6 IO 63 7 IO 64 IO 65 CPLD7 EPM72 pin IO 67 2 IO 6 3 IO 69 4 IO 70 5 IO 73 6 IO 74 7 IO 75 IO 76 CPLD4 EPM72 pin IO 35 2 IO 36 3 IO 37 4 IO 39 5 IO 40 6 IO 4 7 IO 44 IO 45. 3.3V operation This board is not compatible with 3.3V systems. Copyright Matrix Multimedia Limited 200 page

Appendix Circuit diagram

Appendix Circuit diagram