PIC18F87J50 FAMILY
DS39775B-page 4
Preliminary
2007 Microchip Technology Inc.
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0 I/O Ports ................................................................................................................................................................................... 135
11.0 Parallel Master Port.................................................................................................................................................................. 165
12.0 Timer0 Module ......................................................................................................................................................................... 189
13.0 Timer1 Module ......................................................................................................................................................................... 193
14.0 Timer2 Module ......................................................................................................................................................................... 199
15.0 Timer3 Module ......................................................................................................................................................................... 201
16.0 Timer4 Module ......................................................................................................................................................................... 205
17.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 207
18.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 215
19.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 231
20.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART)............................................................... 277
21.0 10-bit Analog-to-Digital Converter (A/D) Module...................................................................................................................... 299
22.0 Universal Serial Bus (USB) ...................................................................................................................................................... 309
23.0 Comparator Module.................................................................................................................................................................. 335
24.0 Comparator Voltage Reference Module................................................................................................................................... 343
25.0 Special Features of the CPU.................................................................................................................................................... 347
26.0 Instruction Set Summary.......................................................................................................................................................... 363
27.0 Development Support............................................................................................................................................................... 413
28.0 Electrical Characteristics.......................................................................................................................................................... 417
29.0 Packaging Information.............................................................................................................................................................. 457
Appendix A: Revision History............................................................................................................................................................. 461
Appendix B: Device Differences......................................................................................................................................................... 461
Index .................................................................................................................................................................................................. 463
The Microchip Web Site..................................................................................................................................................................... 475
Customer Change Notification Service .............................................................................................................................................. 475
Customer Support.............................................................................................................................................................................. 475
Reader Response.............................................................................................................................................................................. 476
Product Identification System............................................................................................................................................................. 477
Device Overview .......................................................................................................................................................................... 7
Oscillator Configurations ............................................................................................................................................................ 33
Power-Managed Modes ............................................................................................................................................................. 45
Reset.......................................................................................................................................................................................... 53
Memory Organization................................................................................................................................................................. 67
Flash Program Memory.............................................................................................................................................................. 95
External Memory Bus............................................................................................................................................................... 105
8 x 8 Hardware Multiplier.......................................................................................................................................................... 117
Interrupts .................................................................................................................................................................................. 119