PIC18F2221-I/ML Microchip Technology, PIC18F2221-I/ML Datasheet - Page 7

IC PIC MCU FLASH 2KX16 28QFN

PIC18F2221-I/ML

Manufacturer Part Number
PIC18F2221-I/ML
Description
IC PIC MCU FLASH 2KX16 28QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-I/ML

Core Size
8-Bit
Program Memory Size
4KB (2K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Controller Family/series
PIC18
No. Of I/o's
25
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Package
28QFN EP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
25
Interface Type
I2C/SPI/USART
On-chip Adc
10-chx10-bit
Number Of Timers
4
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28QFN4 - SOCKET TRANS ICE 28QFN W/CABLEAC164322 - MODULE SOCKET MPLAB PM3 28/44QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2221-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-I/ML