English
Language : 

PIC18F87J10 Datasheet, PDF (6/394 Pages) Microchip Technology – 64/80-Pin High-Performance, 1-Mbit Flash Microcontrollers with nanoWatt Technology
PIC18F87J10 FAMILY
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 5
2.0 Oscillator Configurations ............................................................................................................................................................ 27
3.0 Power-Managed Modes ............................................................................................................................................................. 35
4.0 Reset .......................................................................................................................................................................................... 43
5.0 Memory Organization ................................................................................................................................................................. 55
6.0 Program Memory........................................................................................................................................................................ 81
7.0 External Memory Bus ................................................................................................................................................................. 85
8.0 8 x 8 Hardware Multiplier............................................................................................................................................................ 97
9.0 Interrupts .................................................................................................................................................................................... 99
10.0 I/O Ports ................................................................................................................................................................................... 115
11.0 Timer0 Module ......................................................................................................................................................................... 141
12.0 Timer1 Module ......................................................................................................................................................................... 145
13.0 Timer2 Module ......................................................................................................................................................................... 151
14.0 Timer3 Module ......................................................................................................................................................................... 153
15.0 Timer4 Module ......................................................................................................................................................................... 157
16.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 159
17.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 167
18.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 183
19.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 225
20.0 10-Bit Analog-to-Digital Converter (A/D) Module ..................................................................................................................... 247
21.0 Comparator Module.................................................................................................................................................................. 257
22.0 Comparator Voltage Reference Module ................................................................................................................................... 263
23.0 Special Features of the CPU .................................................................................................................................................... 267
24.0 Instruction Set Summary .......................................................................................................................................................... 279
25.0 Development Support............................................................................................................................................................... 329
26.0 Electrical Characteristics .......................................................................................................................................................... 335
27.0 Packaging Information.............................................................................................................................................................. 371
Appendix A: Migration Between High-End Device Families............................................................................................................... 375
Index .................................................................................................................................................................................................. 377
The Microchip Web Site ..................................................................................................................................................................... 389
Customer Change Notification Service .............................................................................................................................................. 389
Customer Support .............................................................................................................................................................................. 389
Reader Response .............................................................................................................................................................................. 390
Product Identification System............................................................................................................................................................. 391
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We
welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
DS39663A-page 4
Advance Information
 2005 Microchip Technology Inc.