English
Language : 

PIC18F2220 Datasheet, PDF (6/388 Pages) Microchip Technology – 28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2220/2320/4220/4320
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 19
3.0 Power Managed Modes ............................................................................................................................................................. 29
4.0 Reset .......................................................................................................................................................................................... 43
5.0 Memory Organization ................................................................................................................................................................. 53
6.0 Flash Program Memory .............................................................................................................................................................. 71
7.0 Data EEPROM Memory ............................................................................................................................................................. 81
8.0 8 X 8 Hardware Multiplier ........................................................................................................................................................... 85
9.0 Interrupts .................................................................................................................................................................................... 87
10.0 I/O Ports ................................................................................................................................................................................... 101
11.0 Timer0 Module ......................................................................................................................................................................... 117
12.0 Timer1 Module ......................................................................................................................................................................... 121
13.0 Timer2 Module ......................................................................................................................................................................... 127
14.0 Timer3 Module ......................................................................................................................................................................... 129
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 133
16.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 141
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 155
18.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).............................................................. 195
19.0 10-bit Analog-to-Digital Converter (A/D) Module ...................................................................................................................... 211
20.0 Comparator Module.................................................................................................................................................................. 221
21.0 Comparator Voltage Reference Module ................................................................................................................................... 227
22.0 Low-Voltage Detect .................................................................................................................................................................. 231
23.0 Special Features of the CPU .................................................................................................................................................... 237
24.0 Instruction Set Summary .......................................................................................................................................................... 255
25.0 Development Support............................................................................................................................................................... 299
26.0 Electrical Characteristics .......................................................................................................................................................... 305
27.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 343
28.0 Packaging Information.............................................................................................................................................................. 361
Appendix A: Revision History............................................................................................................................................................. 369
Appendix B: Device Differences......................................................................................................................................................... 369
Appendix C: Conversion Considerations ........................................................................................................................................... 370
Appendix D: Migration from Baseline to Enhanced Devices.............................................................................................................. 370
Appendix E: Migration from Mid-Range to Enhanced Devices .......................................................................................................... 371
Appendix F: Migration from High-End to Enhanced Devices ............................................................................................................. 371
Index .................................................................................................................................................................................................. 373
On-Line Support................................................................................................................................................................................. 383
Systems Information and Upgrade Hot Line ...................................................................................................................................... 383
Reader Response .............................................................................................................................................................................. 384
PIC18F2220/2320/4220/4320 Product Identification System ............................................................................................................ 385
DS39599C-page 4
 2003 Microchip Technology Inc.