English
Language : 

PIC18FXX8 Datasheet, PDF (6/402 Pages) Microchip Technology – 28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PIC18FXX8
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 17
3.0 Reset .......................................................................................................................................................................................... 25
4.0 Memory Organization ................................................................................................................................................................. 37
5.0 Data EEPROM Memory ............................................................................................................................................................ 59
6.0 Flash Program Memory .............................................................................................................................................................. 65
7.0 8 x 8 Hardware Multiplier............................................................................................................................................................ 75
8.0 Interrupts .................................................................................................................................................................................... 77
9.0 I/O Ports ..................................................................................................................................................................................... 93
10.0 Parallel Slave Port .................................................................................................................................................................... 107
11.0 Timer0 Module ......................................................................................................................................................................... 109
12.0 Timer1 Module ......................................................................................................................................................................... 113
13.0 Timer2 Module ......................................................................................................................................................................... 117
14.0 Timer3 Module ......................................................................................................................................................................... 119
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 123
16.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 131
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 143
18.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).............................................................. 183
19.0 CAN Module ............................................................................................................................................................................. 199
20.0 Compatible 10-Bit Analog-to-Digital Converter (A/D) Module .................................................................................................. 241
21.0 Comparator Module.................................................................................................................................................................. 249
22.0 Comparator Voltage Reference Module ................................................................................................................................... 255
23.0 Low-Voltage Detect .................................................................................................................................................................. 259
24.0 Special Features of the CPU .................................................................................................................................................... 265
25.0 Instruction Set Summary .......................................................................................................................................................... 281
26.0 Development Support............................................................................................................................................................... 323
27.0 Electrical Characteristics .......................................................................................................................................................... 329
28.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 361
29.0 Packaging Information.............................................................................................................................................................. 377
Appendix A: Data Sheet Revision History.......................................................................................................................................... 385
Appendix B: Device Differences......................................................................................................................................................... 385
Appendix C: Device Migrations .......................................................................................................................................................... 386
Appendix D: Migrating From Other PICmicro® Devices ..................................................................................................................... 386
Index .................................................................................................................................................................................................. 387
On-Line Support................................................................................................................................................................................. 397
Systems Information and Upgrade Hot Line ...................................................................................................................................... 397
Reader Response .............................................................................................................................................................................. 398
PIC18FXX8 Product Identification System......................................................................................................................................... 399
DS41159D-page 4
 2004 Microchip Technology Inc.