PIC18F2221-I/SP Microchip Technology, PIC18F2221-I/SP Datasheet - Page 391
![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
- PIC18F2221-ISO PDF datasheet
- PIC18F2221-ISO PDF datasheet #2
- PIC18F2221-ISO PDF datasheet #3
- PIC18F2221-ISO PDF datasheet #4
- PIC18F2321-IML PDF datasheet #5
- Current page: 391 of 396
- Download datasheet (7Mb)
© 2007 Microchip Technology Inc.
BRG Reset Due to SDA Arbitration
Brown-out Reset (BOR) ........................................... 350
Bus Collision During a Repeated
Bus Collision During a Repeated
Bus Collision During a
Bus Collision During a
Bus Collision During a
Bus Collision During
Bus Collision for Transmit and
Capture/Compare/PWM (All CCP Modules) ............ 352
CLKO and I/O .......................................................... 349
Clock Synchronization ............................................. 185
Clock/Instruction Cycle .............................................. 57
EUSART Synchronous Receive
EUSART Synchronous Transmission
Example SPI Master Mode (CKE = 0) ..................... 354
Example SPI Master Mode (CKE = 1) ..................... 355
Example SPI Slave Mode (CKE = 0) ....................... 356
Example SPI Slave Mode (CKE = 1) ....................... 357
External Clock (All Modes Except PLL) ................... 347
Fail-Safe Clock Monitor ............................................ 267
First Start Bit Timing ................................................ 193
Full-Bridge PWM Output .......................................... 153
Half-Bridge PWM Output ......................................... 152
High/Low-Voltage Detect Characteristics ................ 344
High-Voltage Detect Operation
I
I
I
I
I
I
I
I
I
I
I
I
I
I
Low-Voltage Detect Operation (VDIRMAG = 0) ...... 249
Master SSP I
Master SSP I
Parallel Slave Port (PIC18F4221/4321) ................... 353
Parallel Slave Port (PSP) Read ............................... 121
Parallel Slave Port (PSP) Write ............................... 121
PWM Auto-Shutdown (PRSEN = 0,
2
2
2
2
2
2
2
2
2
2
2
2
2
2
C Bus Data ............................................................ 358
C Bus Start/Stop Bits ............................................. 358
C Master Mode (7 or 10-Bit Transmission) ........... 196
C Master Mode (7-Bit Reception) .......................... 197
C Slave Mode (10-Bit Reception, SEN = 0) .......... 182
C Slave Mode (10-Bit Reception,
C Slave Mode (10-Bit Reception,
C Slave Mode (10-Bit Transmission) ..................... 183
C Slave Mode (7-Bit Reception,
C Slave Mode (7-bit Reception,
C Slave Mode (7-Bit Reception, SEN = 1) ............ 186
C Slave Mode (7-Bit Transmission) ....................... 180
C Slave Mode General Call Address
C Stop Condition Receive or
During Start Condition ..................................... 201
Start Condition (Case 1) .................................. 202
Start Condition (Case 2) .................................. 202
Start Condition (SCL = 0) ................................. 201
Stop Condition (Case 1) .................................. 203
Stop Condition (Case 2) .................................. 203
Start Condition (SDA Only) .............................. 200
Acknowledge ................................................... 199
(Master/Slave) ................................................. 362
(Master/Slave) ................................................. 362
(VDIRMAG = 1) ................................................ 250
SEN = 0, ADMSK = 01001) ............................. 181
SEN = 1) .......................................................... 187
SEN = 0) .......................................................... 178
SEN = 0, ADMSK = 01011) ............................. 179
Sequence (7 or 10-Bit Address Mode) ............ 188
Transmit Mode ................................................. 198
Auto-Restart Disabled) .................................... 158
2
2
C Bus Data ........................................ 360
C Bus Start/Stop Bits ........................ 360
Preliminary
Timing Diagrams and Specifications ............................... 347
PIC18F4321 FAMILY
PWM Auto-Shutdown (PRSEN = 1,
PWM Direction Change ........................................... 155
PWM Direction Change at Near
PWM Output ............................................................ 144
Repeat Start Condition ............................................ 194
Reset, Watchdog Timer (WDT), Oscillator
Send Break Character Sequence ............................ 221
Slave Synchronization ............................................. 167
Slow Rise Time (MCLR Tied to V
SPI Mode (Master Mode) ........................................ 166
SPI Mode (Slave Mode, CKE = 0) ........................... 168
SPI Mode (Slave Mode, CKE = 1) ........................... 168
Synchronous Reception
Synchronous Transmission ..................................... 222
Synchronous Transmission (Through TXEN) .......... 223
Time-out Sequence on POR w/PLL Enabled
Time-out Sequence on Power-up
Time-out Sequence on Power-up
Time-out Sequence on Power-up
Timer0 and Timer1 External Clock .......................... 351
Transition for Entry to Idle Mode ............................... 38
Transition for Entry to SEC_RUN Mode .................... 35
Transition for Entry to Sleep Mode ............................ 37
Transition for Two-Speed Start-up
Transition for Wake from Idle to Run Mode ............... 38
Transition for Wake from Sleep (HSPLL) .................. 37
Transition from RC_RUN Mode to
Transition from SEC_RUN Mode to
Transition to RC_RUN Mode ..................................... 36
Capture/Compare/PWM Requirements
CLKO and I/O Requirements ................................... 349
EUSART Synchronous Receive
EUSART Synchronous Transmission
Example SPI Mode Requirements
Example SPI Mode Requirements
Example SPI Mode Requirements
Example SPI Mode Requirements
External Clock Requirements .................................. 347
I
Master SSP I
Master SSP I
Parallel Slave Port Requirements
2
C Bus Data Requirements (Slave Mode) .............. 359
Auto-Restart Enabled) ..................................... 158
100% Duty Cycle ............................................. 155
Start-up Timer (OST),
Power-up Timer (PWRT) ................................. 350
V
(Master Mode, SREN) ..................................... 224
(MCLR Tied to V
(MCLR Not Tied to V
(MCLR Not Tied to V
(MCLR Tied to V
(INTOSC to HSPLL) ........................................ 265
PRI_RUN Mode ................................................. 36
PRI_RUN Mode (HSPLL) .................................. 35
(All CCP Modules) ........................................... 352
Requirements .................................................. 362
Requirements .................................................. 362
(Master Mode, CKE = 0) .................................. 354
(Master Mode, CKE = 1) .................................. 355
(Slave Mode, CKE = 0) .................................... 356
(Slave Mode, CKE = 1) .................................... 357
Requirements .................................................. 360
(PIC18F4221/4321) ......................................... 353
DD
Rise > T
2
2
C Bus Data Requirements ................ 361
C Bus Start/Stop Bits
PWRT
DD
DD
) ............................................ 47
) .......................................... 47
, V
DD
DD
DD
, Case 1) ...................... 46
, Case 2) ...................... 46
Rise < T
DD
DS39689E-page 389
,
PWRT
) ........... 46
Related parts for PIC18F2221-I/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F-LF1XK50](/images/no-image3.png)
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F6393T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6493T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8393T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8493T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6585-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6680-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F87K90T-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
![PIC18F87K90-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology