English
Language : 

PIC18F87K90 Datasheet, PDF (7/566 Pages) Microchip Technology – 64/80-Pin, High-Performance Microcontrollers with LCD Driver and nanoWatt XLP Technology
PIC18F87K90 FAMILY
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 Guidelines for Getting Started with PIC18FXXKXX Microcontrollers ......................................................................................... 35
3.0 Oscillator Configurations ............................................................................................................................................................ 39
4.0 Power-Managed Modes ............................................................................................................................................................. 51
5.0 Reset .......................................................................................................................................................................................... 67
6.0 Memory Organization ................................................................................................................................................................. 83
7.0 Flash Program Memory............................................................................................................................................................ 109
8.0 Data EEPROM Memory ........................................................................................................................................................... 119
9.0 8 x 8 Hardware Multiplier.......................................................................................................................................................... 125
10.0 Interrupts .................................................................................................................................................................................. 127
11.0 I/O Ports ................................................................................................................................................................................... 151
12.0 Timer0 Module ......................................................................................................................................................................... 181
13.0 Timer1 Module ......................................................................................................................................................................... 185
14.0 Timer2 Module ......................................................................................................................................................................... 197
15.0 Timer3/5/7 Modules.................................................................................................................................................................. 199
16.0 Timer4/6/8/10/12 Modules........................................................................................................................................................ 211
17.0 Real-Time Clock and Calendar (RTCC)................................................................................................................................... 215
18.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 235
19.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 249
20.0 Liquid Crystal Display (LCD) Driver Module............................................................................................................................. 271
21.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 301
22.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 347
23.0 12-Bit Analog-to-Digital Converter (A/D) Module ..................................................................................................................... 371
24.0 Comparator Module.................................................................................................................................................................. 387
25.0 Comparator Voltage Reference Module................................................................................................................................... 395
26.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................. 399
27.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 405
28.0 Special Features of the CPU.................................................................................................................................................... 423
29.0 Instruction Set Summary .......................................................................................................................................................... 449
30.0 Development Support............................................................................................................................................................... 499
31.0 Electrical Characteristics .......................................................................................................................................................... 503
32.0 Packaging Information.............................................................................................................................................................. 541
Appendix A: Revision History............................................................................................................................................................. 549
Appendix B: Migration From PIC18F85J90 and PIC18F87J90 to PIC18F87K90 .............................................................................. 549
Index ................................................................................................................................................................................................. 551
The Microchip Web Site ..................................................................................................................................................................... 563
Customer Change Notification Service .............................................................................................................................................. 563
Customer Support .............................................................................................................................................................................. 563
Reader Response .............................................................................................................................................................................. 564
Product Identification System ............................................................................................................................................................ 565
 2010 Microchip Technology Inc.
Preliminary
DS39957B-page 7