English
Language : 

PIC18F2220_07 Datasheet, PDF (6/386 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 .......................................................................................................................................................... 303
27.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 341
28.0 Packaging Information.............................................................................................................................................................. 359
Appendix A: Revision History............................................................................................................................................................. 367
Appendix B: Device Differences......................................................................................................................................................... 367
Appendix C: Conversion Considerations ........................................................................................................................................... 368
Appendix D: Migration from Baseline to Enhanced Devices.............................................................................................................. 368
Appendix E: Migration from Mid-range to Enhanced Devices............................................................................................................ 369
Appendix F: Migration from High-end to Enhanced Devices ............................................................................................................. 369
Index .................................................................................................................................................................................................. 371
The Microchip Web Site ..................................................................................................................................................................... 381
Customer Change Notification Service .............................................................................................................................................. 381
Customer Support .............................................................................................................................................................................. 381
Reader Response .............................................................................................................................................................................. 382
PIC18F2220/2320/4220/4320 Product Identification System ............................................................................................................ 383
DS39599F-page 4
© 2007 Microchip Technology Inc.