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 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 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.
Board Schematic 72 RD0/PSP0/AD0 69 RD1/PSP1/AD1 68 RD2/PSP2/AD2 67 RD3/PSP3/AD3 66 RD4/PSP4/AD4 65 RD5/PSP5/AD5 64 RD6/PSP6/AD6 63 RD7/PSP7/AD7 4 RE0/RD/AD8 3 RE1/WR/AD9 78 RE2/CS/AD10 77 RE3/AD11 76 RE4/AD12 75 RE5/AD13 74 RE6/AD14 73 RE7/CCP2/AD15 24 RF0/AN5 23 RF1/AN6/C2OUT 18 RF2/AN7/C1OUT 17 RF3/AN8 16 RF4/AN9 15 RF5/AN10/CVRED 14 RF6/AN11 13 RF7/SS OSC1/CLKI OSC2/CLKO/RA6 A A 49 50 9 26 25 71 48 32 12 70 51 31 11 30 RA0/AN0 RJ7/UB 29 RA1/AN1 RB6/LB 42 28 RA2/AN2/VREF- RJ5 41 27 RA3/AN3/VREF+ RJ4/BA0 40 34 RA4/T0CKI RJ3/WRH 39 33 RA5/AN4/LVDIN RJ2/WRL 59 RJ1/OE 60 RJ0/ALE 61 58 RB0/INT0 62 57 RB1/INT1 56 RB2/INT2 RH7/AN15 55 RB3/INT3/CCP2 RH6/AN14 19 54 RB4/KBI0 RH5/AN13 20 21 MCLR/VPP A 53 RB5/KBI1/PGM RH4/AN12 52 RB6/KBI2/PGC RH3/A19 22 47 RB7/KBI3/PGD 2 RH1/A17 RH0/A16 80 36 RC0/T1OSO/T13CKI 79 35 RC1/T1OSI/CCP2 43 RC2/CCP1 RG4/CCP5 44 RC3/SCK/SCL 10 46 RC5/SDO RG1/TX2/CK2 37 RC6/TX1/CK1 6 38 RC7/RX1/DT1 RH2/A18 RG3/CCP4 45 RC4/SDI/SDA RG2/RX2/DT2 7 RG0/CCP3 1 8 5 A VIN.1 F 4.7 F.1 F.1 F.1 F.1 F A A A A (1) (1) Note 1: Not installed by default. 2: Never populate R104, unexpected behavior may occur. (2)
Board Schematic A A A RA3/AN3/VREF+ RA2/AN2/VREF- RG5/MCLR/VPP RF5/AN10/C1IN+/CVREF
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 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 - 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 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 ISBN: 978-1-60932-065-2 01/05/10 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 **
Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip: MA180028