R
The L, R, and C fields in the status byte correspond to Left, Right, and Center button
presses. A '1' indicates that the associated mouse button is being pressed.
Voltage Supply
The PS/2 port on the Spartan-3A/3AN Starter Kit board is powered by 5V. Although the
Spartan-3A/3AN FPGA is not a 5V-tolerant device, it can communicate with a 5V device
using 270Ω series current-limiting resistors, as shown in
Adding a Second PS/2 Port Using a Y-Splitter Cable
Most applications that use the PS/2 port will connect a mouse or a keyboard directly to the
Spartan-3A/3AN Starter Kit board connector. These applications use the primary FPGA
connections to the PS/2 port, as shown in
However, it is possible to include a second PS/2 port by connecting a PS/2 Y-splitter cable
to the PS/2 connector on the board.
Spartan-3A/3AN Starter Kit does not include such a cable but one can be purchased from
a local electronics supply store or via the web. Some example vendors and part numbers
are listed below. Check various vendors and suppliers as prices vary greatly!
•
•
•
•
•
•
•
When using the splitter cable, use both sets of FPGA connections listed in
page 65
Y-splitter while the secondary connections appear at the other side of the Y-splitter.
Spartan-3A/3AN Starter Kit Board User Guide
UG334 (v1.0) May 28, 2007
StarTech PS/2 Keyboard/Mouse Y-splitter Cable, KYC1MF
American Power Conversion (APC) Mouse and Keyboard Splitter Cable, 62305-1
Belkin Pro Series Notebook Y Cable, F3G117-01
Tripp Lite, P230-001
QVS CC321Y
ComputerCableStore.com, 8-1718Y-00.5
CablesToGo, 08017
Figure 8-6: Example PS/2 Y-Splitter Cable
and
Table 8-1, page
65. The primary connections appear at one side of the
www.xilinx.com
Figure 8-1, page
Figure 8-1, page
65.
Figure 8-6
shows an example of such a cable. The
UG330_c8_02_012507
Voltage Supply
65.
Figure 8-1,
69