PIC18F2221-I/SP Microchip Technology, PIC18F2221-I/SP Datasheet - Page 34
![IC PIC MCU FLASH 2KX16 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC18F2221-I/SP
Manufacturer Part Number
PIC18F2221-I/SP
Description
IC PIC MCU FLASH 2KX16 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC18F2221-ISO.pdf
(402 pages)
2.PIC18F2221-ISO.pdf
(8 pages)
3.PIC18F2221-ISO.pdf
(30 pages)
4.PIC18F2221-ISO.pdf
(46 pages)
5.PIC18F2321-IML.pdf
(396 pages)
Specifications of PIC18F2221-I/SP
Program Memory Type
FLASH
Program Memory Size
4KB (2K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
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
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
EUSART, I2C, MSSP, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE4000, ICE2000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4.2 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2221-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F2XXX/4XXX FAMILY
TABLE 5-3:
DS39622L-page 34
ICPRT
BBSIZ<1:0>
BBSIZ<2:1>
BBSIZ<1:0>
BBSIZ
LVP
STVREN
CP5
CP4
CP3
Note 1:
Bit Name
2:
(1)
The BBSIZ bits, BBSIZ<1:0> and BBSIZ<2:1> bits, cannot be changed once any of the following
code-protect bits are enabled: CPB or CP0, WRTB or WRT0, EBTRB or EBTR0.
Not available in PIC18FXX8X and PIC18F2450/4450 devices.
(1)
(1)
(1)
PIC18F2XXX/4XXX FAMILY BIT DESCRIPTIONS (CONTINUED)
Configuration
CONFIG4L
CONFIG4L
CONFIG4L
CONFIG4L
CONFIG4L
CONFIG4L
CONFIG4L
CONFIG5L
CONFIG5L
CONFIG5L
Words
Dedicated In-Circuit (ICD/ICSP™) Port Enable bit
(PIC18F2455/2550/4455/4550, PIC18F2458/2553/4458/4553 and
PIC18F2450/4450 devices only)
1 = ICPORT is enabled
0 = ICPORT is disabled
Boot Block Size Select bits (PIC18F2585/2680/4585/4680 devices only)
11 = 4K words (8 Kbytes) Boot Block
10 = 4K words (8 Kbytes) Boot Block
01 = 2K words (4 Kbytes) Boot Block
00 = 1K word (2 Kbytes) Boot Block
Boot Block Size Select bits (PIC18F2682/2685/4582/4685 devices only)
11 = 4K words (8 Kbytes) Boot Block
10 = 4K words (8 Kbytes) Boot Block
01 = 2K words (4 Kbytes) Boot Block
00 = 1K word (2 Kbytes) Boot Block
Boot Block Size Select bits (PIC18F2321/4321 devices only)
11 = 1K word (2 Kbytes) Boot Block
10 = 1K word (2 Kbytes) Boot Block
01 = 512 words (1 Kbyte) Boot Block
00 = 256 words (512 bytes) Boot Block
Boot Block Size Select bits (PIC18F2221/4221 devices only)
11 = 512 words (1 Kbyte) Boot Block
10 = 512 words (1 Kbyte) Boot Block
01 = 512 words (1 Kbyte) Boot Block
00 = 256 words (512 bytes) Boot Block
Boot Block Size Select bits
(PIC18F2480/2580/4480/4580 and PIC18F2450/4450 devices only)
1 = 2K words (4 Kbytes) Boot Block
0 = 1K word (2 Kbytes) Boot Block
Low-Voltage Programming Enable bit
1 = Low-Voltage Programming is enabled, RB5 is the PGM pin
0 = Low-Voltage Programming is disabled, RB5 is an I/O pin
Stack Overflow/Underflow Reset Enable bit
1 = Reset on stack overflow/underflow is enabled
0 = Reset on stack overflow/underflow is disabled
Code Protection bit (Block 5 code memory area)
(PIC18F2685 and PIC18F4685 devices only)
1 = Block 5 is not code-protected
0 = Block 5 is code-protected
Code Protection bit (Block 4 code memory area)
(PIC18F2682/2685 and PIC18F4682/4685 devices only)
1 = Block 4 is not code-protected
0 = Block 4 is code-protected
Code Protection bit (Block 3 code memory area)
1 = Block 3 is not code-protected
0 = Block 3 is code-protected
Description
2010 Microchip Technology Inc.