You have no items in your shopping cart.

Subtotal: 0.00

User Manual for Spartan3A Project Kit

Spartan3a FPGA Stick Board User Manual

Learning Xilinx FPGA and ISE Development Software Basics

The Spartan3a FPGA Stick Board provides a powerful, self-contained development platform for designs targeting the new Spartan-3A FPGA from Xilinx. It features a 50K gate Spartan-3A, on-board I/O devices, and 32Mb SPI flash memory, making it the perfect platform to experiment with any new design. The board also contains a Flash PROM, so designs can easily be made non-volatile.

Components placement
spartan-3a-stick-board

Figure 1. Spartan3a FPGA Stick Board Components placement top view

Block Diagram

Xilinx-Spartan3A-stick--Board-Block-Diagram

Figure 2. Xilinx Spartan3a FPGA Stick Board Block Diagram

Power Distribution
Voltage Regulators

There are multiple voltages supplied on the Spartan3a FPGA Stick Board Kit : the 5v feed to board by USB port, 3.3V and 1.2V regulators are available .The 3.3V regulator feeds all the VCCO voltage supply inputs to the FPGA’s I/O banks and powers most of the components on the board. The 3.3V regulator supplies power to the FPGA’s VCCAUX supply inputs. The VCCAUX voltage input supplies power to Digital Clock Managers (DCMs) within the FPGA and supplies some of the I/O structures. In specific, all of the FPGA’s dedicated configuration pins, such as DONE, PROG_B, CCLK, and the FPGA’s JTAG pins, are powered by VCCAUX. The FPGA configuration interface on the board is powered by 3.3V. Consequently, the 3.3V supply has a current shunt resistor to prevent reverse current. Finally, the 1.2V regulator supplies power to the FPGA’s VCCINT voltage inputs, which power the FPGA’s core logic. Place the jumper at J3 to enable the power supply.

Power-Supply

Figure 3. Power Supply



On-board Peripherals

Spartan3a FPGA Project kit comes with many interfacing options

  • 4 Nos. of LED’S
  • 4-Nos. of DIP switches (Digital Inputs)
  • 2-Nos. of Push Button (Digital Inputs)
  • Reset switch.
  • USB Port .
Light Emitting Diode

Light Emitting Diode are the most commonly used components, usually for displaying pin’s digital states. The Spartan3a FPGA Stick Board has four led’s located above the crystal oscillator of FPGA. The cathode of each LED connects to ground via a 220 ohm Ω resistor.


LEDS-of-Spartan3A-Stick-Board-FPGA-Kit

Figure 4. LED’S of Spartan3a FPGA Stick Board FPGA Kit



Table 1. LED’S connections to the FPGA pins


LED

PIN NO

D3

P43

D4

P44

D5

P48

D6

P49

Example Code

To see the demo result, USB-UART-connection-with-Spartan3AN-Stick-Board-FPGAclickinside LED code folder of the CD.

Hardware Settings

Place Jumper at J7 to enable LED.

Digital Inputs DIP Switch

The Spartan3a FPGA Stick Board has four DIP switches, indicated as in Figure 5. The switches connect to an associated FPGA pin, as shown in Table 2. A detailed schematic appears in Figure 5.

DIP-switches-connections-from-Spartan3A-Stick-Board-FPGA-Kit

Figure 5. DIP switches connections from Spartan3a FPGA Stick Board

Table 2. FPGA Connections to DIP Switches


Switch

1

2

3

4

FPGA pin

P7

P21

P39

P68

 

When in the UP or ON position, a switch connects the FPGA pin to VCCO, a logic High. When DOWN or in the OFF position, the switch connects the FPGA pin to ground, a logic Low. The switches typically exhibit about 2 ms of mechanical bounce and there is no active debouncing circuitry, although such circuitry could easily be added to the FPGA design programmed on the board. A 10KΩ series resistor provides nominal input protection.

Example Code

To see the demo result, clickUSB-UART-connection-with-Spartan3AN-Stick-Board-FPGAinside Digital Input Switch folder of the CD.

Push Buttons

The Spartan3a FPGA Stick Board FPGA Kit has two contact push button switches, indicated as in Figure 6.

Push-Button-interface-from-Spartan3A-Stick-Board-FPGA-Kit

Figure 6. Push Button interface from Spartan3a FPGA Stick Board

Table 3. FPGA Connections to Push Button


Switch

Sw3

Sw5

FPGA pin

P97

P82

Example Code

To see the demo result, clickUSB-UART-connection-with-Spartan3AN-Stick-Board-FPGAinside Push Button folder of the CD.

Reset Button

This is hardware reset Button for FPGA. When press the reset button , the program will be erase as well as the FPGA initialized .

Push-Button-For-Reset-from-Spartan3A-Stick-Board-FPGA-Kit

Figure 7. Push Button For Reset from Spartan3a FPGA Stick Board

USB/JTAG Programming/Debugging Ports

The Spartan3a FPGA Stick Board includes a USB/ JTAG programming and debugging chain. Additionally, there are two possible way for programming download and debugging through USB as well as JTAG header. a mini USB cable, which is used to download the program from PC into FPGA. For this purpose the cable directly connected to USB port of the PC and another way is the JTAG cable connects directly to the parallel port of a PC and to a standard 6-pin JTAG programming header in the kit that can program a devices that have a JTAG voltage of 1.8v or greater.

USB-JTAG-connection-with-Spartan3AN-Stick-Board-Kit

Figure 8.USB/ JTAG connection with Spartan3a FPGA Stick Board

USB/UART:

The FTDI2232 channel 2 is used for the UART communication. The USB port can be used as USB-UART serial communication. The baud rate of UART communication which is 300 to 3Mbaud.

USB-UART-connection-with-Spartan3AN-Stick-Board-FPGA

Figure 9.USB/ UART connection with Spartan3a FPGA Stick Board



Table 4. FPGA Connections to USB Port


Signal

RXD

TXD

FPGA pin

P89

P89

 
Example Code

To see the demo result, click USB-UART-connection-with-Spartan3AN-Stick-Board-FPGA inside USB/UART folder of the CD.

Clock Source

The Spartan3a FPGA Stick Board has dedicated 50 MHz series clock oscillator source. Figure 10 provides a detailed schematic for the clock sources.

Table 5. Clock Oscillator Sources


Connector Name

Signals

FPGA PIN

Clock

DATA

P41

 
Clock source connections from Spartan3A Stick Board - See more at: https://103.231.100.118/user-manual-for-spartan3a-stick-board#sthash.3ShWwK3e.dpuf

Figure 10. Clock source connections from Spartan3a FPGA Stick Board


Programming on FPGA:

The program implement and generating file has been done on FPGA by Xilinx ISE. After Generating Program file Open Pantech FPGA programmer tool to download the code on FPGA kit through the MINI USB cable .

Browse Bit file from Project directory.

Click Program to download in to FPGA

Spartan 3A
General Description

The Extended Spartan®-3A family of Field-Programmable Gate Arrays (FPGAs) solves the design challenges in many high volume, cost-sensitive electronic applications. With 12 devices ranging from 50,000 to 3.4 million system gates , the Extended Spartan-3A family provides a broad range of densities and package options, integrated DSP MACs ,and low total system cost while increasing functionality. The Extended Spartan-3A family includes the Spartan-3A devices and the higher density Spartan-3A DSP devices. The Extended Spartan-3A family improves system performance and reduces the cost of configuration. These enhancements, combined with proven 90 nm process technology, deliver more functionality and bandwidth per dollar. Because of its exceptionally low cost, the Extended Spartan-3A family is ideally suited to a wide range of consumer electronics applications, including broadband access, home networking, display/projection, and digital television equipment. The Extended Spartan-3A family is a superior alternative to mask-programmed ASICs. FPGAs avoid the high initial cost , lengthy development cycles, the inherent inflexibility of conventional ASICs, and permit field design upgrades.

Package Marking

The Spartan-3A family XC3S50A is a quad-flat packages. The “4C” is a Speed Grade/Temperature Range.

Extended Spatran 3A Device QFP package marking

Figure 11. Extended Spatran 3A Device QFP package marking


Ordering Information

The Extended Spartan-3A family is available in both standard and Pb-free packaging options for all options of theSpartan-3A devices and the Spartan-3A DSP devices.The Pb-free packages include a “G” character in the ordering code .

Ordering information For Spartan 3A

Figure 12. Ordering information For Spartan 3A

Dedicated Pins

The complete pin-out table of the Spartan 3A is described in the following table.

Table 6. Pin out table of Spartan3: XC3S50A QFP100


Pin

Function

54

DONE

100

PROGRAM_B

75

TD0

76

TCK

1

TMS

2

TDI

 

Table 7. Supply pins of Spartan3: XC3S50A QFP100


GND

95,91,87,80,74,69,63,58,47,42,18,14,8

VCCO(3.3v)

96,67,45,26,11

VCCINT(1.2v)

81,66,38,17

VCCAUX(3.3v)

92,55,22

 

Table 8. Pin description of Spartan3: XC3S50 QFP144


DONE

High when programming of FPGA was successful

TD0,TDI

TMS,TCK

JTAG signal