1.2Board Features .......................................................................................................................................... 5
1.4Ordering Information ............................................................................................................................... 7
5Getting Help and Support .............................................................................................................................. 27
6Revision History ............................................................................................................................................ 28
The purpose of this manual is to describe the functionality and contents of the Avnet Spartan-6 FPGA LX9
MicroBoard from Avnet Electronics Marketing. This document includes instructions for operating the board,
descriptions of the hardware features, and explanations of the test code programmed into the on-board
programmable memory. For reference design documentation and example projects, see the Avnet Design
Resource Center (DRC).
DRC Home Page: www.em.avnet.com/drc
Spartan-6 FPGA LX9 MicroBoard Kit Home Page www.em.avnet.com/s6microboard
1.1 Description
The Spartan-6 FPGA LX9 MicroBoard provides a complete hardware environment for designers to accelerate
their time to market. The kit delivers a stable platform to develop and test designs targeted to the low-cost and
low-power Xilinx Spartan-6 FPGA. The installed Spartan-6 FPGA LX9 device offers a prototyping
environment to effectively demonstrate the enhanced benefits of low-cost Xilinx FPGA solutions. Reference
designs are included with the kit to exercise standard peripherals on the evaluation board for a quick start to
device familiarization.
The Spartan-6 FPGA LX9 MicroBoard kit contains the following individual pieces:
Avnet Spartan-6 FPGA LX9 MicroBoard
Type A male to Type A female USB Extension Cable
Type A to Micro-B USB Cable
Xilinx ISE® Design Suite WebPACK edition
License voucher for ChipScope™ Pro, XPS, and SDK (device-locked to XC6SLX9)
Welcome Letter
Getting Started Guide
Please note that this kit does NOT include a 10/100 Ethernet cable.
o Triple Output, user programmable, Texas Instruments CDCE913 clock
Pre-programmed during manufacturing
Spread-spectrum enabled
o Optional user installable Maxim DS1088LU-66+, low-cost, fixed-frequency oscillator
Memory
o 32 Mb x 16 (512 Mb) Micron LPDDR Mobile SDRAM component
o 128 Mb Micron Multi-I/O SPI Flash
Communication
o One USB 2.0, Full Speed USB-to- JTAG bridge via Atmel AT90USB162 / ATMEGA162U2,
Digilent JTAG firmware, and TE Connectivity USB-A connector
o One USB 2.0, Full Speed USB-to-UART bridge via Silicon Labs CP2102 and TE Connectivity
Micro-B connector
o One 10/100 Ethernet port via Texas Instruments DP83848J PHY and TE Connectivity RJ45
connector with Integrated Magnetics
User I/O and Expansion Connectors
o Two Digilent 12-pin, 0.245mm pitch, Peripheral Module (PMOD) headers support 3rd party
expansion modules
User Interfaces
o Four user LEDs
o Four configurable FPGA user DIP switches
o Two system push-button switches: one tied to user I/O and used for logical reset in the factory
test image, one hard-wired for FPGA program initialization
Power
o Texas Instruments TPS65708 PMU multi-channel regulator, with 5V input supplied by either
USB connection
Configuration
o Micron N25Q128 128Mb SPI Configuration Flash
o On-board USB Programming/Configuration based on the Digilent USB Full Speed JTAG design
utilizing the Atmel AT90USB162 / ATMEGA162U2
o Xilinx Compatible JTAG Cable
Test Files
o Files that are used to factory test the Spartan-6 FPGA LX9 MicroBoard are available and can be
found on the Avnet Electronics Marketing Design Resource Center (DRC) web site:
Reference designs that demonstrate some of the potential applications of the Spartan-6 FPGA LX9 MicroBoard
are available and can be found on the Avnet Electronics Marketing Design Resource Center (DRC) web site:
www.em.avnet.com/s6microboard. See the PDF document included with each reference design for a complete
description of the design and detailed instructions for running a demonstration on the development board.
Check the DRC periodically for updates and new designs. The Expanded Getting Started Guide, available for
download from the DRC, is the best place to start.
A Xilinx Spartan-6 FPGA LX9 (XC6SLX9-2CSG324) FPGA is the primary component of the Avnet Spartan-6
FPGA LX9 MicroBoard. A 10/100 Ethernet port and two Full Speed USB interfaces provide means of offboard communication. On-board memory consists of a 256 Mbit x 16 LPDDR mobile SDRAM component and
a 128 Mbit Multi-I/O SPI Flash that may be used by the FPGA for configuration.
A high-level block diagram of the Spartan-6 FPGA LX9 MicroBoard is shown below followed by a brief
description of each sub-section.
Figure 3 – Spartan-6 FPGA LX9 MicroBoard Block Di agram
The Xilinx XC6SLX9-2CSG324C device designed onto the Spartan-6 FPGA LX9 MicroBoard is a member of
the logic-optimized Xilinx Spartan-6 LX FPGA family. This family is built on a mature 45 nm low-power
copper process technology that delivers the optimal balance of cost, power, and performance. The Spartan-6
LX family offers a new, more efficient, dual-register 6-input look-up table (LUT) logic and a rich selection of
built-in system-level blocks. These include 18 Kb (2 x 9 Kb) block RAMs, second generation DSP48A1 slices,
SDRAM memory controllers, enhanced mixed-mode clock management blocks, SelectIO™ technology,
advanced system-level power management modes, auto-detect configuration options, and enhanced IP security
with Device DNA protection. These features provide a low-cost programmable alternative to custom ASIC
products with unprecedented ease-of-use. Spartan-6 FPGAs offer the best solution for high-volume logic
designs, consumer-oriented DSP designs, and cost-sensitive embedded applications.
On the Avnet Spartan-6 FPGA LX9 MicroBoard, the FPGA provides four I/O banks. Banks 0, 1, and 2 VCCO
as well as the VCCAUX power rail are tied to 3.3V. This allows Bank 0 to interface to 3.3V user I/O, Bank 1 to
interface to 3.3V Ethernet I/O, and Bank 2 to interface to 3.3V configuration I/O. Bank 3 interfaces to the
LPDDR memory and is connected to a 1.8V power rail for low-power consumption memory designs. The
VCCINT power rail is connected to 1.2V.
The four I/O banks are described in
Figure 4 and detailed I/O pin usage is provided throughout this document.
2.2.1 Triple Output User programmable Texas Instruments CDCE913 clock
The CDCE913 is a modular PLL-based low-cost, high-performance, programmable clock synthesizer,
multiplier, and divider. It can generate up to 3 output clocks from a single input frequency. Each output can be
programmed via an SDA / SCL, SMBus / I2C interface, for any clock frequency up to 230 MHz, using the
integrated configurable PLL. The input crystal frequency on the S6LX9 MicroBoard is 27 MHz. The
following clock frequency outputs are pre-programmed into the CDCE913 during factory configuration.
The user is able to modify these frequencies using the FPGA’s connection to the CDCE913 I2C port. Internal
FPGA pull-ups are required for this interface to work properly
Table 3 – CDCE913 I2C
Signal Name CDCE913 Pin# FPGA Pin#
SDA U1 pin 13 U13
SCL U1 pin 12 P12
NOTE: The CDCE913 is pre-programmed to operate in spread spectrum mode to reduce emissions. See the
following forum post for additional explanation:
The Spartan-6 FPGA LX9 MicroBoard is populated with both LPDDR mobile SDRAM memory (256 Mbit x
16) and 128 Mbit SPI Multi-I/O Flash to support various types of applications. The SPI Flash may be used for
FPGA configuration. Figure 5 shows a high-level block diagram of the memory interfaces on this board.
2.3.1 32 Mb x 16 (64MB) Micron LPDDR Mobile SDRAM component
A[
]
The Micron LPDDR mobile SDRAM device, part number MT46H32M16LFBF-5, provides a double data rate
architecture to achieve high-speed operation. The device provides 64 MB and it is internally configured as a
quad-bank DRAM of memory on a single IC. Each of the x16’s 134,217,728-bit banks is organized as 8,192
rows by 1,024 columns by 16 bits. The device has an operating voltage of 1.8V and the interface is
MOBILE_DDR. The Spartan-6 Memory Controller Block supports up to 400 Mb/s (200 MHz double data rate)
performance. The following figure shows a high-level block diagram of the LPDDR Mobile SDRAM interface
on the MicroBoard:
The LPDDR signals are connected to I/O Bank 3 of the Spartan-6 FPGA LX9 FPGA. The voltage supply pins
(VCCO) for the LPDDR bank are connected to the 1.8V supply rail. This supply rail can be measured across
the 100uF Capacitor C22.
It is highly recommended that anyone creating a Spartan-6 MCB design thoroughly read the two User Guides
(UG388 and UG416), the MIG Master Answer Record 33566, and the associated Answer Records linked
from that Master Record.
The following table provides timing and other information about the Micron device necessary to implement a
DDR2 memory controller.
Load Mode Register time (TMRD) 2 tCK
Write Recovery time (TWR) 15000
Write-to-Read Command Delay (TWTR) 10000
Delay between ACT and PRE Commands (TRAS) 40000
Delay after ACT before another ACT (TRC) 55000
Delay after AUTOREFRESH Command (TRFC) 75000
Delay after ACT before READ/WRITE (TRCD) 15000
Delay after ACT before another row ACT (TRRD) 10000
Delay after PRECHARGE Command (TRP) 15000
Refresh Command Interval (TREFC) 70000000
Avg. Refresh Period (TREFI) 7800000
Memory Data Width (DWIDTH) (2 devices) 32
Row Address Width (AWIDTH) 13
Column Address Width (COL_AWIDTH) 9
Bank Address Width (BANK_AWIDTH) 2
Memory Range (64 MB total) 0x3FFFFFF
The layout guidelines for Spartan-6 MCB designs, as detailed in Spartan-6 FPGA Memory Controller, UG388,
were followed in the design of this board. The pinout specified in the Spartan-6 Packaging & Pinout Guide,
The Spartan-6 FPGA LX9 Board includes a Micron Multi-I/O SPI Flash memory, part number N25Q128. The
SPI Flash is connected to the FPGA to support Quad-I/O (QIO), Dual-I/O (DIO), or Single-I/O (SIO) SPI
configuration.
The SPI signals are also connected to the Atmel AT90USB162 / ATMEGA162U2 SPI interface pins. This
interface can be used to connect to the SPI flash via the AT90USB162 / ATMEGA162U2 USB and allows for
direct Flash programming using a Digilent provided utility.
The SPI Flash is connected to Spartan-6 Bank 2, which has a Vcco of 3.3V, which can be measured across the
100uF Capacitor C23.
The SPI Flash can be programmed in the following ways:
Use the Digilent sfutil.exe command line application to program the Flash directly through the
AT90USB162 / ATMEGA162U2. Please see the Spartan-6_LX9_MicroBoard_Configuration_Guide
located at www.em.avnet.com/s6microboard for an application note on this subject.
Using Digilent USB via JTAG to program the Flash indirectly using iMPACT 12.1 or later with the
Digilent Plug-in.
o Digilent HS3 requires iMPACT 14.1 or later
Using Platform Cable USB via JTAG to program the Flash indirectly using iMPACT 12.1 or later.
Please note that the following patch may be required to build a MicroBlaze Hardware Platform that includes the
XPS_SPI peripheral in EDK 12.4 or earlier:http://www.xilinx.com/support/answers/39017.htm
2.4.1 Universal Serial Bus (USB) 2.0, Full Speed USB-to-JTAG bridge via Atmel AT90USB162 /
ATMEGA162U2 AVR Microcontroller and TE Connectivity USB-A connector
P1 is a TE Connectivity USB-A board-mount connector. P1 connects to a full-speed (12 Mbps) USB peripheral
port on the AT90USB162 / ATMEGA162U2 device. Power supplied by the USB host via connector P1
(+5V_USB_A) is used in conjunction with power from the other USB port, through diodes D13 and D16 to
power the S6LX9 board.
The AT90USB162 / ATMEGA162U2 is used to control FPGA configuration via the Digilent JTAG interface
and also to directly program the SPI Flash via a Digilent program. JTAG configuration is accomplished using
iMPACT and the Digilent Plug-in. Please see the Xilinx Spartan-6 LX9 MicroBoard - Configuration Guide
located at www.em.avnet.com/s6microboard for a User Guide on this subject.
Communicating directly to the SPI Flash is accomplished using the command line sfutil.exe. Both
configurations make use of custom Digilent firmware loaded into the AT90USB162 / ATMEGA162U2 device
during manufacture. The SPI Flash Interface Pinout is shown in Table 6. The JTAG Interface Pinout is shown in
Table 7.
Note that an additional Xilinx Platform Cable connector is provided (J6), for JTAG operation.
The Spartan-6 FPGA LX9 MicroBoard implements a Silicon Labs CP2102 device that provides a USB-toUART bridge. The USB physical interface is brought out on a TE Connectivity USB micro-B connector labeled
“J3.” Power supplied by the USB host via connector J3 (+5V_USB_B) is used in conjunction with power from
the other USB port, through diodes D13 and D16 to power the S6LX9 board.
Please see the Avnet DRC for an application note describing the driver installation and usage of this device.
Please note that the PHY Address pins are not strapped on the board. The Avnet XBD for this board places
pull-ups on the AD[4:1] pins. The AD[0] pin is shared with COL, which gets stripped out of EDK 12.4
xps_ethernetlite full duplex designs. The default bitgen options result in this now unused pin getting pulledlow, which results in a PHY Address of 11110b. If the bitgen options are changed such that UnusedPins are
PullNone, then the PHY Address will be 11111b due to the internal PHY pull-up on AD[0]. The user must be
aware that not controlling these PHY AD pins with internal pull-up and bitgen options will result in a PHY
Address of 00000b, which puts the PHY into Isolate Mode, and it will not operate correctly.
Two 12-pin (2 x 6 female) Peripheral Module (PMOD) headers (J4, J5) are interfaced to the FPGA, with each
header providing 3.3 V power, ground, and eight I/O’s. These headers may be utilized as general-purpose I/Os
or may be used to interface to PMODs. J4 and J5 are placed in close proximity (0.9”-centers) on the PCB in
order to support dual PMODs. Table 10 and Table 11 provide the connector and FPGA pinout. For Digilent
PMODs see: http://www.digilentinc.com/pmods
Four discrete “High Brightness, Low Vf ” LED’s are installed on the board and can be used to display the status
of the internal logic. These LEDs are attached as shown below and are lit by forcing the associated FPGA I/O
pin to a logic ‘1’ and are off when the pin is either low (0) or not driven.
The Texas Instruments TPS65708 provides two high-efficiency switching converters, two LDOs, and an LED
driver. The output voltages are tuned internally on the device. The default values are 3.3V and 1.8V for the
switchers and 2.8V and 1.2V for the LDOs. In this implementation, the 2.8V LDO output is not utilized.
The Spartan-6 FPGA core voltage requires 1.2V. Estimated max current is 160mA. This is supplied by LDO2
on the TPS65708. The input voltage is the 1.8V generated by DCDC2.
The DCDC2 regulator generates 1.8V. This voltage powers the Mobile DDR, FPGA Vcco, and the LDO2
source. Estimated max current is 210mA, plus the 160mA that the 1.2V LDO needs.
The DCDC1 regulator generates 3.3V. This voltage powers the Flash, Ethernet, PMODs, Vcco_0, Vcco_1, and
Vcco_2. Estimated max current for the board circuits is 370mA, which includes 50mA for each PMOD.
The TPS65708 has built-in sequencing, resulting in a power-up sequence of 3.3V 1.8V 2.8V 1.2V.
2.7.1 Power Good LED
A Green status LED is used to indicate when power is good on the board. This is tied to the ISINK of the
TPS65708, while the PWM input to the LED driver is connected to the 1.2V supply. This ensures that the
Power Good LED reflects the true sequencing status of all supplies.
The decoupling requirements for the Spartan-6 device are specified in Xilinx UG393 Spartan-6 FPGA PCB
Design Guide. The S6LX9 MicroBoard follows the intent of these guidelines with a few variations:
A 0.22uF, 6.3V, 0201 package capacitor is used for the smallest capacitor bin rather than 0.47uF. The
S6LX9 MicroBoard layout was constrained to using the 0201 package, and 0.22uF was the largest
available capacitance rated at least 6.3V. To compensate, twice the UG393-suggested number of caps
are used.
A 4.7uF, 6.3V, 0402 package capacitor is used for the medium capacitor bin rather than the 0805
package. As stated in UG393, a smaller package is acceptable, and in fact provides better characteristics
than the 0805 package.
100uF, 6.3V, 1206 package capacitor is used for the bulk capacitor bin. Again, a smaller package is
used.
Please note that extensive testing during development has shown that 2.2uF 0402 caps can be utilized instead of
4.7uF 0402 caps in this application. To save on board space and costs this was extrapolated to a reduction in the
number of 4.7uF 0402 caps required for proper operation in this configuration.
Table 15 – S6LX9 MicroBoard Capacitors for XC6SLX9-CSG324
Value Body
Type ESL
Size
100uF 1206 2-Terminal
Ceramic X5R
4.7uF 0402 2-Terminal
Ceramic X5R
0.22uF 0201 2-Terminal
Ceramic X5R
Table 16 – S6LX9 Board Capacitor Quantities for XC6SLX9-CSG324
The Spartan-6 FPGA LX9 MicroBoard supports three methods of configuring the FPGA. The possible
configuration sources include Boundary-scan (On-board circuitry through P1), Boundary-scan (JTAG cable
through J6), or Serial Peripheral Interface (SPI Flash in x1, x2, or x4 modes).
The blue LED on the board illuminates to indicate when the FPGA has been successfully configured.
2.8.1 Configuration Modes
The S6LX9 MicroBoard is hardwired with a 4.87K pullup resistor on HSWAPEN, M0 tied directly to 3.3V and
M1 tied directly to GND. This puts the MicroBoard in Master Serial / SPI mode, always.
Spartan-6 devices have a dedicated four-wire JTAG port that is always available to the FPGA regardless of the
mode pin settings. The default configuration mode is “Master Serial / SPI” mode, which allows the FPGA to
configure from the multi-I/O SPI Flash device. The Flash is programmed at the factory with basic test
application code to test the on-board peripherals.
The push button (SW4) is connected to the FPGA PROG pin and pulled up. Pushing the button connects PROG
to ground. Upon releasing the button, a re-configuration is initiated. This line can also be pulled low by the
AT90USB162 / ATMEGA162U2. In this case it holds off the FPGA configuration indefinitely, while
programming flash memory.
After successful configuration, blue LED D1 lights when the FPGA DONE is asserted. Go to the Avnet DRC
for the complete Spartan-6LX9 MicroBoard Configuration User Guide
The Spartan-6 FPGA LX9 MicroBoard can be configured directly via full speed USB on-board circuitry
featuring the Digilent iMPACT plug-in. This method utilizes an AT90USB162 / ATMEGA162U2 as a USB /
JTAG bridge to do a JTAG boundary scan utilizing the Digilent Plug-in and the USB-A connection.
2.8.3 Multi-I/O SPI Flash Configuration
All three possible I/O modes for the SPI Flash – Quad, Double, and Single – are supported on the S6LX9 board
through iMPACT. Currently, the Digilent direct write SPI Flash programmer only works in Single mode.
2.8.4 JTAG Chain
The Spartan-6 FPGA LX9 MicroBoard has one device in the JTAG chain, the Spartan-6 FPGA LX9 FPGA.
Configuring the Spartan-6 FPGA on the S6LX9 MicroBoard can be performed via Boundary Scan with a JTAG
download cable. The cable is attached to the 14-pin, 2 mm spaced keyed header J4 (Figure 10) with a ribbon
cable.
The S6LX9 MicroBoard factory test is programmed into the Micron SPI Flash as part of the functional test
when the boards are built. The results of this test are described in the Xilinx® Spartan®-6 LX9 MicroBoard
Getting Started Guide, the full version of which is available on the DRC. Access to the factory test source
archive, including a document describing the factory test procedure, may be granted by contacting your local
Avnet/Silica FAE.
For Xilinx technical support, you may contact Xilinx Online Technical Support at www.support.xilinx.com.
On this site you will also find the following resources for assistance:
Software, IP, and Documentation Updates
Access to Technical Support Web Tools
Searchable Answer Database with Over 4,000 Solutions
User Forums
Training - Select instructor-led classes and recorded e-learning options
Modified Table 10 and Table 11 to reflect PMOD pin order;
Changed USER_RESET_N to USER_RESET to reflect actual polarity;
Updated TBD references.
Changed reference to Factory Test availability on DRC to Avnet/Silica FAE;
Removed version reference for DVD WebPACK.
Added this revision table;
Added PMOD pinout Figure 8;
Added Atmel and National as board sponsors;
Changed Atmel AT90USB162 references to
Atmel AT90USB162 / ATMEGA162U2;
Moved LED’s to Bank 3 in
Added note on default spread spectrum operation of CDCE913
Added reference to Digilent HS3 JTAG cable and requirement to use