PIC18F2221-E/ML Microchip Technology, PIC18F2221-E/ML Datasheet - Page 57

4KB, Flash, 512bytes-RAM, 25I/O, 8-bit Family,nanoWatt 28 QFN 6x6mm TUBE

PIC18F2221-E/ML

Manufacturer Part Number
PIC18F2221-E/ML
Description
4KB, Flash, 512bytes-RAM, 25I/O, 8-bit Family,nanoWatt 28 QFN 6x6mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-E/ML

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-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
TABLE 5-4:
© 2009 Microchip Technology Inc.
ADRESH
ADRESL
ADCON0
ADCON1
ADCON2
CCPR1H
CCPR1L
CCP1CON
CCPR2H
CCPR2L
CCP2CON
BAUDCON
ECCP1DEL
ECCP1AS
CVRCON
CMCON
TMR3H
TMR3L
T3CON
SPBRGH
SPBRG
RCREG
TXREG
TXSTA
RCSTA
EEADR
EEDATA
EECON2
EECON1
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
2221 2321 4221 4321
2221 2321 4221 4321
INITIALIZATION CONDITIONS FOR ALL REGISTERS (CONTINUED)
Applicable Devices
PIC18F2221/2321/4221/4321 FAMILY
Brown-out Reset
Power-on Reset,
xxxx xxxx
xxxx xxxx
--00 0000
--00 0qqq
0-00 0000
xxxx xxxx
xxxx xxxx
0000 0000
--00 0000
xxxx xxxx
xxxx xxxx
--00 0000
0100 0-00
0000 0000
0000 0000
0000 00--
0000 0000
0000 0111
xxxx xxxx
xxxx xxxx
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0010
0000 000x
0000 0000
0000 0000
0000 0000
xx-0 x000
RESET Instruction,
MCLR Resets,
Stack Resets
uuuu uuuu
uuuu uuuu
--00 0000
--00 0qqq
0-00 0000
uuuu uuuu
uuuu uuuu
0000 0000
--00 0000
uuuu uuuu
uuuu uuuu
--00 0000
0100 0-00
0000 0000
0000 0000
0000 00--
0000 0000
0000 0111
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
0000 0000
0000 0000
0000 0000
0000 0010
0000 000x
0000 0000
0000 0000
0000 0000
uu-0 u000
WDT Reset,
Wake-up via WDT
uuuu uuuu
uuuu uuuu
--uu uuuu
--uu uuuu
u-uu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
--uu uuuu
uuuu uuuu
uuuu uuuu
uuuu uu--
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
uu-0 u000
or Interrupt
DS39689F-page 57

Related parts for PIC18F2221-E/ML