Digilent Nexys 3 Скачать руководство пользователя страница 12

Nexys 3™ FPGA Board Reference Manual 

 

 

Copyright Digilent, Inc. All rights reserved. 

Other product and company names mentioned may be trademarks of their respective owners.

 

Page 

12

 of 

22

 

 

Spartan 6

L12

PIC24FJ192

K_CLK

J13

“HOST”J4

2

L13
K14

K_DAT

M_CLK

M_DAT

R13
R15

DIN

CLK

FPGA Serial 
programming

PS/2 Keyboard

PS/2 Mouse

L16
H17

GPIO0

GPIO1

Additional I/O

(for future use)

 

 

USB-UART Bridge (Serial Port) 

The Nexys 3 includes an FTDI FT232 USB-UART bridge to allow PC applications to communicate with the board 
using standard Windows COM port commands. Free USB-COM port drivers, available from www.ftdichip.com 
under the "Virtual Com Port" or VCP heading, convert USB packets to UART/serial port data. Serial port data is 
exchanged with the FPGA using a two-wire serial port 
(TXD/RXD) and software flow control (XON/XOFF). After the 
drivers are installed, I/O commands from the PC directed to the 
COM port will produce serial data traffic on the N17 and N18 
FPGA pins. 

 

USB HID Host 

A Microchip PIC24FJ192 microcontroller 
provides the Nexys 3 with USB H ID host 
capability. Firmware in the microcontroller 
can drive a mouse or a keyboard attached to 
the type A USB connector at J4 labeled "Host". 
Hub support is not currently available, so only 
a single mouse or a single keyboard can be 
used. The PIC24 drives four signals into the 
FPGA – two are used as a keyboard port 
following the keyboard PS/2 protocol, and 
two are used as a mouse port following the 
mouse PS/2 protocol. 

Two PIC24 I/O pins are also connected to the 
FPGA's two-wire serial programming port, so the FPGA can be programmed from a file stored on a USB memory 
stick. To program the FPGA, attach a memory stick containing a single .bit programming file in the root directory, 
load both M0 and M1 on J8 jumper, and cycle board power. This will cause the PIC processor to program the FPGA, 
and any incorrect bit files will automatically be rejected. Note the PIC24 reads the FPGA's mode, init, and done 
pins, and can drive the PROG pin as a part of the programming sequence. 
 

7.1  HID Controller 

To access the USB host controller, EDK designs can use the 
standard PS/2 core (non-EDK designs can use a simple state 
machine).   

Mice and keyboards that use the PS/2 protocol

1

 use a two-

wire serial bus (clock and data) to communicate with a host 
device. Both use 11-bit words that include a start, stop, and 

                                                                 

1

Not all keyboard manufacturers strictly adhere to the PS/2 specifications; some keyboards may not produce the 

proper signaling voltages or use the standard communication protocols. Compatibility with the USB host may vary 
between different keyboards.  

 

N17

TXD

N18

Micro-USB

J13

“UART”

2

RXD

Spartan 6

FT232

 

T

CK

T

SU

Clock time
Data-to-clock setup time

30us

5us

50us
25us

Symbol

Parameter

Min

Max

T

HLD

Clock-to-data hold time

5us

25us

Edge 0

‘0’ start bit

‘1’ stop bit

Edge 10

Tsu

T

hld

Tck Tck

Содержание Nexys 3

Страница 1: ...PGA and broad set of peripherals make the Nexys 3 board an ideal host for a wide range of digital systems including embedded processor designs based on Xilinx s MicroBlaze Nexys 3 is compatible with a...

Страница 2: ...Host Port Serial Prog Port 2 Micron Parallel PCM P8P BPI Port J8 Programming Mode SLV Serial SPI BPI UP M0 M1 6 pin JTAG Header J7 Prog Programming files are stored in SRAM based memory cells within...

Страница 3: ...ce has been programmed it can automatically configure the FPGA at a subsequent power on or reset event as determined by the J8 jumper setting Programming files stored in the PCM devices will remain un...

Страница 4: ...nd attach the power supply plug in the USB cable to the PC and to the USB port on the board start the Adept software turn ON Nexys 3 s power switch wait for the FPGA to be recognized Use the browse fu...

Страница 5: ...ay to verify many of the board s hardware circuits and interfaces These are divided into two major categories on board memory RAM and Flash and peripherals In both cases the FPGA is configured with te...

Страница 6: ...greatly simplifies passing control parameters into a design or reading low frequency status information out of a design 1 6 File I O The File I O tab can transfer files between the PC and the Nexys 3...

Страница 7: ...external power supply or battery pack can be used by setting JP1 to Wall The main regulator on the Nexys 3 can accommodate input voltages up to 5 5VDC An external DC wall plug supply should provide a...

Страница 8: ...hare a common bus and the serial PCM is on a dedicated quad mode x4 SPI bus The non volatile PCM memories are byte and bit alterable without requiring a block erase so they are faster and more versati...

Страница 9: ...alterable without requiring an erase cycle It supports the legacy SPI protocol as well as the newer Quad I O and Dual I O protocols at bus speeds up to 50MHz FPGA configuration files can be written to...

Страница 10: ...R20 G14 ADDR11 F17 ADDR2 J18 DATA10 P12 DATA1 T14 ADDR19 D17 ADDR10 F18 ADDR1 K17 DATA9 P6 DATA0 R13 ADDR18 D18 ADDR9 H13 ADDR0 K18 DATA8 N5 ADDR17 H12 ADDR8 H14 DATA7 R5 4 Ethernet PHY The Nexys 3 bo...

Страница 11: ...drive any or all of the four clock management tiles in the Spartan 6 Each tile includes two Digital Clock Managers DCMs and four Phase Locked Loops PLLs DCMs provide the four phases of the input freq...

Страница 12: ...nto the FPGA two are used as a keyboard port following the keyboard PS 2 protocol and two are used as a mouse port following the mouse PS 2 protocol Two PIC24 I O pins are also connected to the FPGA s...

Страница 13: ...ine which ASCII character to use Some keys called extended keys send an E0 ahead of the scan code and they may send more than one scan code When an extended key is released an E0 F0 key up code is sen...

Страница 14: ...nate system wherein moving the mouse to the right generates a positive number in the X field and moving to the left generates a negative number Likewise moving the mouse up generates a positive number...

Страница 15: ...manate from electron guns which are finely pointed heated cathodes placed in close proximity to a positively charged annular plate called a grid The electrostatic force imposed by the grid pulls rays...

Страница 16: ...memory with one or more bytes assigned to each pixel location the Nexys 3 uses three bits per pixel The controller must index into video memory as the beams move across the display and retrieve and a...

Страница 17: ...an arrange the counters to easily form video RAM addresses or to minimize decoding logic for sync pulse generation 9 Basic I O The Nexys 3 board includes eight slide switches five push buttons eight i...

Страница 18: ...d so any one of 128 patterns can be displayed on a digit by illuminating certain LED segments and leaving the others dark Of these 128 possible patterns the ten corresponding to the decimal digits are...

Страница 19: ...n a 1 will be displayed in digit position 1 Then if AN1 is asserted while CA CB and CC are asserted then a 7 will be displayed in digit position 2 If AN0 and CB CC are driven for 4ms and then A1 and C...

Страница 20: ...ing commonly powered at 2 5V The connector uses a symmetrical pinout as reflected around the connector s vertical axis so that peripheral boards as well as other system boards can be connected Connect...

Страница 21: ...rt A USB mouse can be connected to J4 for a simple visual demonstration If the demo configuration is not present in the BPI device it can be downloaded from the Digilent website and programmed directl...

Страница 22: ...Other product and company names mentioned may be trademarks of their respective owners Page 22 of 22 board fails test outside of the warranty period and cannot be easily repaired Digilent can repair...

Отзывы: