Datasheet

Genesys 2 FPGA Board Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 16 of 31
For more information, see the FT2232H data sheet
11
.
10.2 Serial Peripheral Interface (DSPI)
An industry-standard SPI interface can also be used for transferring data. It uses only four signals for serial full-
duplex communication. The USB controller acts as a SPI master, with the FPGA taking the slave role. The USB
controller initiates a transaction after API function calls and transfers data in both directions simultaneously.
Signal
Direction (FPGA)
Description
SCK
Input
Data bus.
MOSI
Output
When low, data is available for reading from the FIFO.
MISO
Input
When low, data can be written to the FIFO.
SS
Input
A low-pulse triggers data to be read out from the FIFO.
Table 7. DSPI signal description.
For more information, see the FT2232H data sheet
11
.
11 USB HID Host
The Auxiliary Function microcontroller (Microchip PIC24FJ128) provides the Genesys 2 with USB HID host
capability. After power-up, the microcontroller is in configuration mode, either downloading a bitstream to the
FPGA, or waiting on it to be programmed from other sources. Once the FPGA is programmed, the microcontroller
switches to application mode, which is USB HID Host in this case. Firmware in the microcontroller can drive a
mouse or a keyboard attached to the type A USB connector at J7 labeled "USB HID”. J7 is a dual-row USB A
receptacle, with the top row connected to the Auxiliary Function microcontroller. Hub support is not currently
available, so only a single mouse or a single keyboard can be used. The PIC24 drives several signals into the FPGA
two are used to implement a standard PS/2 interface for communication with a mouse or keyboard, and the
others are connected to the FPGA’s two-wire serial programming port, so the FPGA can be programmed from a file
stored on a USB pen drive or microSD card.
Kintex-7
AD23
PIC24FJ128
PS2_CLK
AE20
HOST
(J7-top)
2
PS2_DAT
FPGA
Config
microSD
2
FPGA
Config
User I/O
SD MICRO (J3)
SD/USB (JP4)
Figure 10. Genesys 2 PIC24 Connections.
11
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf