Sigma DE2-70 manual Schematic diagram of the pushbutton and toggle switches

Page 36

DE2-70 User Manual

There are also 18 toggle switches (sliders) on the DE2-70 board. These switches are not debounced, and are intended for use as level-sensitive data inputs to a circuit. Each switch is connected directly to a pin on the Cyclone II FPGA. When a switch is in the DOWN position (closest to the edge of the board) it provides a low logic level (0 volts) to the FPGA, and when the switch is in the UP position it provides a high logic level (3.3 volts).

There are 27 user-controllable LEDs on the DE2-70 board. Eighteen red LEDs are situated above the 18 toggle switches, and eight green LEDs are found above the pushbutton switches (the 9th green LED is in the middle of the 7-segment displays). Each LED is driven directly by a pin on the Cyclone II FPGA; driving its associated pin to a high logic level turns the LED on, and driving the pin low turns it off. A schematic diagram that shows the pushbutton and toggle switches is given in Figure 5.4. A schematic diagram that shows the LED circuitry appears in Figure 5.5.

A list of the pin names on the Cyclone II FPGA that are connected to the toggle switches is given in Table 5.1. Similarly, the pins used to connect to the pushbutton switches and LEDs are displayed in Tables 5.2 and 5.3, respectively.

 

 

 

 

RN33

100K

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

8

VCC33

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

5

 

 

 

 

 

 

 

 

 

 

U8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

19

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

KEYIN0

9

A8

B8

11

RN34

120

KEY0

 

 

 

 

 

 

 

 

 

 

 

 

 

8

12

8

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

A7

B7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

KEYIN1

7

13

7

 

2

KEY1

 

 

 

 

 

 

 

 

 

 

 

 

 

A6

B6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

KEYIN2

6

14

6

 

3

KEY2

 

 

 

 

 

 

 

 

 

 

 

 

 

A5

B5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

KEYIN3

5

15

5

 

4

KEY3

BUTTON0

 

BUTTON1

 

 

BUTTON2

 

BUTTON3

 

 

 

 

A4

B4

 

 

 

 

 

 

 

 

 

 

 

4

16

 

 

 

 

 

 

 

 

C13

C14

C15

C16

 

A3

B3

 

 

 

 

4

3

4

3

4

 

3

4

3

 

3

17

 

 

 

 

 

 

A2

B2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

18

 

 

 

 

1

2

1

2

1

 

2

1

2

1u

1u

1u

 

1u

 

A1

B1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

TACT SW

 

TACT SW

 

 

TACT SW

 

TACT SW

 

 

 

 

 

 

DIR

 

 

 

 

 

 

 

 

 

 

 

 

 

VCC33

 

20

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VCC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

74HC245

 

 

 

 

 

SW0

GND

SW1

 

GND

SW2

 

GND

SW3

GND

SW4

 

GND

 

SW5

 

 

GND

 

SW6

GND

 

SW7

GND

4

4

 

 

4

4

 

4

 

 

4

 

 

4

 

4

1

VCC33

1

 

VCC33

 

1

VCC33

1

VCC33

 

1

VCC33

 

1

 

VCC33

 

1

VCC33

 

1

VCC33

2

SW0

2

 

SW1

 

2

SW2

2

SW3

 

2

SW4

 

 

2

 

SW5

 

2

SW6

 

2

SW7

3

GND

3

 

GND

 

3

GND

3

GND

 

3

GND

 

 

3

 

GND

 

3

GND

 

3

GND

5

GND

5

 

GND

 

5

GND

5

GND

 

5

GND

 

 

5

 

GND

 

5

GND

 

5

GND

SLIDE SW

 

SLIDE SW

 

 

SLIDE SW

 

SLIDE SW

 

SLIDE SW

 

 

SLIDE SW

 

 

 

SLIDE SW

 

 

SLIDE SW

SW8

GND

SW9

 

GND

SW10

GND

SW11

GND

SW12

 

GND

 

SW13

 

 

GND

 

 

 

 

 

 

4

4

 

 

4

4

 

4

 

 

4

 

 

 

 

 

 

 

1

VCC33

1

 

VCC33

 

1

VCC33

1

VCC33

 

1

VCC33

 

1

 

VCC33

 

 

120

SW13

 

2

SW8

2

 

SW9

 

2

SW10

2

SW11

 

2

SW12

 

 

2

 

 

 

R50

 

3

GND

3

 

GND

 

3

GND

3

GND

 

3

GND

 

 

3

 

GND

 

 

 

 

 

 

5

GND

5

 

GND

 

5

GND

5

GND

 

5

GND

 

 

5

 

GND

 

 

 

 

 

 

SLIDE SW

 

SLIDE SW

 

 

SLIDE SW

 

SLIDE SW

 

SLIDE SW

 

 

SLIDE SW

 

 

 

 

 

 

 

 

SW14

GND

SW15

 

GND

SW16

GND

SW17

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

4

 

 

4

4

 

 

 

 

 

 

 

 

 

KEY[0..3]

 

 

 

1

VCC33

1

 

VCC33

 

1

VCC33

1

VCC33

 

 

 

RN35

120

 

SW17

 

 

 

 

2

GND

2

 

 

 

2

 

2

 

 

 

 

8

1

 

 

 

 

 

 

 

3

3

 

GND

 

3

GND

3

GND

 

 

 

7

2

 

SW16

 

SW[0..17]

 

 

 

5

GND

5

 

GND

 

5

GND

5

GND

 

 

 

6

3

 

SW15

 

 

 

 

 

 

SLIDE SW

 

SLIDE SW

 

 

SLIDE SW

 

SLIDE SW

 

 

 

 

5

4

 

SW14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 5.4. Schematic diagram of the pushbutton and toggle switches.

33

Image 36
Contents Copyright 2007 Terasic Technologies Contents Appendix Package Contents DE2-70 PackageDE2-70 Board Assembly Feet for the DE2-70 boardGetting Help Altera DE2-70 Board Layout and ComponentsBlock Diagram of the DE2-70 Board Cyclone II 2C70 Fpga Ssram Audio Codec Power-up the DE2-70 Board Serial portsLCD display shows Welcome to the Altera DE2-70 Control Panel Setup DE2-70 Control PanelPage Controlling the LEDs, 7-Segment Displays and LCD Display Controlling 7-SEG display Switches and Buttons SDRAM/SSRAM/Flash Controller and Programmer Page Press Load Memory Content to a File button USB MonitoringPS2 Device USB Mouse Monitoring ToolSD Card 10. Reading the SD card Identification and Specification Audio Playing and RecordingPage Overall Structure of the DE2-70 Control Panel 13. The block diagram of the DE2-70 control panel Video Utility Setup DE2-70 Video UtilityVGA Display DE2-70 Video Utility windowVideo Capture Displaying selected image file on VGA MonitorOverall Structure of the DE2-70 Video Utility Video Capturing ToolVideo Capture Block Diagram Using the DE2-70 Board Configuring the Cyclone II FpgaFpga Using the LEDs and Switches Switch debouncingSchematic diagram of the pushbutton and toggle switches Schematic diagram of the LEDs Pin assignments for the toggle switches Using the 7-segment Displays Schematic diagram of the 7-segment displaysPINAD10 Clock Circuitry Block diagram of the clock distribution Using the LCD Module LcdonUsing the Expansion Header JP1 PIND29 Pin assignments for the expansion headers Using VGA Rset13. VGA horizontal timing specification 11. ADV7123 pin assignments Using the 24-bit Audio Codec I2C Address Read is 0x34 I2C Address Write isRS-232 Serial Port 10 PS/2 Serial PortPS/2 schematic Fast Ethernet Network Controller17. Fast Ethernet schematic TV Decoder 18. TV Decoder schematic Implementing a TV Encoder Bit VGA DACUsing USB Host and Device OTGD15 OTGD14 OTGD13 OTGD12 OTGD11 OTGD10Using IrDA Using SDRAM/SRAM/Flash IrDA schematic22. Sdram schematic 23. Ssram schematic PINAA4 DRAM0CKE PINAA8 19. Sdram pin assignments SRAMDQ8 PINAK17 20. Ssram pin assignments 21. Flash pin assignments DE2-70 Factory Configuration Examples of Advanced DemonstrationsTV Box Demonstration Block diagram of the TV box demonstration Setup for the TV box demonstration TV Box Picture in Picture PIP DemonstrationBit stream used DE270TVPIP.sof or DE270TVPIP.pof Setup for the TV box PIP demonstration USB Paintbrush Block diagram of the USB paintbrush demonstration Setup for the USB paintbrush demonstration USB DeviceBlock diagram of the USB device demonstration Setup for the USB device demonstration Karaoke MachineBit stream used DE2-70i2sound.sof or DE2-70i2sound.pof 10. The setup for the Karaoke Machine Ethernet Packet Sending/Receiving11. Packet sending and receiving using the Nios II processor 12. The setup for the Ethernet demonstration SD Card Music Player13. Block diagram of the SD music player demonstration Demonstration Setup, File Locations, and Instructions 16 illustrates the setup for this demonstration Music Synthesizer Demonstration17 illustrates the setup for this demonstration Usage of the switches, pushbuttons KEYs PS/2 Keyboard 16. The Setup of the Music Synthesizer Demonstration Audio Recording and Playing Nios II IDESopc Toggle switch setting for audio recorder and player Revision History Copyright Statement