chipKIT™ Pmod Shield-Uno
Reference Manual
Revision:
November 7, 2012
1300 Henley Court | Pullman, WA 99163
(509) 334 6306 Voice and Fax
Overview
The chipKIT Pmod Shield-Uno is an
input/output expansion board for use with the
chipKIT Uno32™ and chipKIT uC32™. It
provides the additional circuitry and connectors
to allow Digilent peripheral modules (Pmods™)
to be used with the Uno32 and uC32.
The Pmod Shield-Uno has five 2x6 Digilent
Pmod connectors. It also provides access to
the I/O connectors available on the Uno32 as
well as connecting to the I
2
C bus supported by
the Uno32 and uC32.
The Pmod Shield-Uno has the same form
factor as the Uno32 and uC32 boards.
Features include:
five 2x6 Digilent Pmod connectors
one 6-pin header connector for SPI
one I
2
C daisy chain connector
4 user LEDs
Standard chipKIT Shield connectors
Functional Description
The Pmod Shield-Uno is designed to be used with the chipKIT Uno32 board. When used in
combination, the two boards provide the necessary supporting hardware and connectors to make use
of most Digilent Pmods
TM
. The rest of this document will only reference the Uno32, however, the
shield can also be used with the chipKIT uC32.
The Pmod Shield-Uno has the following connectors.
J1 & J3: Digital Signal Pass-Through Connectors
This connector provides most of the signals used by the Uno32 board to the Pmod Shield-Uno board.
The remaining signals are passed through the Pmod Shield-Uno.
J6: SPI #2 Connector
This connector provides access to the SPI signals MISO, MOSI, SCK, and SS.
Doc: 502-229
page 1 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
chipKIT Pmod Shield-Uno Reference Manual
JA-JE: Digilent Pmod Connectors
These connectors provide access to the signals of the Uno32 in a form factor which readily allows
Digilent Pmods to be connected.
J2: I
2
C #1 Daisy Chain Connector
This is a 2x4 pin header connector that provides access to the I
2
C signals SDA and SCL as well as
power from the 3.3V power bus and ground. This can be used to extend the I
2
C bus off of the board
and to power external I
2
C devices. Digilent has cables and a selection of I
2
C peripheral modules that
can be accessed using this connector.
J4: Analog Signal Pass-Through Connector
This connector passes the analog input pins on the Uno32 through the Pmod Shield-Uno board.
J5: Power Pass-Through Connector
This connector passes the power connector from the Uno32 through the Pmod Shield-Uno board, and
powers the Pmod Shield-Uno from the Uno32.
I
2
C Busses and Connectors
The Inter-Integrated Circuit (I
2
C) Interface provides a medium speed (100K or 400K bps) synchronous
serial communications bus. The I
2
C interface provides master and slave operation using either 7 bit or
10 bit device addressing. Each device is given a unique address, and the protocol provides the ability
to address packets to a specific device or to broadcast packets to all devices on the bus. Refer to the
Microchip PIC32MX3XX data sheet and the
PIC32 Family Reference Manual
for detailed information
on configuring and using the I
2
C interface.
The PIC32MX320 microcontroller on the Uno32 provides for two independent I
2
C interfaces. The
Pmod Shield-Uno is designed to provide access to both of these interfaces I
2
C #1 (SCL1, SDA1) and
I
2
C #2 (SCL2, SDA2). I
2
C #1 is the bus accessed through the standard chipKIT Wire library.
Connector J2 provides access to I
2
C port #1 while access to I
2
C port #2 is available on several of the
connectors of the Pmod Shield-Uno.
Connector J2 can be used to extend the I
2
C busses off of the board to connect to external I
2
C
devices. This is a standard 2x4 pin header connector with 0.100” spaced pins. It provides access to
the I
2
C signals, SCL and SDA, plus VCC3V3 and ground. The VCC3V3 can be used to power
external I
2
C devices.
The I
2
C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means
that pull-up resistors must be provided to supply the logic high state for the signals. The Pmod Shield-
Uno provides 2.2Kohm pull-up resistors on I
2
C #1.
Generally, only one set of pull-ups are used on the bus. Jumpers JP10 and JP11 can be used to
disable the on-board pull-ups on I
2
C #1 if a different value is needed or some other device on the bus
www.digilentinc.com
page 2 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
chipKIT Pmod Shield-Uno Reference Manual
is providing the pull-ups or if I
2
C #1 isn’t being used and the pull-ups are interfering with the use of the
pins. The on-board pull-ups are enabled by install shorting blocks on JP10 and JP11. Removing the
shorting blocks disables the pull-ups.
Digilent has several small I/O modules available that can be connected using the I
2
C connector.
These include a 3-axis accelerometer, 4-channel, 12-bit A/D converter, serial character LCD panel, 3-
axis gyroscope, real-time clock/calendar, and an I/O expander.
SPI Connector
The SPI connector pins are as follows: Pin 1 (MISO), Pin 3 (SCK), Pin 4 (MOSI), and Pin 5 (SS).
These signals also appear on connector J8 of the Uno32.
Jumpers JP5 and JP7 on the Uno32 are used to select whether the Uno32 operates as a Master
(transmit on MOSI, receive on MISO) or a Slave (transmit on MISO, receive on MOSI) device. The
shorting blocks on JP5 and JP7 are normally placed in the Master position for the Uno32 to function
as an SPI master. Also, jumper JP4 on the Uno32 is used to select PWM output (in RD4 position) or
the SPI SS function on Pin 5 (in RG9 position).
www.digilentinc.com
page 3 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
chipKIT Pmod Shield-Uno Reference Manual
Appendix: chipKIT Pmod Shield-Uno Pinout Tables
J1 Pins
Uno32
Pin #
8
34
9
35
10
10
36
11
37
12
38
13
39
40
42
41
PIC32
Pin #
44
53
51
45
8
52
54
6
55
5
35
4
31
32
16
15
Pin
J1-01
J1-02
J1-03
J1-04
J1-05
J1-05
J1-06
J1-07 or
J1-09
J1-08
J1-09 or
J1-07
J1-10
J1-11
J1-12
J1-14
J1-15
J1-16
Signal
IC3/PMCS2/PMA15/INT3/RD10
PMRD/CN14/RD5
OC4/RD3
IC4/PMCS1/PMA14/INT4/RD11
SS2/PMA2/CN11/RG9
PMWR/OC5/IC5/CN13/RD4
CN15/RD6
SDO2/PMA3/CN10/RG8
CN16/RD7
SDI2/PMA5/CN8/RG7
U1RTS/BCLK1/SCK1/INT0/RF6
SCK2/PMA5/CN8/RG6
PMA9/U2RX/SDA2/CN17/RF4
PMA8/U2TX/SCL2/CN18/RF5
PGED1/PMA6/AN0/VREF+/CVREF+/CN2/RB0
PGC1/AN1/VREF-/CVREF-/CN3/RB1
Notes
selected by JP4
selected by JP4
selected by JP5/JP7
selected by JP7/JP5
J3 Pins
Uno32
Pin #
0
26
1
27
2
28
3
29
4
30
5
31
6
32
7
33
PIC32
Pin #
34
60
33
61
42
62
46
63
59
64
49
1
50
2
43
3
Pin
J3-01
J3-02
J3-03
J3-04
J3-05
J3-06
J3-07
J3-08
J3-09
J3-10
J3-11
J3-12
J3-13
J3-14
J3-15
J3-16
U1RX/SDI1/RF2
PMD0/RE0
U1TX/SDO1/RF3
PMD1/RE1
IC1/RTCC/INT1/RD8
PMD2/RE2
OC1/RD0
PMD3/RE3
RF1
PMD4/RE4
OC2/RD1
PMD5/RE5
OC3/RD2
PMD6/RE6
IC2/U1CTS/INT2/RD9
PMD7/RE7
Signal
Notes
selected by JP4
selected by JP4
selected by JP5/JP7
selected by JP7/JP5
www.digilentinc.com
page 4 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
chipKIT Pmod Shield-Uno Reference Manual
JA Pins
Uno32
Pin #
26
27
28
29
PIC32
Pin #
60
61
62
63
Pin
JA-01
JA-02
JA-03
JA-04
JA-05
JA-06
JA-07
JA-08
JA-09
JA-10
JA-11
JA-12
PMD0/RE0
PMD1/RE1
PMD2/RE2
PMD3/RE3
GND
VCC 3V3 / 5V0
PMD4/RE4
PMD5/RE5
PMD6/RE6
PMD7/RE7
GND
VCC 3V3 / 5V0
Signal
Notes
select with JPA
30
31
32
33
64
1
2
3
select with JPA
JB Pins
Uno32
Pin #
7
1
0
38
PIC32
Pin #
43
33
34
35
Pin
JB-01
JB-02
JB-03
JB-04
JB-05
JB-06
JB-07
JB-08
JB-09
JB-10
JB-11
JB-12
PMD0/RE0
PMD1/RE1
PMD2/RE2
PMD3/RE3
GND
VCC 3V3 / 5V0
PMD4/RE4
PMD5/RE5
PMD6/RE6
PMD7/RE7
GND
VCC 3V3 / 5V0
Signal
Notes
select with JPB
36
34
10
37
54
53
52
55
select with JPB
J2 Pins (I
2
C)
Uno32
Pin #
PIC32
Pin #
37
37
36
36
Pin
J2-01
J2-02
J2-03
J2-04
J2-05
J2-06
J2-07
J2-08
SCL1/RG2
SCL1/RG2
SDA1/RG3
SDA1/RG3
GND
GND
VDD
VDD
Signal
Notes
www.digilentinc.com
page 5 of 7
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.