PIC18F2221 MICROCHIP [Microchip Technology], PIC18F2221 Datasheet - Page 7

no-image

PIC18F2221

Manufacturer Part Number
PIC18F2221
Description
28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2221-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC18F2221-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221T-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0 I/O Ports ................................................................................................................................................................................... 105
11.0 Timer0 Module ......................................................................................................................................................................... 123
12.0 Timer1 Module ......................................................................................................................................................................... 127
13.0 Timer2 Module ......................................................................................................................................................................... 133
14.0 Timer3 Module ......................................................................................................................................................................... 135
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 139
16.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 147
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 161
18.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 205
19.0 10-Bit Analog-to-Digital Converter (A/D) Module ..................................................................................................................... 227
20.0 Comparator Module.................................................................................................................................................................. 237
21.0 Comparator Voltage Reference Module................................................................................................................................... 243
22.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................. 247
23.0 Special Features of the CPU.................................................................................................................................................... 253
24.0 Instruction Set Summary .......................................................................................................................................................... 273
25.0 Development Support............................................................................................................................................................... 323
26.0 Electrical Characteristics .......................................................................................................................................................... 327
27.0 DC and AC Characteristics Graphs and Tables....................................................................................................................... 365
28.0 Packaging Information.............................................................................................................................................................. 367
Appendix A: Revision History............................................................................................................................................................. 377
Appendix B: Device Differences ........................................................................................................................................................ 377
Appendix C: Conversion Considerations ........................................................................................................................................... 378
Appendix D: Migration from Baseline to Enhanced Devices.............................................................................................................. 378
Appendix E: Migration From Mid-Range to Enhanced Devices ......................................................................................................... 379
Appendix F: Migration From High-End to Enhanced Devices............................................................................................................ 379
Index ................................................................................................................................................................................................. 381
The Microchip Web Site ..................................................................................................................................................................... 391
Customer Change Notification Service .............................................................................................................................................. 391
Customer Support .............................................................................................................................................................................. 391
Reader Response .............................................................................................................................................................................. 392
PIC18F2221/2321/4221/4321 Product Identification System ............................................................................................................ 393
© 2007 Microchip Technology Inc.
Device Overview .......................................................................................................................................................................... 7
Oscillator Configurations ............................................................................................................................................................ 23
Power-Managed Modes ............................................................................................................................................................. 33
Reset .......................................................................................................................................................................................... 41
Memory Organization ................................................................................................................................................................. 53
Flash Program Memory.............................................................................................................................................................. 73
Data EEPROM Memory ............................................................................................................................................................. 83
8 x 8 Hardware Multiplier............................................................................................................................................................ 89
Interrupts .................................................................................................................................................................................... 91
Preliminary
PIC18F4321 FAMILY
DS39689E-page 5

Related parts for PIC18F2221