Altera DE2-70 Manual de usuario

Busca en linea o descarga Manual de usuario para Redes Altera DE2-70. Altera DE2-70 User manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 1 - Altera DE2-70 Board

Altera DE2-70 Board Version 1.01 Copyright © 2007 Terasic Technologies

Pagina 2 - CONTENTS

DE2-70 User Manual 7 SSRAM • 2-Mbyte standard synchronous SRAM • Organized as 512K x 36 bits • Accessible as memory for the Nios II processor

Pagina 3

DE2-70 User Manual 8 Audio CODEC • Wolfson WM8731 24-bit sigma-delta audio CODEC • Line-level input, line-level output, and microphone input jac

Pagina 4 - DE2-70 Package

DE2-70 User Manual 9 Serial ports • One RS-232 port • One PS/2 port • DB-9 serial connector for the RS-232 port • PS/2 connector for connectin

Pagina 5

DE2-70 User Manual 10 At this point you should observe the following: • All user LEDs are flashing • All 7-segment displays are cycling throug

Pagina 6 - 1.3 Getting Help

DE2-70 User Manual 11 Chapter 3 DE2-70 Control Panel The DE2-70 board comes with a Control Panel facility that allows users to access various com

Pagina 7

DE2-70 User Manual 12 close that port; you cannot use Quartus II to download a configuration file into the FPGA until you close the USB port. 7.

Pagina 8

DE2-70 User Manual 13 7-SEG Display16x2 LCDLEDsLEDsPS/2SDRAMFlashSSRAMSD Card SoketUSBBlasterUSBDeviceControlCodes Figure 3.2. The DE2-70 Control

Pagina 9 - Cyclone II 2C70 FPGA

DE2-70 User Manual 14 Figure 3.3. Controlling LEDs. Choosing the 7-SEG tab leads to the window in Figure 3.4. In the tab sheet, directly use

Pagina 10 - DE2-70 User Manual

DE2-70 User Manual 15 Choosing the LCD tab leads to the window in Figure 3.5. Text can be written to the LCD display by typing it in the LCD box a

Pagina 11 - USB Host/Slave controller

DE2-70 User Manual 16 Figure 3.6. Monitoring switches and buttons. The ability to check the status of button and switch is not needed in typi

Pagina 12 - Two 40-pin expansion headers

Altera DE2 Board ii CONTENTS Chapter 1 DE2-70 Package ...

Pagina 13

DE2-70 User Manual 17 Figure 3.7. Accessing the SDRAM-U1. A 16-bit word can be written into the SDRAM by entering the address of the desired

Pagina 14 - DE2-70 Control Panel

DE2-70 User Manual 18 into the memory. The Sequential Read function is used to read the contents of the SDRAM-U1 and place them into a file as fo

Pagina 15

DE2-70 User Manual 19 Figure 3.8. USB Mouse Monitoring Tool. 3.6 PS2 Device The Control Panel provides users a tool to receive the inputs from

Pagina 16

DE2-70 User Manual 20 Figure 3.9. Reading the PS2 Keyboard. 3.7 SD CARD The function is designed to read the identification and specificatio

Pagina 17

DE2-70 User Manual 21 Figure 3.10. Reading the SD card Identification and Specification. 3.8 Audio Playing and Recording This interesting au

Pagina 18 - 3.3 Switches and Buttons

DE2-70 User Manual 22 Figure 3.11. Playing audio from a selected wave file To record sound using a microphone, please follow the steps below:

Pagina 19

DE2-70 User Manual 23 Figure 3.12. Audio Recording and Saving as a WAV file. To record audio sound from LINE-IN port, please connect an audio

Pagina 20

DE2-70 User Manual 24 FPGA/ SOPC NIOS II TIMER JTAG System Interconnect Fabric SDRAM Controller LCD Controller PIO Controller PS2 Controller F

Pagina 21 - 3.5 USB Monitoring

DE2-70 User Manual 25 Chapter 4 DE2-70 Video Utility The DE2-70 board comes with a video utility that allows users to access video components on

Pagina 22 - 3.6 PS2 Device

