PIC18F2221-E/SS Microchip Technology, PIC18F2221-E/SS Datasheet - Page 55

no-image

PIC18F2221-E/SS

Manufacturer Part Number
PIC18F2221-E/SS
Description
4KB, Flash, 512bytes-RAM, 25I/O, 8-bit Family,nanoWatt 28 SSOP .209in TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-E/SS

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
Program Memory Size
4KB (2K x 16)
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 ~ 125°C
Package / Case
28-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
TABLE 5-4:
© 2009 Microchip Technology Inc.
TOSU
TOSH
TOSL
STKPTR
PCLATU
PCLATH
PCL
TBLPTRU
TBLPTRH
TBLPTRL
TABLAT
PRODH
PRODL
INTCON
INTCON2
INTCON3
INDF0
POSTINC0
POSTDEC0
PREINC0
PLUSW0
FSR0H
FSR0L
WREG
INDF1
POSTINC1
POSTDEC1
PREINC1
PLUSW1
Legend: u = unchanged, x = unknown, - = unimplemented bit, read as ‘0’, q = value depends on condition.
Note 1:
Register
2:
3:
4:
5:
Shaded cells indicate conditions do not apply for the designated device.
One or more bits in the INTCONx or PIRx registers will be affected (to cause wake-up).
When the wake-up is due to an interrupt and the GIEL or GIEH bit is set, the PC is loaded with the interrupt
vector (0008h or 0018h).
When the wake-up is due to an interrupt and the GIEL or GIEH bit is set, the TOSU, TOSH and TOSL are
updated with the current value of the PC. The STKPTR is modified to point to the next location in the
hardware stack.
See Table 5-3 for Reset value for specific condition.
Bits 6 and 7 of PORTA, LATA and TRISA are enabled, depending on the oscillator mode selected. When
not enabled as PORTA pins, they are disabled and read ‘0’.
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
INITIALIZATION CONDITIONS FOR ALL REGISTERS
Applicable Devices
PIC18F2221/2321/4221/4321 FAMILY
Brown-out Reset
Power-on Reset,
---0 0000
0000 0000
0000 0000
00-0 0000
--00 0000
0000 0000
0000 0000
--00 0000
0000 0000
0000 0000
0000 0000
xxxx xxxx
xxxx xxxx
0000 000x
1111 -1-1
11-0 0-00
---- 0000
xxxx xxxx
xxxx xxxx
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
RESET Instruction,
MCLR Resets,
Stack Resets
---0 0000
0000 0000
0000 0000
uu-0 0000
--00 0000
0000 0000
0000 0000
--00 0000
0000 0000
0000 0000
0000 0000
uuuu uuuu
uuuu uuuu
0000 000u
1111 -1-1
11-0 0-00
---- 0000
uuuu uuuu
uuuu uuuu
WDT Reset,
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Wake-up via WDT
---0 uuuu
uuuu uuuu
uuuu uuuu
uu-u uuuu
--uu uuuu
uuuu uuuu
--uu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu -u-u
uu-u u-uu
---- uuuu
uuuu uuuu
uuuu uuuu
or Interrupt
DS39689F-page 55
PC + 2
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
(2)
(3)
(3)
(3)
(3)
(1)
(1)
(1)

Related parts for PIC18F2221-E/SS