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

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
5.0
There are three types of memory in PIC18 Enhanced
microcontroller devices:
• Program Memory
• Data RAM
• Data EEPROM
As Harvard architecture devices, the data and program
memories use separate busses; this allows for con-
current access of the two memory spaces. The data
EEPROM, for practical purposes, can be regarded as
a peripheral device, since it is addressed and accessed
through a set of control registers.
Additional detailed information on the operation of the
Flash program memory is provided in Section 6.0
“Flash Program Memory”. Data EEPROM is
discussed separately in Section 7.0 “Data EEPROM
Memory”.
FIGURE 5-1:
© 2007 Microchip Technology Inc.
CALL,RCALL,RETURN
RETFIE,RETLW
MEMORY ORGANIZATION
High Priority Interrupt Vector 0008h
Low Priority Interrupt Vector
Program Memory
Stack Level 31
PIC18FX221
Stack Level 1
Reset Vector
PC<20:0>
Read ‘0’
On-Chip
PROGRAM MEMORY MAP AND STACK FOR PIC18F4321 FAMILY DEVICES
21
0000h
0018h
0FFFh
1000h
1FFFFFh
200000h
Preliminary
CALL,RCALL,RETURN
RETFIE,RETLW
5.1
PIC18 microcontrollers implement a 21-bit program
counter, which is capable of addressing a 2-Mbyte
program memory space. Accessing a location between
the upper boundary of the physically implemented
memory and the 2-Mbyte address will return all ‘0’s (a
NOP instruction).
The PIC18F2221 and PIC18F4221 each have 4 Kbytes
of Flash memory and can store up to 2048 single-word
instructions. The PIC18F2321 and PIC18F4321 each
have 8 Kbytes of Flash memory and can store up to
4096 single-word instructions.
PIC18 devices have two interrupt vectors. The Reset
vector address is at 0000h and the interrupt vector
addresses are at 0008h and 0018h.
The program memory maps for PIC18F2221/4221 and
PIC18F2321/4321 devices are shown in Figure 5-1.
PIC18F4321 FAMILY
High Priority Interrupt Vector 0008h
Low Priority Interrupt Vector
Program Memory Organization
Program Memory
PIC18FX321
Stack Level 31
Stack Level 1
Reset Vector
PC<20:0>
On-Chip
Read ‘0’
21
0000h
0018h
1FFFh
2000h
1FFFFFh
200000h
DS39689E-page 53

Related parts for PIC18F2221-I/ML