Digilent 410-219P User Manual
Digilent Hardware
P
P
m
m
o
o
d
d
I
I
O
O
X
X
P
P
™
™
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
Revision: August 24, 2011
1300 NE Henley Court, Suite 3
Pullman, WA 99163
(509) 334 6306 Voice | (509) 334 6300 Fax
Doc: 502-219
page 1 of 2
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Overview
The PmodIOXP is an I/O expansion module
powered by the Analog Devices ADP5589.
Features include:
•
16-element FIFO for event recording
•
19 configurable I/Os
•
Keypad decoding for matrices up to
11x8
•
PWM generator
•
Open-drain interrupt output
•
Dual Programmable logic blocks
•
Debouncing on IOs
•
I
2
C interface
Functional Description
The PmodIOXP functions as an I/O port
expander and keypad matrix decoder. The
PmodIOXP uses a standard 8-pin I
2
C
connector and can communicate to a system
board via I
2
C.
Interface
All communications with the device must
specify a register address and a flag indicating
whether the communication is a read or a
write. This is followed by the actual data
transfer.
Device configuration is performed by writing to
control registers within the device. Input and
event data is accessed by reading certain
device registers.
A full list of registers and their functionality, as
well as communication specifications, is found
in the ADP5589 datasheet available on the
Analog Devices website.
Interface Connector Signal Description
The I
2
C interface standard uses two signal
lines. These are I2C data (SDA) and serial
clock (SCLK). These signals map to the serial
data (SDA) and serial clock (SCLK)
respectively on the ADP5589.
Event FIFO
The PmodIOXP has an event FIFO that can
record up to 16 events. The FIFO includes key
events and can be configured to include
general-purpose input (GPI) and logic activity.
When the FIFO is read from, the first entry is
always read. Specific registers related to the
FIFO are outlined in the ADP5589 datasheet.
Connector J3 – I2C Communications
Pin
Signal
Description
1, 2
SCLK
Serial Clock
3, 4
SDA / SDI /
SDIO
I2C Data / SPI Master
out Slave in Data
5, 6
GND
Power Supply Ground
7, 8
VCC
Power Supply (3.3V)