Page 1
Spartan-3 Starter Kit Board User Guide UG130 (v1.1) May 13, 2005...
Page 2
Xilinx, Inc. assumes no obligation to correct any errors contained herein or to advise any user of this text of any correction if such be made. Xilinx, Inc. will not assume any liability for the accuracy or correctness of any engineering or software support or assistance provided to a user.
Chapter 1 Introduction The Xilinx Spartan-3 Starter Kit provides a low-cost, easy-to-use development and evaluation platform for Spartan-3 FPGA designs. Key Components and Features Figure 1-1 shows the Spartan-3 Starter Kit board, which includes the following components and features: •...
Page 8
Regulator Regulator 5 VDC, 2A Supply AC Wall Adapter 100-240V AC Input Included 50-60 Hz UG130_c1_01_042504 Figure 1-1: Xilinx Spartan-3 Starter Kit Board Block Diagram • PS/2-style mouse/keyboard port • Four-character, seven-segment LED display • Eight slide switches • Eight individual LED outputs •...
Push button switch to force FPGA reconfiguration (FPGA configuration happens automatically at power-on) • LED indicates when FPGA is successfully configured • Three 40-pin expansion connection ports to extend and enhance the Spartan-3 Starter Kit Board ♦ www.xilinx.com/s3boards for compatible expansion cards ♦...
Chapter 2 Fast, Asynchronous SRAM The Spartan-3 Starter Kit board has a megabyte of fast asynchronous SRAM, surface- mounted to the backside of the board. The memory array includes two 256Kx16 ISSI IS61LV25616AL-10T 10 ns SRAM devices, as shown in Figure 2-1.
2-1. These address signals also connect to the A1 Expansion Connector (see “Expansion Connectors,” page 47). Table 2-1: External SRAM Address Bus Connections to Spartan-3 FPGA Address Bit FPGA Pin A1 Expansion Connector Pin www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
2-2. These control signals also connect to the A1 Expansion Connector (refer to “Expansion Connectors,” page 47). Table 2-2: External SRAM Control Signal Connections to Spartan-3 FPGA Signal FPGA Pin A1 Expansion Connector Pin SRAM Data Signals, Chip Enables, and Byte Enables The data signals, chip enables, and byte enables are dedicated connections between the FPGA and SRAM.
Chapter 3 Four-Digit, Seven-Segment LED Display The Spartan-3 Starter Kit board has a four-character, seven segment LED display controlled by FPGA user-I/O pins, as shown in Figure 3-1. Each digit shares eight common control signals to light individual LED segments. Each individual character has a separate anode control input.
Page 16
Segment FPGA Pin Table 3-2: Digit Enable (Anode Control) Signals (Active Low) Anode Control FPGA Pin Table 3-3: Display Characters and Resulting LED Segment Control Values Character www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Page 17
I/O down to 12 pins. The drawback to this approach is that the FPGA logic must continuously scan data out to the displays—a small price to save 20 additional I/O pins. Spartan-3 Starter Kit Board User Guide www.xilinx.com UG130 (v1.1) May 13, 2005...
Page 18
Chapter 3: Four-Digit, Seven-Segment LED Display www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Chapter 4 Switches and LEDs Slide Switches The Spartan-3 Starter Kit board has eight slide switches, indicated as Figure 1-2. The switches are located along the lower edge of the board, toward the right edge. The switches are labeled SW7 through SW0. Switch SW7 is the left-most switch, and SW0 is the right- most switch.
Chapter 4: Switches and LEDs LEDs The Spartan-3 Starter Kit board has eight individual surface-mount LEDs located above the push button switches, indicated by Figure 1-2. The LEDs are labeled LED7 through LED0. LED7 is the left-most LED, LED0 the right-most LED.
Chapter 5 VGA Port The Spartan-3 Starter Kit board includes a VGA display port and DB15 connector, indicated as Figure 1-2. Connect this port directly to most PC monitors or flat-panel LCD displays using a standard monitor cable. Pin 5...
Chapter 5: VGA Port Table 5-1: VGA Port Connections to the Spartan-3 FPGA Signal FPGA Pin Red (R) Green (G) Blue (B) Horizontal Sync (HS) Vertical Sync (VS) Each color line has a series resistor to provide 3-bit color, with one bit each for Red, Green, and Blue.
Page 23
The size of the beams, the frequency at which the beam traces across the display, and the frequency at which the electron beam is modulated determine the display resolution. Spartan-3 Starter Kit Board User Guide www.xilinx.com UG130 (v1.1) May 13, 2005...
Video data typically comes from a video refresh memory with one or more bytes assigned to each pixel location. The Spartan-3 Starter Kit board uses three bits per pixel, producing one of the eight possible colors shown in Table 5-2.
Page 25
No time relationship is specified between the onset of the HS pulse and the onset of the VS pulse. Consequently the counters can be arranged to easily form video RAM addresses, or to minimize decoding logic for sync pulse generation. Spartan-3 Starter Kit Board User Guide www.xilinx.com UG130 (v1.1) May 13, 2005...
Page 26
Chapter 5: VGA Port www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Both a PC mouse and keyboard use the two-wire PS/2 serial bus to communicate with a host device, the Spartan-3 FPGA in this case. The PS/2 bus includes both clock and data. Both a mouse and keyboard drive the bus with identical signal timings and both use 11-bit words that include a start, stop and odd parity bit.
When an extended key is released, a “E0 F0” key- up code is sent, followed by the scan code. www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Page 29
When the keyboard sends data, it generates 11 clock transitions at around 20 to 30 kHz, and data is valid on the falling edge of the clock as shown in Figure 6-2. Spartan-3 Starter Kit Board User Guide www.xilinx.com UG130 (v1.1) May 13, 2005 1-800-255-7778...
The XV and YV bits in the status byte indicate when the X or Y values exceed their maximum value, an overflow condition. A ‘1’ indicates www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Some older keyboards and mice are 5V only. Consequently, the JP2 jumper should be set for 5V operation as shown in Table 6-5. The Spartan-3 FPGA can tolerate 5V signals due to the 270Ω series resistors on the PS/2 data and clock signals connected to the FPGA. See the schematic in Figure A-7 for more details.
Page 32
Chapter 6: PS/2 Mouse/Keyboard Port www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Page 33
Chapter 7 RS-232 Serial Port The Spartan-3 Starter Kit board has an RS-232 serial port. The RS-232 transmit and receive signals appear on the female DB9 connector, labeled J2, indicated as Figure 1-2. The connector is a DCE-style port and connects to the DB9 DTE-style serial port connector available on most personal computers and workstations.
7-1. Similarly, the port’s RTS and CTS signals connect together. The FPGA connections to the Maxim RS-232 translator appear in Table 7-1. Table 7-1: Accessory Port Connections to the Spartan-3 FPGA Signal FPGA Pin RXD-A TXD-A An auxiliary RS-232 serial channel from the Maxim device is available on two 0.1-inch...
Chapter 8 Clock Sources The Spartan-3 Starter Kit board has a dedicated 50 MHz Epson SG-8002JF series clock oscillator source and an optional socket for another clock oscillator source. Figure A-5 provides a detailed schematic for the clock sources. The 50 MHz clock oscillator is mounted on the bottom side of the board, indicated as Figure A-5.
Functions FPGA Configuration Mode Settings In most applications for the Spartan-3 Starter Kit Board, the FPGA automatically boots from the on-board Platform Flash memory whenever power is applied or the PROG push button is pressed. However, the board supports all the available configuration modes via...
<1:0:1> M0 M1 M2 Program Push Button/DONE Indicator LED The Spartan-3 Starter Kit Board includes two FPGA configuration functions, located near the VGA connector and the AC power input connector, as shown in Figure 9-1. The PROG push button, shown as Figure 9-1, drives the FPGA’s PROG_B programming pin.
Chapter 10 Platform Flash Configuration Storage The Spartan-3 Starter Kit board has an XCF02S serial configuration Flash PROM to store FPGA configuration data and potentially additional non-volatile data, including MicroBlaze application code. To configure the FPGA from Platform Flash memory, all...
Figure 10-1: Default Platform Flash Option “Flash Read” Option The Spartan-3 Starter Kit Board includes a 2Mbit Platform Flash configuration PROM. The XC3S200 FPGA on the board only requires slightly less than 1Mbit for configuration data. The remainder of the Platform Flash is available to store other non-volatile data, such as revision codes, serial numbers, coefficients, an Ethernet MAC ID, or code for an embedded processor, such as MicroBlaze, within the FPGA.
“Disable” Option If the JP1 jumper is removed, then the Platform Flash is disabled, potentially allowing configuration via an expansion board connected to one of the expansion connectors. www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
JTAG Programming/Debugging Ports The Spartan-3 Starter Kit board includes a JTAG programming and debugging chain. Both the Spartan-3 FPGA and the Platform Flash devices are part of the JTAG chain, as shown in Figure 11-1. Additionally, there are two JTAG headers for driving the JTAG signals from various supported JTAG download and debugging cables.
Spartan-3 Starter Kit board only supports the JTAG configuration method. The header is designed for a keyed socket. However, the Spartan-3 Starter Kit uses only stake pins. The outline of the keyed connector appears around the J5 header, as shown in Figure 11-3.
Page 43
Notch on outline JTAG matches key on header UG130_c11_03_042704 Figure 11-3: Use 14-Pin Ribbon Cable to Connect Parallel Cable IV or the MultiPro Desktop Tool to the J5 Header Spartan-3 Starter Kit Board User Guide www.xilinx.com UG130 (v1.1) May 13, 2005 1-800-255-7778...
Page 44
Chapter 11: JTAG Programming/Debugging Ports www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
The AC wall adapter operates from 100V to 240V AC input, at 50 or 60 Hz. Voltage Regulators There are multiple voltages supplied on the Spartan-3 Starter Kit Board, as summarized in Table 12-1.
Page 46
Spartan-3 FPGAs. Figure A-3 provides a detailed schematic of the various voltage regulators. Similarly, Figure A-6 shows the power decoupling capacitors. www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Chapter 13 Expansion Connectors and Boards Expansion Connectors The Spartan-3 Starter Kit board has three 40-pin expansion connectors labeled A1, A2, and B1. The A1 and A2 connectors, indicated as , respectively, in Figure 1-2, are on the top edge of the board. Connector A1 is on the top left, and A2 is on the top right. The B1...
Page 48
√ √ Each port offers some ability to program the FPGA on the Spartan-3 Starter Kit Board. For example, port A1 provides additional logic to drive the FPGA and Platform Flash JTAG chain. Similarly, ports A2 and B1 provide connections for Master or Slave Serial mode configuration.
Appendix A Board Schematics This appendix provides the schematics for the Spartan-3 Starter Kit Board: • Figure A-1, “A1, A2, and B1 Expansion Connectors” • Figure A-2, “Slide Switches, Push Buttons, LEDs, and Four-Character 7-Segment Display” • Figure A-3, “Voltage Regulators, JP2 Jumper Setting for PS/2 Port Voltage”...
Page 54
NOTE: SRAM address lines and OE#, WE# controls have shared connections with A1 connector. Likewise, lower eight data bits to SRAM IC10 are also shared with A1 connector.
Page 61
NOTE: SRAM address lines and OE#, WE# controls have shared connections with A1 connector. Likewise, lower eight data bits to SRAM IC10 are also shared with A1 connector.
Appendix B Reference Material for Major Components Table B-1 lists the major components on the Spartan-3 Starter Kit Board, including full part numbers and links to complete device data sheets. Table B-1: Major Components and Data Sheet Links Device Vendor...
Page 64
PN 0402292 www.xilinx.com Spartan-3 Starter Kit Board User Guide 1-800-255-7778 UG130 (v1.1) May 13, 2005...
Need help?
Do you have a question about the Spartan-3 and is the answer not in the manual?
Questions and answers