Download Print this page

Digilent PmodPS/2 Reference Manual

Advertisement

Quick Links

PmodPS/2™ Reference Manual
Revised May 26, 2016
This manual applies to the PmodPS/2 rev. C
Overview
The Digilent PmodPS/2 is a module that allows users to attach a PS/2 compatible keyboard or mouse to their
system board.
The PmodPS/2.
1

Functional Description

The PmodPS/2 module is a standard PS/2 connector that by nature of the PS/2 supports N-KEY rollover. This is a
feature that guarantees that every movement and key press will be received and addressed. Naturally, whether or
not the key press will actually perform a function is dependent on the software, but the system board will still
receive all of the inputs.
2
Interfacing with the Pmod
The PmodPS/2 communicates with the host board via the GPIO protocol. Both the keyboard and mouse will use a
data and a clock line to communicate their information to the system board. Specific details on how this is done
are available in their respective sections below.
DOC#: 502-094
Other product and company names mentioned may be trademarks of their respective owners.
Features include:
Standard PS/2 port
Jumper to allow for an external power source
Small PCB size for flexible designs 1.0" × 0.8" (2.5 cm ×
2.0 cm)
6-pin Pmod connector with GPIO interface
Follows
Digilent Pmod Interface Specification
Example code available in
Copyright Digilent, Inc. All rights reserved.
1300 Henley Court
Pullman, WA 99163
509.334.6306
www.digilentinc.com
Type 1
resource center
Page 1 of 4

Advertisement

loading
Need help?

Need help?

Do you have a question about the PmodPS/2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Digilent PmodPS/2

  • Page 1: Functional Description

    The PmodPS/2. Functional Description The PmodPS/2 module is a standard PS/2 connector that by nature of the PS/2 supports N-KEY rollover. This is a feature that guarantees that every movement and key press will be received and addressed. Naturally, whether or not the key press will actually perform a function is dependent on the software, but the system board will still receive all of the inputs.
  • Page 2: Keyboard And Mouse Interface

    (like a capital letter), then a shift character is sent in addition to the original scan code, and the host device must determine which character to use. Some keys, called extended keys, send an “E0” ahead of the scan Copyright Digilent, Inc. All rights reserved. Page 2 of 4...
  • Page 3 33 are ‘1’ stop bits. The three 8-bit data fields contain movement data as shown below. Data is valid at the falling edge of the clock, and the clock period is 20 to 30kHz. Copyright Digilent, Inc. All rights reserved. Page 3 of 4...
  • Page 4: Physical Dimensions

    The pins on the pin header are spaced 100 mil apart. The PCB is 1 inch long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header. Copyright Digilent, Inc. All rights reserved. Page 4 of 4...
  • Page 5 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Digilent 410-094P 410-094...