PIC18F87K22 PIM Info Sheet

PIC18F87K22 Plug-in Module for PICDEM™ PIC18 Explorer Board
Overview
The PIC18F87K22 Plug-in Module (PIM) is an accessory to the PICDEM™ PIC18
Explorer Board that allows users to easily experiment with the PIC18F87K22 family of
microcontrollers. PIC18F87K22 is the superset member of the family and this PIM can
be used to evaluate and develop with the PIC18F87K22 products. The PIM takes the
place of the on-board PIC18F8722 device, and changes the output of the voltage regulator on the board to the proper voltage level for these parts. This enables users to
quickly evaluate the new PIC18FK Flash devices without having to buy a completely
new demo board.
Getting Started with the PIM
1. Make sure the on-board PIC18F87K22 is programmed to allow the MCLR Reset
pin to function as a Reset pin. If the MCLR is configured to be used for general
purpose I/O, the on-board PIC18F8722 may interfere with PIM usage, even when
the board is switched to ICE mode.
2. Verify that the PICDEM PIC18 Explorer Board is not powered.
3. Set switch, S4, to the “ICE” position. This will hold the on-board PIC18F8722 in
Reset, allowing the PIM to function instead.
4. Line up the PIM so its 3-pin female header aligns with the 3-pin riser on the
PICDEM PIC18 Explorer Board, then plug the PIM into the demo board.
5. Apply power to the demo board. Be sure that VDD is correct for the device being
used (5V for PIC18F87K22). If it is not correct, disconnect power and check that
the 3-pin female header is aligned properly with the demo board’s 3-pin riser.
Changes to PICDEM PIC18 Explorer Board Configuration
The difference of available I/O pins between the PICDEM PIC18 Explorer Board’s
PIC18F8722 device and the PIM’s PIC18F87K22 device causes some changes in the
operation of the PICDEM PIC18 Explorer Board.
1. Most I/O lines connected to the PICDEM PIC18 Explorer Board’s PICtail connector,
J3/J5/J7/J11 silkscreen, will map 1:1 with PIC18F87K22 I/O pins.
2. Port I/O pin, RF0, will be left unconnected because this pin does not exist on the
PIC18F87K22 devices.
3. The PIC18F87K22 can operate between 1.8V and 5V. The supplied voltage can be
adjusted by populating the PIM board’s R101 and R102 resistors. For more
detailed information on varying the device voltage, see “PICDEM™ PIC18 Explorer
Demonstration Board User’s Guide”, Section 2.3.3 “Calculating Other VDD
Values”.
Bootloader Firmware
This PIM comes preprogrammed with firmware from the “High-Speed Serial
Bootloader for PIC16 and PIC18 Devices” (AN1310), which can be used to reprogram
the device without requiring a dedicated PIC® MCU programmer. The host software
installation package and AN1310 application note documentation may be downloaded
from the Microchip web site.
Demonstration Firmware
Additionally, the PIM is programmed with firmware demonstrating basic features on the
PIC18 Explorer Board. The source for the PIC18F87K22 PIM demo code may be
downloaded from the Microchip web site.
PIC18F87K22 Plug-in Module for PICDEM™ PIC18 Explorer Board
VSS
70
51
31
11
VSS
VSS
VSS
VSS
19
20
21
22
2
1
80
79
VSS
VSS
RG4/CCP5
RG3/CCP4 10
RG2/RX2/DT2 8
RG1/TX2/CK2 7
RG0/CCP3 6
5
VDD
VDD
AVDD
AVDD
(1)
VSS
VDD
AVDD
AVSS
4
3
78
77
76
75
74
73
72
69
68
67
66
65
64
63
71
48
32
12
26
25
9
RH7/AN15
RH6/AN14
RH5/AN13
RH4/AN12
RH3/A19
RH2/A18
RH1/A17
RH0/A16
42
41
40
39
59
60
61
62
RF0/AN5
RF1/AN6/C2OUT
RF2/AN7/C1OUT
RF3/AN8
RF4/AN9
RF5/AN10/CVRED
RF6/AN11
RF7/SS
RC0/T1OSO/T13CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX1/CK1
RC7/RX1/DT1
RJ7/UB
RB6/LB
RJ5
RJ4/BA0
RJ3/WRH
RJ2/WRL
RJ1/OE
RJ0/ALE
24
23
18
17
16
15
14
13
36
35
43
44
45
46
37
38
VDD
VDD
VDD
VDD
RB0/INT0
RB1/INT1
RB2/INT2
RB3/INT3/CCP2
RB4/KBI0
RB5/KBI1/PGM
RB6/KBI2/PGC
RB7/KBI3/PGD
AVSS
AVDD
58
57
56
55
54
53
52
47
RE0/RD/AD8
RE1/WR/AD9
RE2/CS/AD10
RE3/AD11
RE4/AD12
RE5/AD13
RE6/AD14
RE7/CCP2/AD15
RA0/AN0
RA1/AN1
RA2/AN2/VREFRA3/AN3/VREF+
RA4/T0CKI
RA5/AN4/LVDIN
RD0/PSP0/AD0
RD1/PSP1/AD1
RD2/PSP2/AD2
RD3/PSP3/AD3
RD4/PSP4/AD4
RD5/PSP5/AD5
RD6/PSP6/AD6
RD7/PSP7/AD7
30
29
28
27
34
33
MCLR/VPP
OSC1/CLKI
OSC2/CLKO/RA6
49
50
VDD
AVDD
Board Schematic
VIN
AVDD
.1 PF
Note 1:
2:
4.7 PF .1 PF
.1 PF
.1 PF
.1 PF
(1)
(2)
Not installed by default.
Never populate R104, unexpected behavior may occur.
DS51895A
PIC18F87K22 Plug-in Module for PICDEM™ PIC18 Explorer Board
VSS
VDD
Board Schematic
VDD
VSS
VSS
VDD
RA2/AN2/VREFRA3/AN3/VREF+
RF5/AN10/C1IN+/CVREF
VDD
VSS
AVDD
RG5/MCLR/VPP
AVSS
AVDD
DS51895A
For More Information
The complete schematic and user’s guide for the PICDEM PIC18 Explorer Board,
as well as the data sheet for the PIC18F87K22 family of microcontrollers are
available on the Microchip web site: http://www.microchip.com/PIC18K
Americas
Asia/Pacific
Europe
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
Australia - Sydney - 61-2-9868-6733
China - Beijing - 86-10-8528-2100
China - Chengdu - 86-28-8665-5511
China - Chongqing - 86-23-8980-9588
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
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
01/05/10
ISBN: 978-1-60932-065-2
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. PICDEM 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. ISBN: © 2010, Microchip Technology
Incorporated, Printed in the U.S.A. All Rights Reserved. 3/10
DS51895A
*DS51895A*