English
Language : 

PIC18FXX20 Datasheet, PDF (6/366 Pages) Microchip Technology – 64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D
PIC18FXX20
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 21
3.0 Reset .......................................................................................................................................................................................... 29
4.0 Memory Organization ................................................................................................................................................................. 39
5.0 FLASH Program Memory ........................................................................................................................................................... 61
6.0 External Memory Interface ......................................................................................................................................................... 71
7.0 Data EEPROM Memory ............................................................................................................................................................. 79
8.0 8 X 8 Hardware Multiplier ........................................................................................................................................................... 85
9.0 Interrupts .................................................................................................................................................................................... 87
10.0 I/O Ports ................................................................................................................................................................................... 103
11.0 Timer0 Module ......................................................................................................................................................................... 131
12.0 Timer1 Module ......................................................................................................................................................................... 135
13.0 Timer2 Module ......................................................................................................................................................................... 141
14.0 Timer3 Module ......................................................................................................................................................................... 143
15.0 Timer4 Module ......................................................................................................................................................................... 147
16.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 149
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 157
18.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).............................................................. 197
19.0 10-bit Analog-to-Digital Converter (A/D) Module ...................................................................................................................... 213
20.0 Comparator Module.................................................................................................................................................................. 223
21.0 Comparator Voltage Reference Module ................................................................................................................................... 229
22.0 Low Voltage Detect .................................................................................................................................................................. 233
23.0 Special Features of the CPU .................................................................................................................................................... 239
24.0 Instruction Set Summary .......................................................................................................................................................... 259
25.0 Development Support............................................................................................................................................................... 301
26.0 Electrical Characteristics .......................................................................................................................................................... 307
27.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 341
28.0 Packaging Information.............................................................................................................................................................. 343
Appendix A: Revision History............................................................................................................................................................. 347
Appendix B: Device Differences......................................................................................................................................................... 347
Appendix C: Conversion Considerations ........................................................................................................................................... 348
Appendix D: Migration from Mid-Range to Enhanced Devices .......................................................................................................... 348
Appendix E: Migration from High-End to Enhanced Devices............................................................................................................. 349
Index .................................................................................................................................................................................................. 351
On-Line Support................................................................................................................................................................................. 361
Systems Information and Upgrade Hot Line ...................................................................................................................................... 361
Reader Response .............................................................................................................................................................................. 362
PIC18FXX20 Product Identification System....................................................................................................................................... 363
DS39609A-page 4
Advance Information
 2003 Microchip Technology Inc.