Datasheet

Table Of Contents
PIC18F87J72 FAMILY
DS39979A-page 6 Preliminary 2010 Microchip Technology Inc.
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 Guidelines for Getting Started with PIC18FJ Microcontrollers ................................................................................................... 21
3.0 Oscillator Configurations ............................................................................................................................................................ 25
4.0 Power-Managed Modes ............................................................................................................................................................. 35
5.0 Reset .......................................................................................................................................................................................... 43
6.0 Memory Organization ................................................................................................................................................................. 55
7.0 Flash Program Memory.............................................................................................................................................................. 77
8.0 8 x 8 Hardware Multiplier............................................................................................................................................................ 87
9.0 Interrupts .................................................................................................................................................................................... 89
10.0 I/O Ports ................................................................................................................................................................................... 105
11.0 Timer0 Module ......................................................................................................................................................................... 123
12.0 Timer1 Module ......................................................................................................................................................................... 127
13.0 Timer2 Module ......................................................................................................................................................................... 133
14.0 Timer3 Module ......................................................................................................................................................................... 135
15.0 Real-Time Clock and Calendar (RTCC) ................................................................................................................................... 139
16.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 157
17.0 Liquid Crystal Display (LCD) Driver Module............................................................................................................................. 167
18.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 195
19.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 239
20.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (AUSART) ........................................................... 259
21.0 12-Bit Analog-to-Digital Converter (A/D) Module ..................................................................................................................... 273
22.0 Dual-Channel, 24-Bit Analog Front End (AFE)......................................................................................................................... 283
23.0 Comparator Module.................................................................................................................................................................. 293
24.0 Comparator Voltage Reference Module................................................................................................................................... 299
25.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 303
26.0 Special Features of the CPU.................................................................................................................................................... 319
27.0 Instruction Set Summary .......................................................................................................................................................... 333
28.0 Development Support............................................................................................................................................................... 385
29.0 Electrical Characteristics .......................................................................................................................................................... 389
30.0 Packaging Information.............................................................................................................................................................. 429
Appendix A: Revision History............................................................................................................................................................. 433
Appendix B: Dual-Channel, 24-Bit AFE Reference............................................................................................................................ 434
The Microchip Web Site..................................................................................................................................................................... 477
Customer Change Notification Service .............................................................................................................................................. 477
Customer Support .............................................................................................................................................................................. 477
Reader Response .............................................................................................................................................................................. 478
Product Identification System............................................................................................................................................................. 479