Datasheet
PIC18F87J50 FAMILY
DS39775C-page 6 © 2009 Microchip Technology Inc.
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 Oscillator Configurations ............................................................................................................................................................ 35
3.0 Power-Managed Modes ............................................................................................................................................................. 47
4.0 Reset .......................................................................................................................................................................................... 55
5.0 Memory Organization ................................................................................................................................................................. 69
6.0 Flash Program Memory.............................................................................................................................................................. 97
7.0 External Memory Bus ............................................................................................................................................................... 107
8.0 8 x 8 Hardware Multiplier.......................................................................................................................................................... 119
9.0 Interrupts .................................................................................................................................................................................. 121
10.0 I/O Ports ................................................................................................................................................................................... 137
11.0 Parallel Master Port.................................................................................................................................................................. 167
12.0 Timer0 Module ......................................................................................................................................................................... 191
13.0 Timer1 Module ......................................................................................................................................................................... 195
14.0 Timer2 Module ......................................................................................................................................................................... 201
15.0 Timer3 Module ......................................................................................................................................................................... 203
16.0 Timer4 Module ......................................................................................................................................................................... 207
17.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 209
18.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 217
19.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 233
20.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 279
21.0 10-bit Analog-to-Digital Converter (A/D) Module ...................................................................................................................... 301
22.0 Universal Serial Bus (USB) ...................................................................................................................................................... 311
23.0 Comparator Module.................................................................................................................................................................. 337
24.0 Comparator Voltage Reference Module................................................................................................................................... 345
25.0 Special Features of the CPU.................................................................................................................................................... 349
26.0 Instruction Set Summary .......................................................................................................................................................... 365
27.0 Development Support............................................................................................................................................................... 415
28.0 Electrical Characteristics .......................................................................................................................................................... 419
29.0 Packaging Information.............................................................................................................................................................. 459
Appendix A: Revision History............................................................................................................................................................. 463
Appendix B: Device Differences......................................................................................................................................................... 463
The Microchip Web Site..................................................................................................................................................................... 477
Customer Change Notification Service .............................................................................................................................................. 477
Customer Support .............................................................................................................................................................................. 477
Reader Response .............................................................................................................................................................................. 478
Product Identification System............................................................................................................................................................. 479