Home
MAX® II Micro Kit
Contents
1. n 10 B2 61 10 B1 21 B10 E TH 10 B2 62 IO B1 22 B11 1O B2 83 IO B1 23 10 82 04 IO B1 24 B13 ee 10 62 65 oo gt Be e 8127 oma aa 93128 e O G3 a 10 81 30 1O0 GCLKD H3 O B1 31 IO GCLK1 J3 IO B1 32 KS 10 81 33 10 81 34 e 10 81 35 pg 10 81 36 MH eni 10 81 27 cen aa gt a 0 81 38 c13 _ 10 81 39 EPM2210F324 EPM2210F324 Figure 2 5 Schematic of the prototyping area U1C 018 J PH 10 83 0 LEDS 10262 E18 10 83 1 LEDS 10263 F18 1 18 10 83 2 10242 E 10243 tia 10 834 10244 Rg 10245 E HA i 10246 BE 118 D 10247 0 M18 E 10248 LEDI 10249 KEYS 10250 E 7 E 10251 E 10234 E5 o7 Er ud ET ET 1 z dE F17 H14 10237 617 10 83 16 10238 525 H17 8 10 B3 17 10239 J17 IO B3 18 10240 K17 10 83 19 eg 10241 E17 wir 10 83 20 514 10264 M17 m 10265 88 L 10266 5 10 83 23 10267 H RIZ 10 83 24 LED2 IOIDEV_OE NE Z 10 83 25 LA IO DEV CLRN H 8 10 83 26 ms it 10 83 27 2 10 83 28 1 3 29 f 10 83 30 HIG 10 83 31 10 83 32 IO GCLK2 ee CLK2 10 83 33 IO GCLK3 CLK3 IO B3 34 10 83 35 10 83 36 10 83 37
2. e Detection of the action of the pushbuttons When users press the pushbutton switches on the MAX II Micro board the MAX II Micro control panel window will indicate which pushbutton switches are pressed with an arrow icon as show in Figure 3 5 ei ir mere E wen LA ae Fr Figure 3 5 Control panel can detect if any pushbutton is pressed by users e Configure GPIOs in the prototyping area The I O logic level of the GPIOs the prototyping area is low 0 volts you can change the logic level of the GPIOs to high 3 3 volts by clicking the corresponding holes on the control panel window as show in Figure 3 6 The icon of the chosen GPIO holes will be marked with yellow color With this function you can control the other circuit easily by using the control 16 User Manual a A ii us H ime off brp B m te EEE TEN sss Hit TRN a w 7 2 EM Figure 3 6 Users can configure the GPIOs in the prototyping areas by clicking on the corresponding holes shown in the Control Panel window section The GPIOs color will be marked by yellow to indicate their voltage level is HIGH 3 3V 17 User Manual Chapter 4 MAX Micro Board Design Demonstrations This chapter demonstrates several reference designs to help users to understand how to implement their own designs using the MAX II Micro board 4 1 Demonstra
3. 10 83 38 10 83 39 EPM2210F324 EPM2210F324 Figure 2 6 Schematic of the prototyping area User Manual Prototyping Area A _ H3 F3 C3 B3 C4 33V C9 C10 D10 C11 C12 012 C13 5 D13 C14 D14 C15 B16 H4 G3 E3 D3 A2 GND B5 B6 A7 8 A9 10 GND A12 A13 14 15 17 OOOOOOOOOOOOOOOOOOOO J3 G4 F4 E4 D4 C2 DI B4 4 5 B7 B8 B9 10 B12 B14 B15 B18 OOOOOOOOOOOOOOOOOOOO 5 3 3 33V 33V 33V 33V F2 02 Bl OOOOOOOOO GND GND GND GND GND GND G1 E2 Prototyping Area B 060000000 ato 017 D18 GND 3 3V 17 18 18 17 G17 G18 17 CLK3 Ji Hi H2 H18 17 8 CLK2 K18 17 118 147 M18 M17 GND 3 3V Figure 2 7 The detailed I O map of prototyping area A 2 4 Power up the MAX Micro Board The MAX Micro board comes with a pre loaded configuration bit stream to demonstrate various LED modes This bit stream also allows users to see quickly if the board is working properly For communication between the host and the MAX II Micro board it 1s necessary to install the Altera USB Blaster driver software The driver only supports Windows OS and if it is not already installed on the host computer it can be installed as explained in the Altera website For XP Mhttp www altera com support software drivers
4. PIN V12 Red LED LED 4 PIN V5 Blue LED LED 5 PIN U5 Green LED LED 6 PIN V4 Yellow LED LED 7 PIN U4 Red LED KEY 0 PIN U15 Button1 KEY 1 PIN V15 Button2 KEY 2 PIN Ut4 Button3 KEY 3 PIN V14 Button4 CLOCK 50 PIN J6 50 MHz clock input Table 2 1 Pin assignments for the LEDs Buttons and Clock inputs User Manual Altera MAX Development amp Education Board edm D Breet 7 8 Dur Tuesday Figure 2 4 Schematic diagram of the LEDs pushbuttons and clock circuit 2 3 2 Expansion Port and Prototyping Area The MAX II Micro board provides users two prototyping area PROTO_A and PROTO_B as shown in Figure 2 1 The schematics are shown in Figure 2 5 and Figure 2 6 To help users locate the corresponding GPIOs we provide a detailed I O map shown in Figure 2 7 User Manual U1B UTA o er 9819 MH 9811 4 LLL A 1 61 9312 ear Gt ar 10 813 A ELT i i 10 814 49 1 5 9 1 0 10 B1 6 A10 10 82 47 1 7 AB 10 82 48 IO B1 8 A12 eer 2 40 IO B1 8 A13 A 2 50 10 81 10 14 E 1O B2 51 IO B1 11 A15 pee 1O B2 52 S HL 8112 a HL at Hp 83 E2 z5 10 81 14 B3 10 82 55 F2 E2 0 81 15 a B5 pum eL lee Bo 3 0 81 17 e 8 Mee Jl IO B1 18 B7 10 82 59 ne IO B1 19 10 82 60 gt 10 81 20 B8 EI
5. usb blaster dri usb blaster xp html For 2000 http www altera com support software drivers usb blaster dri usb blaster 2000 html At this point you should observe LEDs turn ON OFF in sequence There are 2 different modes pre loaded and it can be changed by pressing Buttonl Each mode can be reset by pressing corresponding Button3 and Button4 10 User Manual 2 5 Methods to Configure the MAX IT Micro Board The MAX II Micro board provides two modes JTAG Mode and USB Blaster Mode which allows users to use the MAX II Micro board as a CPLD development board or as a USB Blaster cable respectively 2 5 1 Configure the MAX Micro board in JTAG Mode Users should use JTAG mode in normal operation Set Swtich1 to UP position and set Switch2 to DOWN position as shown in Figure 2 8 USB UIN Map MEN Blaster MODE JTAG OFF Down OFF Down MODE Switch Switch2 Figure 2 8 Set Switch to UP position and Switch2 to DOWN position in normal operation JTAG mode 2 5 2 Use MAX II Micro as a USB Blaster Cable This section describes how to use MAX II Micro as a USB Blaster Cable Simply follow the instructions below to finish the setting Before using MAX II Micro board as a USB Blaster you need to solder a 10 pin header onto the board as show in Figure 2 9 Note The USB blaster cable function only supports JTAG programming mode 662665000005 AERAR 89898 PeLelele a eful felapetele la
6. 0000000000000000000000000000000000000 4 1 5 4 2 Configuring the MAX II CPLD on MAX II Micro Board 4 3 Exercise 1 Traine Licht Expor ag a anana naa sae gana aan agan E ia aaa nagane 4 4 1 2 Chapter 5 Appendix A Color Pattern Generator Using LCD User Manual Chapter 1 MAX IT Micro Package The MAX II Micro package contains all components needed to use the MAX II Micro board in conjunction with a computer that runs the Microsoft Windows software 1 1 Package Contents Figure 1 1 shows a photograph of the MAX II Micro package FINGERTIPS ae Figure 1 1 MAX II Micro package contents The MAX Micro package includes e MAX II Micro board e USB Cable Type A Male to Type A Female for FPGA programming control and power source e CD ROM containing Altera s Quartus II 7 0 Web Edition software User Manual 1 2 Assemble the MAX Micro Connect the MAX II Micro to PC either e Plug in directly as shown in Figure 1 2 e Via the USB cable provided in the package as shown in Figure 1 3 Figure 1 3 Connect to PC through USB cable 1 3 Here the addresses where you can get help if you encounter problems Getting Help Altera Corporation 101 Innovation Drive San Jose California 95134 USA Email university altera com Terasic Techno
7. Max II Micro Kit MAX II Micro Kit User Manual Version 1 32 Copyright 2009 Terasic Technologies Max II Micro Kit Chapter 1 MAX II Micro Package 1 1 Package COn 1 2 Assemble the MAX II Micro 1 3 Chapter 2 Altera MAX II Micro Board 2 1 Layout s 2 2 Block Diagram of the MAX II Micro Board 2 Schematic of the MAX II Micro nnne eene 2 941 LEDs Switches and Clock aa agan ag daana wakane dadaan gaga eda gada Reed 2 3 2 Expansion Port and Prototyping Area ccccccccccssssesseecceeeeeceeeeseeeeeeeeeeeeaeeeseeeeeeeeeeaaas 2 4 Powerup the MAX II Micro 2 5 Methods to Configure the MAX II Micro 29 1 Configure the MAX II Micro board in JTAG Mode sees 22 2 Use MAX II Micro as a USB Blaster 2 9 9 MAX H CPLD Power OFF Chapter 3 MAX II Micro Board Control Panel ssssee000000000000000000000000000000000000000000000000000000000000000 3 1 Seri n ou Usmo ihe Contool Pane Chapter 4 MAX II Micro Board Design Demonstrations 00000000000000
8. ace is used to issue commands to the control circuitry The provided IP handles all requests and performs data transfers between the computer and the MAX II Micro board 14 User Manual Prototyping Area USB Pushbutton Switches LEDs Figure 3 3 The MAX II Micro Control Panel concept 3 2 Using the Control Panel The interface of the MAX II Micro control panel window matches the real MAX II Micro board Users can select the components they want to control directly All configurable components are marked with blue frame the window The MAX Micro Control Panel can be used to light up LEDs detect the pressed action of pushbutton switches and configure the I O logic level of prototyping area on the MAX II Micro board The following sections describe how to perform these actions with the control panel already open on the host computer Typical design activities do not require the ability to set arbitrary values for simple display devices However for troubleshooting purposes setting arbitrary values enables you to verify that the devices are operating correctly e Light up the LEDs To light up the LEDs on the MAX II Micro board you can turn the individual LEDs on by clicking the LED icon on the control panel window as show in the Figure 3 4 The icon of the chosen LED will be marked with yellow color 15 User Manual Figure 3 4 Control panel window for LED controlling
9. cuit 20 User Manual 4 4 Exercise 2 A Color Pattern Generator Using 4 3 LCD Panel Users can follow the instructions below to implement a color pattern generator using a 4 3 touch panel with the MAX II Micro board We are using a Terasic 4 3 Ultra high resolution LCD Touch Panel module for this demonstration To connect the 4 3 LCD Touch Panel to the MAX II Micro board you need to solder a DIP 40 pin male connector onto PROT_A as shown in Figure 4 4 Figure 4 4 Solder a 40 pin male DIP connector to the upper most rows in the PROT_A prototyping area H3 to A17 1 Ensure the connection is made correctly as shown in Figure 4 5 2 Please NOTE the orientation of the 40 pin cable when connecting the DIP 40 pin male connector on the PROT as shown in Figure 4 6 H m 28 NL i e NL Zn ja Figure 4 5 The connection setup for the pattern generator demo with MAX II Micro board 21 User Manual Figure 4 6 The connection setup for the 40 pin cable with MAX II Micro board 3 Open Quartus and locate DEN LTM TEST pof under the directory DEN demonstrations DEN LTM TEST Vof the CD ROM included Download the bitstream DEN LTM TEST pof to the MAX II Micro board 5 Once the download is finished Plug out the USB cable from the MAX II Micro board and re plug it in to power up and reset the MAX II CPLD device 6 Press BUTTONI on the MMK b
10. ehavior of two traffic lights at the intersection The traffic light will flash a few times before it turns from green to yellow The loop will continue according to the state flow chart driven by a timer as shown in Figure 4 2 Each state represents a unique combination of two traffic lights as shown in Figure 4 3 The circuit can be reset to state S1 if Button is Mode 0 set EA Loop Loop 3 times 3 times Start Mode 0 Mode 2 Mode 1 pressed Figure 4 2 State flow chart of traffic light User Manual State Traffic Light 1 Traffic Light 2 9 4 11 4 af 44 e A Figure 4 3 Behavior of two traffic lights at each state Simply follow the instructions below to repeat the exercise l Ensure LEDs are flashing after demonstration setup is completed Please check connection to PC and or the configuration of the switch if nothing happened 2 Open Quartus and locate DEnano pof under the directory DEN_demonstrations DEN_Traffic_Light of the CD ROM included 3 Download the bitstream DEnano pof to the MAX II Micro board Once the download is finished Plug out the USB cable from the MAX II Micro board and re plug it in to power up and reset the MAX II CPLD device 5 you should observe the LEDs are displaying in Traffic Light mode Press Button2 of the MAX II Micro board to reset the cir
11. ing mode is supported to configure MAX II Micro e 4 pushbutton switches e DIP switch e 2red user LEDs e 2 yellow user LEDs e 2 green user LEDs User Manual e 2 blue user LEDs e 50 MHz oscillator for clock sources e Powered by a USB cable Type A Male to Type A Female 2 2 Block Diagram of the MAX II Micro Board Figure 2 2 gives the block diagram of the MAX II Micro board USB Blaster USB JTAG B TYPE 1220 5128 USB Power SS 3 3V 1 5A 50 MHz OSC MAX II EPM2210F324 x88 GPIO ey Button4 Button3 Button2 Button Figure 2 2 Block diagram of the MAX II Micro board Following is more detailed information about the blocks in Figure 2 2 MAX 2210 FPGA e 2 210 LEs e 272 user I O pins e FineLine BGA 324 pin package USB Blaster circuit e On board USB Blaster for programming e Only JTAG programming mode is supported to configure MAX II Micro or when MAX II Micro is used as a USB Blaster cable User Manual Pushbutton switches e 4 pushbutton switches e Debounced by a Schmitt trigger circuit e Normally high generates one active low pulse when the switch is pressed Clock inputs e 50 MHz oscillator Prototyping Areas e A 40 pin expansion port area compatible with Altera DE2 DEI expansion ports e Prototyping Area A
12. l 9905 pot 0605060 29006 Figure 2 9 Solder 10 pin header onto Micro board 1 Connect the USB cable to the USB port on your PC and to the USB Blaster port of MAX II Micro board 11 User Manual Set the both dip switches on the Max Micro board to UP location as shown in Figure 2 10 3 Connect the USB Blaster download cable to the 10 pin header J3 on the device board and MAX II Micro board Figure 2 11 shows how to use the MAX II Micro Board to configure an Altera NIOS II Kit USB Blaster MODE ON Up 1795 ON Up JTAG OFF Down MODE OFF Down Switchl Switch2 Figure 2 10 Set both switches to UP position to set up the MAX II Micro board as a USB Blaster if Figure 2 11 Use MAX II Micro as a USB Blaster cable and connect to another Altera board NIOS II Kit 1n this case 2 5 5 MAX II CPLD Power OFF Mode The MAX II Micro board provides a Power OFF switch mode to completely shutdown the MAX II CPLD by setting Switchl to DOWN position as show in Figure 2 12 ON Up O NICT MAXII dalis POWER SWITCH OFF Down Switchl Switch2 Figure 2 12 Set Switchl to DOWN position to turn off the power supply to MAX II CPLD 12 User Manual Chapter 3 MAX Micro Board Control Panel The MAX II Micro board comes with a Control Panel facility that allows users to access various components on the board through a USB connection from a hos
13. logies No 356 Sec 1 Fusing E Rd Jhubei City HsinChu County Taiwan 302 Email support terasic com Web www terasic com User Manual User Manual Chapter 2 Altera MAX Micro Board This chapter presents the features and design characteristics of the MAX II Micro board 2 1 Layout and Components A photograph of the MAX II Micro board is shown in Figure 2 1 It depicts the layout of the board and indicates the location of the connectors and key components Prototyping Area A PROTO A 24 MHz Oscillator j Se Bees sees 200000090 00000 USB Blaster Port YOO m ter A i www lerosiccom 2 j ii M Oe YCYCYCE Prototyping Area B 50 000 A PROTO Altera USB Blaster Bis 3 E Altera MAX Il Controller Chipset EPM2210 FPG A Device 3 IE 50 MHz Oscillator om 8 User LEDs 6 17799908 BUTTONA BUTTONS BUTTON TALL m ON CTS Ej T oe 5 USB Blaster Cable e KA 10 USB Blaster II 4 Push Button Switches Power Mode Switch Figure 2 1 The MAX II Micro board The following hardware is provided on the MAX II Micro board Altera II EPM2210F324 FPGA device e USB Blaster on board for programming MAX Micro can be used as a USB Blaster and programming mode supported depends on the configuration device of Altera board connected to MAX II Micro Only JTAG programm
14. o switch to the other pattern The following table summarizes the pattern types of this exercise Pattern Color bar 50 gray level pattern 23 User Manual Chapter 5 Appendix The MAX Micro System CD ROM contain the following directory and files Directory name Description of contents Contains the schematic of MAX Il Micro board Contains the demonstration files of MAX II Micro board such as Traffic Light Experiment 4 3 Touch Panel Controller and 3 6 LCM Controller Contains the MAX Micro control DEN control panel panel software and the associated CPLD configuration file Contains the datasheet of MAX Il DEN schematics DEN demonstrations DEN datasheet CPLD Revision History Version Date Description of contents V1 0 2007 5 5 Initial Version V1 1 2007 7 15 Release Version 1 Modify Figure 2 7 V1 2 2007 8 17 2 Modify Table 2 1 remove the description of clock 24 V1 3 2007 8 20 Add exercise 3 V1 31 2007 9 11 Modify Figure 2 7 24
15. oard to reset the circuit You can touch the LTM screen to switch to the other pattern The following table summarizes the pattern types of this exercise Pattern Gray bar Color bar _ 50 gray level pattern White pattern 4 5 Exercise 3 A Color Pattern Generator Using 3 6 LCD module Users can follow the instructions below to implement a color pattern generator using a 3 6 LCD module with the MAX II Micro board We are using a Terasic 3 6 LCD module for this demonstration To connect the 3 6 LCD module to the MAX II Micro board you need to solder a DIP 40 pin male connector onto PROT A refer to Figure 4 4 1 Ensure the connection is made correctly as shown in Figure 4 7 22 2 User Manual Please NOTE the orientation of the 40 pin cable when connecting the DIP 40 pin male connector on the PROT_A as shown in Figure 4 6 er Figure 4 7 The connection setup for the pattern generator demo with MAX II Micro board Open Quartus II and locate DEN_LCM_TEST pof under the directory DEN demonstrations DEN LCM TEST of the CD ROM included Download the bitstream DEN LCM TEST pof to the MAX II Micro board Once the download is finished Plug out the USB cable from the MAX II Micro board and re plug it in to power up and reset the MAX II CPLD device Press BUTTONI on the MAX II Micro board to reset the circuit Press BUTTON2 on the MAX II Micro board t
16. on the host computer The Control Panel user interface shown in Figure 3 2 will appear 7 The Control Panel also can download the configuration file DEN Control Panel pof into the CPLD by clicking the icon of Download POF as shown in Figure 3 2 8 The Control Panel is now ready for use The Control Panel will occupy the USB port you cannot use Quartus II to download a configuration file into the CPLD until you close the Control Panel 13 User Manual Chaint cdf 2 Hardware Setup USB Blaster USB 0 Mode JTAG Progress 0 Enable real time ISP to allow background programming for II devices ee SEES Eee dd Eu sii 0 0 nano DEM EPM2210GF324 n Auto Detect 0 L J X Delete 2 Add File lig Change File 7 Add Device Figure 3 1 Quartus II Programmer window Tel p DE Leonid Pane YT iem 5 m E k uu NT uisi if hon a TH T LLLCLELI Er parri Tari nats this pe ng men Figure 3 2 The MAX II Micro Board Control Panel window The concept of the MAX II Micro Control Panel is illustrated in Figure 3 3 The IP that performs the control functions is implemented in the CPLD device It communicates with the Control Panel window which is active on the host computer via the USB Blaster link The graphical interf
17. t computer This chapter first presents how to setting up the Control Panel then describes its structure in block diagram form and finally describes its capabilities 3 1 Control Panel Setup To run the Control Panel application it is first necessary to configure a corresponding circuit in the MAX II CPLD This is done by downloading the configuration file DEN_Control_Panel pof into the CPLD The downloading procedure is described as followed In addition to the DEN Control Panel pof file it is necessary to execute on the host computer the program DEN Control Panel exe Both of these files are available under the directory DEN control panel of the MAX II Micro system CD ROM included To activate the Control Panel perform the following steps 1 Configure the dip switch on the MAX II Micro board as shown in Figure 2 8 2 Connect the USB cable to the USB port on your PC and to the USB Blaster port of MAX II Micro board 3 Start the Quartus II software Select Tools Programmer to reach the window in Figure 3 1 Click on Add File and in the pop up window that appears select the DEN Control Panel pof file Next click on the three check boxes in the Program Configure columns Now click Start to download the configuration file into the CPLD 5 Once the download is finished Plug out the USB cable from the MAX II Micro board and re plug it in to power up and reset the MAX II CPLD device 6 Start the executable DEN Control Panel exe
18. tion Setup As mentioned in section 1 2 the MAX II Micro board can be connected to the PC either through the USB cable provided in the package or through the USB slots directly 4 2 Configuring the MAX IT CPLD on MAX Micro Board The MAX II Micro board stores configuration data in the MAX II CPLD User can reprogram the CPLD any time using Quartus II software via the USB connection Configuring the CPLD in JTAG Mode Figure 4 1 shows the switch configuration for JTAG mode Set the Switch to UP position and Switch 2 to DOWN position To download a configuration bit stream into the CPLD perform the following steps e Ensure that power is supplied to the MAX II Micro board by connecting it to a USB port as shown in Figure 1 2 or Figure 1 3 e The CPLD can now be programmed by using the Quartus II Programmer module Select a configuration bit stream file with the pof filename extension Once the download is finished you should power off and on the MAX II Micro board to activate the bitstream by disconnecting the board from you PC USB Blaster MODE ON Up ON Up JTAG OFF Down OFF Down MODE Switchl Switch2 18 User Manual Figure 4 1 Set Switch to UP position and Switch2 to DOWN position in normal operation JTAG mode 4 3 Exercise 1 Traffic Light Experiment The purpose of the exercise is to let users get familiar with logic design starting from the basics The experiment simulates the b
19. with 68 GPIO 6 3 3V 2 5V and 8 GND pins e Prototyping Area B with 20 GPIO 2 3 3V and 2 GND pins 2 3 Schematic of the MAX II Micro Board The complete schematic can be found in the Schematic folder of MAX II Micro System CD ROM The following sections describe the major parts of the schematic in detail 2 3 1 LEDs Switches and Clock Inputs The MAX II Micro board provides four pushbutton switches Each of these switches 1s debounced using a Schmitt Trigger circuit as indicated in Figure 2 3 The four outputs called KEYO KEY3 of the Schmitt Trigger device are connected directly to the MAX II CPLD Each switch provides a high logic level 3 3 volts when it 1s not pressed and provides a low logic level 0 volts when depressed Since the pushbutton switches are debounced they are appropriate for use as clock or reset inputs in a circuit Pushbutton depressed Pushbutton released Before Debouncing IN _ _ 4 EN Figure 2 3 Switch debouncing There are 8 user controllable LEDs on the MAX II Micro board Each LED is driven directly by a pin on the MAX II CPLD driving its associated pin to a high logic level turns the LED on and driving the pin low turns it off User Manual A list of the pin names on the MAX CPLD that are connected to the LEDs pushbuttons and clock inputs is given in Table 2 1 LED O PIN U13 Blue LED LED 1 PIN V13 Green LED LED 2 PIN U12 Yellow LED LED 3
Download Pdf Manuals
Related Search
Related Contents
Samsung LE-40R88BD LCD TV COMMERCIAL PROMALIN* RÉGULATEUR DE Dell P1230 User's Manual ZETOC Alert User Guide - University of Ulster Library USER`S MANUAL Module 1: Relations Copyright © All rights reserved.
Failed to retrieve file