AX309 English UG.1.0
AX309 English UG.1.0
AX309
User Manual
AX309 User Manual
Document History
Http://www.alinx.com.cn 2 / 35
AX309 User Manual
Copyright reminder
Copyright ©2017 by ALINX Technologies inc. All rights are reserved.
Although ALINX believes that the information included in this publication is correct
as of the date of publication, ALINX reserves the right to make changes at any time
without notice.
All information in this document is strictly confidential and may only be published by
Link:http://pan.baidu.com/s/1bpnedbh password:2jy7
Getting Help
Here are the addresses where you can get help if you encounter any problems:
Email : avic@alinx.com.cn
3 / 35 Http://www.alinx.com.cn
AX309 User Manual
TEL:+86-021-67676997
We will continually provide interesting examples and labs on our forum. Please visit
http://www.heijin.org for more information.
Http://www.alinx.com.cn 4 / 35
AX309 User Manual
Table of Contents
Document History ......................................................................................................................... 2
Copyright reminder ...................................................................................................................... 3
Integrated Development Environment .................................................................................. 3
Getting Help .................................................................................................................................... 3
1. Overview ................................................................................................................................. 6
2. Power ....................................................................................................................................... 9
3. FPGA ...................................................................................................................................... 10
1) JTAG Interface ............................................................................................................ 10
2) FPGA Power Supply ................................................................................................. 11
4. 50M CLOCK ......................................................................................................................... 13
5. SPI Flash ............................................................................................................................... 13
6. SDRAM ................................................................................................................................. 15
7. EEPROM 24LC04 ............................................................................................................... 17
8. RTC ......................................................................................................................................... 18
9. USB Serial Port ................................................................................................................... 20
10. VGA Interface ..................................................................................................................... 21
11. SD Socket ............................................................................................................................ 23
12. LED ......................................................................................................................................... 24
13. Buttons ................................................................................................................................. 25
14. Camera Interface .............................................................................................................. 26
15. 7-segment displays .......................................................................................................... 28
16. Buzzer ................................................................................................................................... 30
17. GPIO Expansion Headers ............................................................................................... 31
5 / 35 Http://www.alinx.com.cn
AX309 User Manual
The FPGA development board (AX309) provides everything you need to develop FPGA
applications using Xilinx SPARTAN6 FPGA. It has many features that allow users to
implement a wide range of designed. The kit contains complete reference designs and
source code for each interface and function on board. it is a good choice and easy to
use for students or FPGA engineers to learn FPGA and do evaluation. This document
provides users of key information about the kit. following Figure shows a photograph
of the whole FPGA board.
1. Overview
This board is the evaluation board with Xilinx FPGA Spartan6 used for a complete and
powerful system processing. The FPGA chipset is Xilinx Spartan6 XC6SLX9 device in
FBGA256 package, the feature summary of this FPGA device is listed as following:
Http://www.alinx.com.cn 6 / 35
AX309 User Manual
Figure 1-1 provides a quick overview of AX309 board, it depicts the layout of the board
and indicates the location of the connector and key components.
USB
Power Camera
Power/US JTAG
Switch Interface VGA Output
B Uart
Buzzer EEPROM
24LC04
Battery
Socket RTC
FPGA
50M 16Mbit
XC6SLX9 FLASH
OSC
256Mbit
6 7-segment displays SDRAM 4 LEDs
Config
Micro
key1 key2 key3 key4 Reset SD Socket
The following hardware resources and features are provided on the board:
FPGA Device
Xilinx Spartan6 XC6SLX9;
9152 Logic Cells;
16 DSP48 Slices include 18 x 18 multiplier, an adder, and accumulator;
576Kb Block RAM Blocks;
90Kb Configurable Logic Blocks(CLBs);
7 / 35 Http://www.alinx.com.cn
AX309 User Manual
FBGA256 package;
Memory Device
256Mbit SDRAM(4Bank x 4M x 16bits);
Communication
One port of USB-to-serial;
Real-Time Clock;
EEPROM with IIC interface;
Micro SD Socket with SPI interface;
One buzzer;
Connectors
Two 40pin expansion headers(use to connect 4.3' LCD module, ADDA module,
Audio module etc.);
One 18pin CMOS header(It can connect ALINX CMOS image sensor);
Display
One port of VGA output;
Power
5V Power Supply;
Http://www.alinx.com.cn 8 / 35
AX309 User Manual
2. Power
AX309 board is powered from MINI USB port from PC. When the board and PC
computer is connected with USB cable, the AX309 board will power on if the power
switch is pushed down. The block diagram of power design is showed as Figure 2-1:
J1 SW1
F1
U1
USB供电
AMS1117- 3.3V
FUSE
3.3
POWER
SWITCH
U5
AMS1117- 1.2V
1.2V
+5V power supply is coming from MINI USB port, it will generate two powers of +3.3V
and +1.2V through the LDO voltage regulators AMS1117. +3.3V power is used for
FPGA BANK supply voltage, and the +1.2V is used for FPGA core supply voltage.
In AX309 PCB design, it use 4-layers and keep one layer for whole ground layer. so the
high-speed signals on PCB has whole ground layer to reference, it will improve the
signal integrity for high-speed signal on board.
there are test points for each power supply on board for user to test and check.
9 / 35 Http://www.alinx.com.cn
AX309 User Manual
3. FPGA
As mentioned before, AX309 board uses Xilinx Spartan6 FPGA device, the detail part
number is XC6SLX9-2FTG256C. The Spartan-6 FPGA ordering information shown in
Figure 3-1.
1) JTAG Interface
FPGA JTAG interface is connected to a single 14pins connector. When connect a
Platform USB cable to the JTAG connector, users can configure and debug the FPGA
logic or program SPI FLASH. If programming FPGA using bit file, the configuration file
in FPGA will lost after board power is off, but if program the SPI FLASH with MCS file,
the configuration of FPGA will not lost even board power is off, FPGA can read the
configuration data from SPI FLASH again when power is on.
Http://www.alinx.com.cn 10 / 35
AX309 User Manual
The hardware design of JTAG connector is showed as Figure 3-3, JTAG interface
includes four signals(TCK,TDO,TMS,TDI). these four signals connects between FPGA
device and JTAG connector with 33ohm resistors, the 33ohm resistors will protect
FPGA device to avoid damage。
JTAG connector is 14pin connector, the pin pitch is 2.0mm. Figure 3-4 shows the
onboard JTAG connector .
11 / 35 Http://www.alinx.com.cn
AX309 User Manual
FPGA BANK~BANK3. In the AX309 board, all of VCCIO pin is connected to +3.3V
voltage, so that the IO voltage standard of all bank is +3.3V. Hardware design of FPGA
power pin is showed as following Figure 3-5:
Http://www.alinx.com.cn 12 / 35
AX309 User Manual
4. 50Mhz CLOCK
Figure 4-1 is the clock circuit of FPGA system, an 50Mhz crystal oscillator provides the
clock source for the whole board. The output of the crystal oscillator is connected to
the FPGA T8 Pin (GCLK). This GCLK can be used to drive the user's logic circuit inside
the FPGA.
5. SPI Flash
The SPI Flash can be used to store the FPGA bitstreams, microblaze application code
and other user's data. Table 5-1 shows the equipped SPI Flash device in AX309 board.
13 / 35 Http://www.alinx.com.cn
AX309 User Manual
Http://www.alinx.com.cn 14 / 35
AX309 User Manual
SPI_CLK R11
SPI_CS_N T3
SPI_DIN T10
SPI_DOUT P10
6. SDRAM
The equipped SDRAM in AX309 is HY57V2562GTR which is organized in 4 Banks x 4M
x 16bits. the data bus between SDRAM and FPGA is 16bit width. The SDRAM is used as
data buffer to store large data or information, ideally suited for application of data
storage for camera capture, video display and ADDA.
Hardware design of SDRAM is showed as Figure 6-1:
15 / 35 Http://www.alinx.com.cn
AX309 User Manual
Http://www.alinx.com.cn 16 / 35
AX309 User Manual
S_A<8> L1
S_A<9> K2
S_A<10> K6
S_A<11> K1
S_A<12> J1
S_DB<0> A3
S_DB<1> B3
S_DB<2> A2
S_DB<3> B2
S_DB<4> B1
S_DB<5> C2
S_DB<6> C1
S_DB<7> D1
S_DB<8> H5
S_DB<9> G5
S_DB<10> H3
S_DB<11> F6
S_DB<12> G3
S_DB<13> F5
S_DB<14> F3
S_DB<15> F4
7. EEPROM 24LC04
One 4Kbit EEPROM is used to store the data and serial number as well as the board
information and other data. It is connected to FPGA using the I2C interface. The data
stored in EEPROM will not lost even board is power off. The hardware design of
EEPROM is showed as Figure 7-1:
17 / 35 Http://www.alinx.com.cn
AX309 User Manual
8. RTC
A real time clock device(DS1302) is connected to FPGA with serial interface. the
DS1302 will provide the time information(Year/Weeks/Hours/Seconds/Minutes) to
FPGA system. An external 32.768KHz clock is required to providing accurate clock
Http://www.alinx.com.cn 18 / 35
AX309 User Manual
source to DS1302 for normal operation. In order that RTC can work alone even if board
is power off, a battery need to be equipped on U10 positon, the P/N of battery is
CR1220 and it is not mounted by default.
19 / 35 Http://www.alinx.com.cn
AX309 User Manual
Http://www.alinx.com.cn 20 / 35
AX309 User Manual
There are two LEDs on board to indicate the UART operation status, the RXD LED is
used to indicate receiving status, and the TXD LED is used to indicate send status. The
indication LEDs is design as Figure 9-3.
There is a VGA display port on AX309 board with 16-bit (RGB565) DAC. Using this VGA
21 / 35 Http://www.alinx.com.cn
AX309 User Manual
interface, FPGA can display picture or image on VGA monitor. The 16-bit VGA DAC is
combined of resistors network, the RGB signals from FPGA is converted to analogy
signal through VGA DAC. FPGA also should provide the horizontal sync signal and
vertical sync signal to drive VGA monitor. The hardware design of VGA interface is
showed as Figure 10-1:
Http://www.alinx.com.cn 22 / 35
AX309 User Manual
VGA_D<5> M9 GREEN<0>
VGA_D<6> N9 GREEN<1>
VGA_D<7> P9 GREEN<2>
VGA_D<8> L10 GREEN<3>
VGA_D<9> M10 GREEN<4>
VGA_D<10> P11 GREEN<5>
VGA_D<11> M11 RED<0>
VGA_D<12> M12 RED<1>
VGA_D<13> L12 RED<2>
VGA_D<14> N14 RED<3>
VGA_D<15> M13 RED<4>
VGA_HS M14 Horizontal sync signal
VGA_VS L13 Vertical sync signal
11. SD Socket
SD card is a very popular storage device now, in AX309 board a Micro SD socket is
designed for SD card access. FPGA uses the SPI interface to read or write the SD card in
AX309. The hardware design of SD socket is showed as Figure 11-1.
23 / 35 Http://www.alinx.com.cn
AX309 User Manual
12. LED
The board provides 4 onboard RED LEDs. These RED LEDs will light on when high
voltage is output from FPGA IO. The design of LEDs is showed as Figure 12-1.
Http://www.alinx.com.cn 24 / 35
AX309 User Manual
13. Buttons
The board has six buttons, it includes four user keys (KEY1~KEY4) and two special
buttons (PROG and RESET). Signal of KEY1 ~ KEY4 is low voltage when KEY1~KEY4
button is pressed down. The hardware design of the four user keys is shown in Figure
13-1
There are two buttons for special function, one is for RESET function and another is for
CONFIG function. The RESET button is connected to FPGA IO and the CONFIG button
is connected to PROGRAM pin of FPGA. The hardware design of these two special
buttons is shown in Figure 13-2
25 / 35 Http://www.alinx.com.cn
AX309 User Manual
Http://www.alinx.com.cn 26 / 35
AX309 User Manual
27 / 35 Http://www.alinx.com.cn
AX309 User Manual
13 CMOS_D<3> F12
14 CMOS_D<2> H14
15 CMOS_D<1> F13
16 CMOS_D<0> G14
17 CMOS_RESET E12
18 CMOS_PWDN F14
Http://www.alinx.com.cn 28 / 35
AX309 User Manual
Following table shows the pin assignment of FPGA to the 7-segment displays.
Net Name FPGA PIN Description
DIG[0] C7 Seven Segment Digit A
29 / 35 Http://www.alinx.com.cn
AX309 User Manual
16. Buzzer
The board has one buzzer which is mainly used for prompt or alarm. the buzzer is
controlled by a transistor, when FPGA output a low signal, the buzzer will on and
sound, when FPGA output a high signal, the buzzer will off. The hardware design of
buzzer is showed as Figure 16-1:
Figure 16-2 is showed the buzzer onboard, we can disable the buzzer by removing the
Http://www.alinx.com.cn 30 / 35
AX309 User Manual
The FPGA IO pins on the expansion headers is connected to a 33ohm resistor for
protection against high or low voltage level. Figure 17-1 and Figure 17-2 shows the
connection circuitry of these two 40-pin expansion headers.
31 / 35 Http://www.alinx.com.cn
AX309 User Manual
Figure 17-3 is the header of J2 and J3 on AX309 board, the Pin1, Pin2 and Pin39,Pin40
of connector is marked on PCB board.
Http://www.alinx.com.cn 32 / 35
AX309 User Manual
Expansion Header of AX309 can use to connect ALINX module to expand the
additional function, for example connect to LCD module or ADDA module as Figure
17-4.
33 / 35 Http://www.alinx.com.cn
AX309 User Manual
5 L16 6 K15
7 M15 8 M16
9 P16 10 N16
11 R16 12 P15
13 T15 14 R15
15 T14 16 R14
17 R12 18 T13
19 R9 20 T12
21 L8 22 T9
23 R7 24 T7
25 T5 26 T6
27 T4 28 R5
29 R1 30 R2
31 P2 32 M4
33 P6 34 N6
35 M5 36 N4
37 GND 38 GND
39 D3V3 40 D3V3
Pin Assignment of J3
J3 PIN FPGA PIN J3 PIN FPGA PIN
1 GND 2 VCC5V
3 A4 4 B5
5 A5 6 B6
7 A6 8 A7
9 B8 10 A8
11 C8 12 A9
13 A10 14 B10
15 A11 16 A12
17 B12 18 A13
19 A14 20 B14
21 B15 22 B16
Http://www.alinx.com.cn 34 / 35
AX309 User Manual
23 C15 24 C16
25 D16 26 E15
27 C9 28 E11
29 C10 30 D11
31 E16 32 F15
33 F16 34 G16
35 H15 36 H16
37 GND 38 GND
39 D3V3 40 D3V3
35 / 35 Http://www.alinx.com.cn