English
Language : 

PIC18F6585 Datasheet, PDF (8/496 Pages) Microchip Technology – 64/68/80-Pin High-Performance, 64-Kbyte Enhanced Flash Microcontrollers with ECAN Module
PIC18F6585/8585/6680/8680
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 Oscillator Configurations ............................................................................................................................................................ 23
3.0 Reset .......................................................................................................................................................................................... 33
4.0 Memory Organization ................................................................................................................................................................. 51
5.0 Flash Program Memory .............................................................................................................................................................. 83
6.0 External Memory Interface ......................................................................................................................................................... 93
7.0 Data EEPROM Memory ........................................................................................................................................................... 101
8.0 8 x 8 Hardware Multiplier.......................................................................................................................................................... 107
9.0 Interrupts .................................................................................................................................................................................. 109
10.0 I/O Ports ................................................................................................................................................................................... 125
11.0 Timer0 Module ......................................................................................................................................................................... 155
12.0 Timer1 Module ......................................................................................................................................................................... 159
13.0 Timer2 Module ......................................................................................................................................................................... 162
14.0 Timer3 Module ......................................................................................................................................................................... 164
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 167
16.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 175
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 189
18.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (USART).................................................................. 229
19.0 10-bit Analog-to-Digital Converter (A/D) Module ...................................................................................................................... 249
20.0 Comparator Module.................................................................................................................................................................. 259
21.0 Comparator Voltage Reference Module ................................................................................................................................... 265
22.0 Low-Voltage Detect .................................................................................................................................................................. 269
23.0 ECAN Module........................................................................................................................................................................... 275
24.0 Special Features of the CPU .................................................................................................................................................... 345
25.0 Instruction Set Summary .......................................................................................................................................................... 365
26.0 Development Support............................................................................................................................................................... 407
27.0 Electrical Characteristics .......................................................................................................................................................... 413
28.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 449
29.0 Packaging Information.............................................................................................................................................................. 465
Appendix A: Revision History............................................................................................................................................................. 469
Appendix B: Device Differences......................................................................................................................................................... 469
Appendix C: Conversion Considerations ........................................................................................................................................... 470
Appendix D: Migration from Mid-Range to Enhanced Devices .......................................................................................................... 470
Appendix E: Migration from High-End to Enhanced Devices............................................................................................................. 471
Index .................................................................................................................................................................................................. 473
On-Line Support................................................................................................................................................................................. 487
Systems Information and Upgrade Hot Line ...................................................................................................................................... 487
Reader Response .............................................................................................................................................................................. 488
PIC18F6585/8585/6680/8680 Product Identification System ............................................................................................................ 489
DS30491C-page 6
 2004 Microchip Technology Inc.