DE2-70 User Manual 26 Figure 4.1. The DE2-70 Video Utility window. 4.2 VGA Display Choosing the Display tab in the DE2-70 Video Utility lead

Pagina 23 - 3.7 SD CARD

Altera DE2 Board iii 5.12 TV Decoder...

Pagina 24

DE2-70 User Manual 27 Figure 4.2. Displaying selected image file on VGA Monitor. 4.3 Video Capture Choosing the Capture tab leads to the win

Pagina 25

DE2-70 User Manual 28 Figure 4.3. Video Capturing Tool. 4.4 Overall Structure of the DE2-70 Video Utility The DE2-70 Video Utility is based

Pagina 26

DE2-70 User Manual 29 FPGA SOPC NIOS II TIMER JTAG System Interconnect Fabric SDRAM-U1 SDRAM Controller Multi-Port SSRAM Controller JTAG Blas

Pagina 27

DE2-70 User Manual 30 Chapter 5 Using the DE2-70 Board This chapter gives instructions for using the DE2-70 board and describes each of its I/O

Pagina 28 - DE2-70 Video Utility

DE2-70 User Manual 31 Configuring the FPGA in JTAG Mode Figure 5.1 illustrates the JTAG configuration setup. To download a configuration bit strea

Pagina 29 - 4.2 VGA Display

DE2-70 User Manual 32 position and then reset the board by turning the power switch off and back on; this action causes the new configuration data

Pagina 30 - 4.3 Video Capture

DE2-70 User Manual 33 There are also 18 toggle switches (sliders) on the DE2-70 board. These switches are not debounced, and are intended for use

Pagina 31

DE2-70 User Manual 34 LED10LED11LED13LED12LED16LED17LED15LED14LED9LED8LED2LED3LED1LED0LED7LED6LED4LED5LED18LED20LED21LED19LED22LED23LED24LED25LED

Pagina 32 - System Interconnect Fabric

DE2-70 User Manual 35 SW[16] PIN_L7 Toggle Switch[16] SW[17] PIN_L8 Toggle Switch[17] Table 5.1. Pin assignments for the toggle switches. Sign

Pagina 33 - Using the DE2-70 Board

DE2-70 User Manual 36 LEDG[7] PIN_ AA24 LED Green[7] LEDG[8] PIN_ AC14 LED Green[8] Table 5.3. Pin assignments for the LEDs. 5.3 Using the

Pagina 34

DE2-70 User Manual 1 Chapter 1 DE2-70 Package The DE2-70 package contains all components needed to use the DE2-70 board in conjunction with a com

Pagina 35

DE2-70 User Manual 37 HEX0_D[3] PIN_AD10 Seven Segment Digit 0[3] HEX0_D[4] PIN_AF10 Seven Segment Digit 0[4] HEX0_D[5] PIN_AD11 Seven Segme

Pagina 36

DE2-70 User Manual 38 HEX5_D[0] PIN_M3 Seven Segment Digit 5[0] HEX5_D[1] PIN_L1 Seven Segment Digit 5[1] HEX5_D[2] PIN_L2 Seven Segment Digit

Pagina 37

DE2-70 User Manual 39 SMAConnector50-MHzOscillator28-MHzOscillatorTV decoder 1TV decoder 2VGA DACEthernetPS/2AUDIOCODECGPIO_0 GPIO_122224Cyclone

Pagina 38

DE2-70 User Manual 40 5.5 Using the LCD Module The LCD module has built-in fonts and can be used to display text by sending appropriate commands

Pagina 39

DE2-70 User Manual 41 LCD_DATA[5] PIN_C2 LCD Data[5] LCD_DATA[6] PIN_C3 LCD Data[6] LCD_DATA[7] PIN_B2 LCD Data[7] LCD_RW PIN_F3 LCD Read/Wri

Pagina 40

DE2-70 User Manual 42 JP11.8V2.5V 3.3V214356 Figure 5.10. JP1 pin settings. IO_A2IO_A1IO_A0GPIO_D0GPIO_D1IO_A10IO_A20IO_A24IO_A28IO_A6IO_A13IO

Pagina 41 - 5.4 Clock Circuitry

