PIC24F16KA102 PIM Limitations
The result of multiplexing the functions from a 28-pin part to the 100-pin PIM header is that many of the func-
tions are not available. All of the built-in functionality on the Explorer 16 board can be used simultaneously;
however, all PICtail™ Plus daughter boards, as well as any other expansion boards available for Explorer 16,
will not function with the PIC24F16KA102 PIM due to the I/O limitations of the part.
Introducing the PIC24F16KA102 PIM
Overview
The PIC24F16KA102 PIM is designed to demonstrate the capabilities of the PIC24F16KA102 family using
the Explorer 16 Demonstration Board kit. Table 1 and Table 2 detail the pin mapping of the 28-pin device
PIM to the 100-pin PIM header.
• The 28-pin to 100-pin table lists the device pins and shows what functions are mapped to each.
• The MCP23S17 28-pin table shows a listing of the Explorer 16 functions and what port expander pin is
mapped to that function.
Tips for Using the PIC24F16KA102 PIM
• Several of the Explorer 16 LEDs are driven by the Port Expander. Check the mapping table, as well as
the schematic for connections. The PIC24F16KA102 port pins are not mapped to the corresponding
port I/O on the Explorer 16 board. Make sure to use Table 1 and Table 2 as a cross-reference to ensure
you use the correct device pin in your application.
MCP23S17 Port Expander
The PIC24F16KA102 PIM has an on-board Port Expander to provide an interface to the advanced capabil-
ities of the Explorer 16 Development Board. The Port Expander is used to drive the LCD display on the
Explorer 16 board. It is also used to drive several of the LEDs on the Explorer 16 board. See Table 2, as
well as the schematic in Figure 1 for more detailed information.
Americas
Atlanta - 678-957-9614
Boston - 774-760-0087
Chicago - 630-285-0071
Cleveland - 216-447-0464
Dallas - 972-818-7423
Detroit - 248-538-2250
Kokomo - 765-864-8360
Los Angeles - 949-462-9523
Phoenix - 480-792-7200
Santa Clara - 408-961-6444
Toronto - 905-673-0699
Asia/Pacific
Australia - Sydney - 61-2-9868-6733
China - Beijing - 86-10-8528-2100
China - Chengdu - 86-28-8665-5511
China - Hong Kong SAR - 852-2401-1200
China - Nanjing- 86-25-8473-2460
China - Qingdao - 86-532-8502-7355
China - Shanghai - 86-21-5407-5533
China - Shenyang - 86-24-2334-2829
China - Shenzhen - 86-755-8203-2660
China - Wuhan - 86-27-5980-5300
China - Xiamen - 86-592-2388138
China - Xian - 86-29-8833-7252
China - Zhuhai - 86-756-3210040
India - Bangalore - 91-80-3090-4444
India - New Delhi - 91-11-4160-8631
India - Pune - 91-20-2566-1512
Japan - Yokohama - 81-45-471-6166
Korea - Daegu - 82-53-744-4301
Korea - Seoul - 82-2-554-7200
Malaysia - Kuala Lumpur - 60-3-6201-9857
Malaysia - Penang - 60-4-227-8870
Philippines - Manila - 63-2-634-9065
Singapore - 65-6334-8870
Taiwan - Hsin Chu - 886-3-6578-300
Taiwan - Kaohsiung - 886-7-536-4818
Taiwan - Taipei - 886-2-2500-6610
Thailand - Bangkok - 66-2-694-1351
Europe
Austria - Weis - 43-7242-2244-39
Denmark - Copenhagen - 45-4450-2828
France - Paris - 33-1-69-53-63-20
Germany - Munich - 49-89-627-144-0
Italy - Milan - 39-0331-742611
Netherlands - Drunen - 31-416-690399
Spain - Madrid - 34-91-708-08-90
UK - Wokingham - 44-118-921-5869
03/26/09
PIC24F16KA102 PIM Features
Due to having the Port Expander, the 28-pin device is capable of performing all of the base functions on the
100-pin Explorer 16 board, which are demonstrated with the demo code loaded into the part.
Table 1: 28-Pin to 100-Pin Pinout Mapping
Pin #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PIC24F16KA102 Pinout
MCLR/V
PP
/RA5
AN0/V
REF
+/CN2/RA0
AN1/V
REF
-/CN3/RA1
PGD1/AN2/C1IND/C2INB/U2TX/
CN4/RB0
PCG1/AN3/C1INC/C2INA/
U2RX/U2BCLK/CN5/RB1
AN4/C1INB/C2IND/U1RX/
U1BCLK/CN6/RB2
AN5/C1INA/C2INC/CN7/RB3
V
SS
OSCI/CLKI/CN30/RA2
OSCO/CLKO/CN29/RA3
SOSCI/U2RTS/CN1/RB4
SOSCO/T1CK/U2CTS/CN0/RA4
V
DD
PGD3/SDA1/CN27/RB5
PGC3/SCL1/CN24/RB6
U1TX/INT0/CN23/RB7
U1CTS/SCL1/CN22/RB8
U1RTS/SDA1/CN21/RB9
IC1/CN9/RA7
OC1/C2OUT/INT2/CTED1/CN8/
RA6
PGD2/SDI1/PMD2/CN16/RB10
PGC2/SCK1/CN15/RB11
AN12/HLVDIN/CTED2/CN14/RB12
AN11/SDO1/CTPLS/CN13/RB13
AN10/CV
REF
/RTCC/OCFA/
C1OUT/INT1/CN12/RB14
REFO/SS1/T2CK/T3CK/CN11/RB15
V
SS
V
DD
Pin #
13
20
21
91
80
49
92
9
63
64
74
73
PIM
Function
MCLR
Potentiometer
Temp. Sensor
LED D9
Switch S4
UART RX
Switch S5/
LED D10
Ground
OSCI Osc. In
OSCO Osc.
Out
SOSCO Sec.
Osc. Out
SOSCI Sec.
Osc. In
ICSP™ PGD
ICSP PGC
UART TX
UART CTS
UART RTS
Switch S3
N/A
RG7
RG6
RA5
RG8
RD7
RD12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
GPB4
GPB5
GPB6
GPB7
V
DD
V
SS
CS
SCK
SDI
SDO
A0
A1
A2
RESET
INTA
INTB
GPA0
GPA1
GPA2
GPA3
GPA4
GPA5
GPA6
GPA7
GPB0
GPB1
GPB2
GPB3
93
94
98
99
100
3
4
5
81
82
44
17
13
10
11
12
100
58
59
60
LED D4
LED D5
LED D6
LED D7
3.3V
V
SS
N/A
(1)
SCK
SDI
SDO
N/A
(2)
N/A
(2)
N/A
(2)
MCLR
N/A
(3)
N/A
(3)
LCD Data 0
LCD Data 1
LCD Data 2
LCD Data 3
LCD Data 4
LCD Data 5
LCD Data 6
LCD Data 7
LCD-Enable
LCD-R/W
LCD-RS
LCD D4
Table 2: MCP23S17 28-Pin to 100-Pin Pinout
Mapping
Pin #
MCP23S17 Pinout
Pin #
100-Pin PIM
Function
V
DD
+3.3V
27
26
50
40
39
83
—
11
10
61
12
84
79
Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199
www.microchip.com
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries. PICtail is a trademark of Microchip Technology Incorporated in the U.S.A. and other countries. All
other trademarks mentioned herein are property of their respective companies. © 2009, Microchip Technology Incorporated,
Printed in the U.S.A. All Rights Reserved. 4/09
22
23
24
25
26
27
28
DS51835A
*DS51835A*
V
SS
V
SS
V
DD
3.3V
Note 1:
The Chip Select (CS) pin is connected to pin 20
(RA6) of the PIC24F16KA102.
2:
The address lines are hardwired to Vss, making the
address of the MCP23S17 ‘000’.
3:
The interrupt lines of the MCP23S17 are not used.