English
Language : 

PIC18F6X2X Datasheet, PDF (385/386 Pages) Microchip Technology – 64/80-Pin High Performance, 64-Kbyte Enhanced FLASH Microcontrollers with A/D
PIC18F6X2X/8X2X
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 21
3.0 Reset .......................................................................................................................................................................................... 31
4.0 Memory Organization ................................................................................................................................................................. 41
5.0 FLASH Program Memory ........................................................................................................................................................... 63
6.0 External Memory Interface ......................................................................................................................................................... 73
7.0 Data EEPROM Memory ............................................................................................................................................................. 81
8.0 8 X 8 Hardware Multiplier ........................................................................................................................................................... 87
9.0 Interrupts .................................................................................................................................................................................... 89
10.0 I/O Ports ................................................................................................................................................................................... 105
11.0 Timer0 Module ......................................................................................................................................................................... 133
12.0 Timer1 Module ......................................................................................................................................................................... 137
13.0 Timer2 Module ......................................................................................................................................................................... 143
14.0 Timer3 Module ......................................................................................................................................................................... 145
15.0 Timer4 Module ......................................................................................................................................................................... 149
16.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 151
17.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 159
18.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 175
19.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (USART) ................................................................. 215
20.0 10-bit Analog-to-Digital Converter (A/D) Module...................................................................................................................... 235
21.0 Comparator Module.................................................................................................................................................................. 243
22.0 Comparator Voltage Reference Module................................................................................................................................... 249
23.0 Low Voltage Detect .................................................................................................................................................................. 253
24.0 Special Features of the CPU.................................................................................................................................................... 259
25.0 Instruction Set Summary .......................................................................................................................................................... 277
26.0 Development Support............................................................................................................................................................... 319
27.0 Electrical Characteristics .......................................................................................................................................................... 325
28.0 DC and AC Characteristics Graphs and Tables....................................................................................................................... 359
29.0 Packaging Information.............................................................................................................................................................. 361
Appendix A: Revision History............................................................................................................................................................. 365
Appendix B: Device Differences ........................................................................................................................................................ 365
Appendix C: Conversion Considerations ........................................................................................................................................... 366
Appendix D: Migration from Mid-range to Enhanced Devices ........................................................................................................... 366
Appendix E: Migration from High-end to Enhanced Devices ............................................................................................................. 367
INDEX ................................................................................................................................................................................................ 369
On-Line Support................................................................................................................................................................................. 379
Systems Information and Upgrade Hot Line ...................................................................................................................................... 379
Reader Response .............................................................................................................................................................................. 380
PIC18F6X2X/8X2X Product Identification System............................................................................................................................. 381
 2003 Microchip Technology Inc.
DS00000A-page 1-1