DE2-70 User Manual 43 IO_A [3] PIN_D29 GPIO Connection 0 IO[3] IO_A [4] PIN_E27 GPIO Connection 0 IO[4] IO_A [5] PIN_D28 GPIO Connection 0 I

Pagina 42

DE2-70 User Manual 44 IO_B [4] PIN_H28 GPIO Connection 1 IO[4] IO_B [5] PIN_L25 GPIO Connection 1 IO[5] IO_B [6] PIN_K27 GPIO Connection 1 I

Pagina 43 - 5.5 Using the LCD Module

DE2-70 User Manual 45 5.7 Using VGA The DE2-70 board includes a 16-pin D-SUB connector for VGA output. The VGA synchronization signals are provid

Pagina 44

DE2-70 User Manual 46 found on the manufacturer's web site, or in the Datasheet/VGA DAC folder on the DE2-70 System CD-ROM. The pin assignmen

Pagina 45

DE2-70 User Manual 2 The DE2-70 package includes: • The DE2-70 board • USB Cable for FPGA programming and control • DE2-70 System CD containing

Pagina 46

DE2-70 User Manual 47 Signal Name FPGA Pin No. Description VGA_R[0] PIN_D23 VGA Red[0] VGA_R[1] PIN_E23 VGA Red[1] VGA_R[2] PIN_E22 VGA Red[2]

Pagina 47

DE2-70 User Manual 48 5.8 Using the 24-bit Audio CODEC The DE2-70 board provides high-quality 24-bit audio via the Wolfson WM8731 audio CODEC (en

Pagina 48 - 5.7 Using VGA

DE2-70 User Manual 49 5.9 RS-232 Serial Port The DE2-70 board uses the ADM3202 transceiver chip and a 9-pin D-SUB connector for RS-232 communicat

Pagina 49

DE2-70 User Manual 50 KBCLKKBDATMSDATMSCLKPS2_KBDATPS2_KBCLKPS2_MSCLKPS2_MSDATVCC5VCC5VCC5VCC33VCC33VCC5VCC5VCC33VCC33R1722KR1722KBC350.1uBC350.1u

Pagina 50

DE2-70 User Manual 51 SPEEDENET_D0ENET_D15ENET_D13ENET_D1ENET_D4ENET_D12ENET_D9ENET_D11ENET_D8ENET_D6ENET_D14ENET_D10ENET_D7ENET_D2ENET_D3ENET_D5R

Pagina 51

DE2-70 User Manual 52 ENET_CS_N PIN_C28 DM9000A Chip Select ENET_INT PIN_C27 DM9000A Interrupt ENET_IOR_N PIN_A28 DM9000A Read ENET_IOW_N PIN_B

Pagina 52 - 5.10 PS/2 Serial Port

DE2-70 User Manual 53 TD1_D6TD1_D7TD1_D0I2C_SCLKI2C_SDAT28MHZTD2_D0TD2_D1TD2_D2TD2_D3TD2_D4TD2_D5TD2_D6TD2_D7TD1_D128MHZTD1_D2TD1_D3TD1_D4TD1_D5I2

Pagina 53

DE2-70 User Manual 54 TD1_CLK27 PIN_G15 TV Decoder 1 Clock Input. TD1_RESET_N PIN_D14 TV Decoder 1 Reset TD2_D[0] PIN_C10 TV Decoder 2 Data[

Pagina 54

DE2-70 User Manual 55 5.14 Using USB Host and Device The DE2-70 board provides both USB host and device interfaces using the Philips ISP1362 sing

Pagina 55 - 5.12 TV Decoder

DE2-70 User Manual 56 OTG_D[4] PIN_J12 ISP1362 Data[4] OTG_D[5] PIN_H12 ISP1362 Data[5] OTG_D[6] PIN_H13 ISP1362 Data[6] OTG_D[7] PIN_G13 ISP1

Pagina 56

DE2-70 User Manual 3 1.3 Getting Help Here are the addresses where you can get help if you encounter problems: • Altera Corporation 101 Innovat

Pagina 57

DE2-70 User Manual 57 The pin assignments of the associated interface are listed in Table 5.18. IRDA_TXDIRDA_RXDVCC33VCC33R42120R42120R41120R4112

Pagina 58

DE2-70 User Manual 58 DRAM0_A3DRAM0_A0DRAM0_A2DRAM0_A1DRAM0_A10DRAM_D5DRAM_D0DRAM_D7DRAM_D6DRAM_D3DRAM_D2DRAM_D4DRAM_D1DRAM1_A3DRAM1_A0DRAM1_A2DRA

Pagina 59 - 5.15 Using IrDA

DE2-70 User Manual 59 SRAM_byteen_n1SRAM_byteen_n2SRAM_byteen_n3SRAM_addr7SRAM_addr8SRAM_addr9SRAM_addr10SRAM_addr11SRAM_addr12SRAM_addr13SRAM_add

Pagina 60 - 5.16 Using SDRAM/SRAM/Flash

DE2-70 User Manual 60 Signal Name FPGA Pin No. Description DRAM0_A[0] PIN_AA4 SDRAM 1 Address[0] DRAM0_A[1] PIN_AA5 SDRAM 1 Address[1] DRAM0

Pagina 61

DE2-70 User Manual 61 DRAM0_CKE PIN_AA8 SDRAM 1 Clock Enable DRAM0_CLK PIN_AD6 SDRAM 1 Clock DRAM0_WE_N PIN_W9 SDRAM 1 Write Enable DRAM0_CS

Pagina 62

DE2-70 User Manual 62 DRAM1_RAS_N PIN_N9 SDRAM 2 Row Address Strobe DRAM1_CAS_N PIN_N8 SDRAM 2 Column Address Strobe DRAM1_CKE PIN_L10 SDRAM

Pagina 63

DE2-70 User Manual 63 SRAM_DQ[8] PIN_AK17 SRAM Data[8] SRAM_DQ[9] PIN_AJ17 SRAM Data[9] SRAM_DQ[10] PIN_AH17 SRAM Data[10] SRAM_DQ[11] PIN_AJ18

Pagina 64

DE2-70 User Manual 64 SRAM_DPA2 PIN_AK20 SRAM Parity Data[2] SRAM_DPA3 PIN_AJ9 SRAM Parity Data[3] SRAM_GW_N PIN_AG18 SRAM Glob

Pagina 65

DE2-70 User Manual 65 FLASH_DQ[5] PIN_AB29 FLASH Data[5] FLASH_DQ[6] PIN_AA29 FLASH Data[6] FLASH_DQ[7] PIN_Y28 FLASH Data[7] FLASH_DQ[8] PIN_A

Pagina 66

DE2-70 User Manual 66 Chapter 6 Examples of Advanced Demonstrations This chapter provides a number of examples of advanced circuits implemented o

Pagina 67

DE2-70 User Manual 4 Chapter 2 Altera DE2-70 Board This chapter presents the features and design characteristics of the DE2-70 board. 2.1 Layou

Pagina 68

DE2-70 User Manual 67 • Optionally connect a VGA display to the VGA D-SUB connector. When connected, the VGA display should show a pattern of col

Pagina 69 - Chapter 6

DE2-70 User Manual 68 monitor. ITU-R 656DecoderYCbCrToRGBVGAControllerEven 4:2:2Odd 4:2:2MUXYUV 4:2:2OddRequest10-bit RGBI2C_SCLKI2C_SDATData Val

Pagina 70 - 6.2 TV Box Demonstration

DE2-70 User Manual 69 DE-interlaceITU-R 656YUV 4:2:2DecoderVGA(LCD/CRT)MonitorLine OutVGA OutDVD PlayerVideo InLine InAudio OutputCVBS S-VideoYPbP

Pagina 71

DE2-70 User Manual 70 described in the section 6.2. The Composite_to_VGA block takes the video signals from the TV decoders as input and generate

Pagina 72

DE2-70 User Manual 71 RCA type, then an adaptor will be needed to convert to the mini-stereo plug supported on the DE2-70 board; this is the same

Pagina 73

DE2-70 User Manual 72 SW[16] = OFF SW[17] = OFF; SW[16] = ON Signal display mode Video in 1 SW[17] = ON; SW[16] = OFF PIP display mode Main windo

Pagina 74 - VGA(LCD/CRT)Monitor

DE2-70 User Manual 73 Nios IICPUAltera System Interconnect FabricPhilipsISP1362HostPortVGAControllerFrame BufferUSBMouseADV7123 Figure 6.5. Bl

Pagina 75 - 6.4 USB Paintbrush

DE2-70 User Manual 74 USBDriverVGAController IPOn-Chip VideoFrame BufferVGA Monitor Figure 6.6. The setup for the USB paintbrush demonstration.

Pagina 76

DE2-70 User Manual 75 the user clicks on the Clear button in the window panel of the software driver, the host computer sends a different USB pack

Pagina 77 - 6.5 USB Device

DE2-70 User Manual 76 USBDriver7-SEGControlAccumulatorPC Figure 6.8. The setup for the USB device demonstration. 6.6 A Karaoke Machine This de

Pagina 78

DE2-70 User Manual 5 (AS) programming modes are supported • 2-Mbyte SSRAM • Two 32-Mbyte SDRAM • 8-Mbyte Flash memory • SD Card socket

Pagina 79 - 6.6 A Karaoke Machine

DE2-70 User Manual 77 Figure 6.9. Block diagram of the Karaoke Machine demonstration. Demonstration Setup, File Locations, and Instructions •

Pagina 80

DE2-70 User Manual 78 Clock/DataFrequencyGeneratorSpeakerMP3/Any Audio OutputMicrophone Figure 6.10. The setup for the Karaoke Machine. 6.7 Eth

Pagina 81

DE2-70 User Manual 79 address in the packet is identical to the MAC address of the DE2-70 board. If the packet received does have the same MAC add

Pagina 82

DE2-70 User Manual 80 EthernetDriver10/100MbpsCAT 5 CableLoopbackDevice Figure 6.12. The setup for the Ethernet demonstration. 6.8 S

Pagina 83 - 6.8 SD Card Music Player

DE2-70 User Manual 81 Figure 6.13 shows the hardware block diagram of this demonstration. The system requires a 50 MHZ clock provided from the boa

Pagina 84

DE2-70 User Manual 82 Figure 6.14. Software Stack of the SD music player demonstration. The audio chip should be configured before sending au

Pagina 85

DE2-70 User Manual 83 • Press KEY3 on the DE2-70 board can play the next music file stored in the SD card. • Press KEY2 and KEY1 will increase a

Pagina 86

DE2-70 User Manual 84 Figure 6.15 shows the block diagram of the design of the Music Synthesizer. There are four major blocks in the circuit: DEM

Pagina 87

DE2-70 User Manual 85 • Bit stream used: DE2_70_Synthesizer.sof or DE2-70_Synthesizer.pof • Connect a PS/2 Keyboard to the DE2-70 board. • Conn

Pagina 88

DE2-70 User Manual 86 I #4 K 5 O #5 L 6 P #6 : 7 “ +1 Table 6.3. Usage of the PS/2 Keyboard’s keys. Line OutKeyboard InputVGA OutMusicSynthesi

Pagina 89

DE2-70 User Manual 6 Figure 2.2. Block diagram of the DE2-70 board. Following is more detailed information about the blocks in Figure 2.2: Cyc

Pagina 90

DE2-70 User Manual 87 6.10 Audio Recording and Playing This demonstration shows how to implement an audio recorder and player using the DE2-70 b

Pagina 91

DE2-70 User Manual 88 hardware part is built by SOPC Builder under Quartus II. The hardware part includes all the other blocks. The “AUDIO Control

Pagina 92

DE2-70 User Manual 89 • Load the Software Execution File into FPGA. (note *1) • Configure audio with the toggle switches. • Press KEY3 on the

Pagina 93 - Appendix

DE2-70 User Manual 90 Chapter 7 Appendix 7.1 Revision History Version Change Log V1.0 Initial Version (Preliminary) V1.01 1. Add appendix

Comentarios a estos manuales

Sin comentarios