PIC18LF2221-I/ML Microchip Technology, PIC18LF2221-I/ML Datasheet

4 KB Flash, 512 RAM 28 QFN 6x6mm TUBE

PIC18LF2221-I/ML

Manufacturer Part Number
PIC18LF2221-I/ML
Description
4 KB Flash, 512 RAM 28 QFN 6x6mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF2221-I/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)
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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF2221-I/ML
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18LF2221-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Clarifications/Corrections to the Data
Sheet:
In the Device Data Sheet (DS39689E), the following
clarifications and corrections should be noted. Any sili-
con issues related to the PIC18F2221/2321/4221/4321
will be reported in a separate silicon errata. Please
check the Microchip web site for any existing issues.
Pin Diagrams (Continued)
© 2008 Microchip Technology Inc.
44-Pin TQFP
Note 1:
PIC18F2221/2321/4221/4321 Data Sheet Errata
RB0/INT0/FLT0/AN12
RB3/AN9/CCP2
RB1/INT1/AN10
RD6/PSP6/P1C
RD7/PSP7/P1D
RD5/PSP5/P1B
RB2/INT2/AN8
RB3 is the alternate pin for CCP2 multiplexing.
RC7/RX/DT
RD4/PSP4
V
V
DD
SS
(1)
PIC18F2221/2321/4221/4321
1
2
3
4
5
6
7
8
9
10
11
PIC18F4221
PIC18F4321
1. Module: Pin Diagrams
33
32
31
30
29
28
27
26
25
24
23
The pin diagram for the 44-pin TQFP package, on
Page 4, has been modified to change the designa-
tion for Pins 12, 13, 33 and 34 to “NC”, No
Connect.
Additionally, the diagram’s second note – concern-
ing “Special ICPORT features” – has been
removed, such that the diagram appears as shown
below.
NC
RC0/T1OSO/T13CKI
OSC2/CLKO/RA6
OSC1/CLKI/RA7
V
V
RE2/CS/AN7
RE1/WR/AN6
RE0/RD/AN5
RA5/AN4/SS/HLVDIN/C2OUT
RA4/T0CKI/C1OUT
SS
DD
DS80310G-page 1

Related parts for PIC18LF2221-I/ML

PIC18LF2221-I/ML Summary of contents

Page 1

... RB2/INT2/AN8 (1) RB3/AN9/CCP2 Note 1: RB3 is the alternate pin for CCP2 multiplexing. © 2008 Microchip Technology Inc. 1. Module: Pin Diagrams The pin diagram for the 44-pin TQFP package, on Page 4, has been modified to change the designa- tion for Pins 12, 13, 33 and 34 to “NC”, No Connect. Additionally, the diagram’ ...

Page 2

... In RC, EC and INTIO modes, OSC2 pin outputs CLKO which has one-fourth the frequency of OSC1 and denotes the instruction cycle rate. I/O TTL General purpose I/O pin. CMOS = CMOS compatible input or output I = Input O = Output Description P = Power © 2008 Microchip Technology Inc. ...

Page 3

... with I C™ or SMB levels Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Pin Buffer Type Type PORTA is a bidirectional I/O port. 19 I/O TTL Digital I/O ...

Page 4

... Digital I/O. I TTL Interrupt-on-change pin. I/O ST In-Circuit Debugger and ICSP programming clock pin. 17 I/O TTL Digital I/O. I TTL Interrupt-on-change pin. I/O ST In-Circuit Debugger and ICSP programming data pin. CMOS = CMOS compatible input or output I = Input O = Output Description P = Power © 2008 Microchip Technology Inc. ...

Page 5

... ST = Schmitt Trigger input with CMOS levels with I C™ or SMB levels Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Pin Buffer Type Type PORTC is a bidirectional I/O port. 32 I/O ST Digital I/O ...

Page 6

... Enhanced CCP1 output. 4 I/O ST Digital I/O. I/O TTL Parallel Slave Port data. O — Enhanced CCP1 output. 5 I/O ST Digital I/O. I/O TTL Parallel Slave Port data. O — Enhanced CCP1 output. CMOS = CMOS compatible input or output I = Input O = Output Description P = Power © 2008 Microchip Technology Inc. ...

Page 7

... ST = Schmitt Trigger input with CMOS levels with I C™ or SMB levels Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Pin Buffer Type Type PORTE is a bidirectional I/O port. 25 I/O ST Digital I/O ...

Page 8

... Bit 0 Unprogrammed Value FOSC1 FOSC0 00-- 0111 ---1 1111 WDTEN ---1 1111 1--- -011 — STVREN 1000 -1-1 CP1 CP0 ---- --11 — — 11-- ---- WRT1 WRT0 ---- --11 — — 111- ---- EBTR1 EBTR0 ---- --11 — — -1-- ---- (2) REV1 REV0 xxxx xxxx DEV4 DEV3 0000 1100 © 2008 Microchip Technology Inc. ...

Page 9

... Unimplemented: Read as ‘0’ bit 0 STVREN: Stack Full/Underflow Reset Enable bit 1 = Stack full/underflow will cause Reset 0 = Stack full/underflow will not cause Reset Legend Readable bit -n = Value when device is unprogrammed © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 U-0 U-0 U-0 BBSIZ1 BBSIZ0 — ...

Page 10

... Special ICPORT Features . PART NO. X /XX Device Temperature Package Range (1) Device PIC18F2221/2321 , PIC18F4221/4321 (2) PIC18F2221/2321T , PIC18F4221/4321T V range 4.2V to 5.5V DD (1) PIC18LF2221/2321 , PIC18LF4221/4321 (2) PIC18LF2221/2321T , PIC18LF4221/4321T V range 2.0V to 5.5V DD Temperature Range I = -40°C to +85°C (Industrial -40°C to +125°C (Extended) Package PT = TQFP (Thin Quad Flatpack SOIC SS = SSOP SP ...

Page 11

... Idle state for transmit (TX high level Synchronous mode Idle state for clock (CK high level 0 = Idle state for clock (CK low level © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 In this document’s Revision E change, the Synchronous mode content was removed from the bit 5 (RXDTP) description. ...

Page 12

... N e 0.65 BSC A 0.80 A1 0.00 A3 0.20 REF E 6.00 BSC E2 3.65 D 6.00 BSC D2 3.65 b 0.23 L 0. NOM MAX 28 0.90 1.00 0.02 0.05 3.70 4.20 3.70 4.20 0.30 0.35 0.55 0.70 – – Microchip Technology Drawing C04-105B © 2008 Microchip Technology Inc. ...

Page 13

... V may be below the minimum voltage for this frequency. DD © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Supply Voltage PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T Operating temperature Standard Operating Conditions (unless otherwise stated) -40°C ≤ T Operating temperature -40°C ≤ T ...

Page 14

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = DS80310G-page 14 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature A Standard Operating Conditions (unless otherwise stated) -40° ...

Page 15

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature ...

Page 16

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = DS80310G-page 16 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature A Standard Operating Conditions (unless otherwise stated) -40° ...

Page 17

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature ...

Page 18

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = DS80310G-page 18 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature A Standard Operating Conditions (unless otherwise stated) -40° ...

Page 19

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature ...

Page 20

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = DS80310G-page 20 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature A Standard Operating Conditions (unless otherwise stated) -40° ...

Page 21

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature ...

Page 22

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = DS80310G-page 22 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature A Standard Operating Conditions (unless otherwise stated) -40° ...

Page 23

... When operation below -10°C is expected, use T1OSC high-power mode where LPT1OSC (CONFIG3H<2>) = © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 Power-Down and Supply Current PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) (Continued) Standard Operating Conditions (unless otherwise stated) -40°C ≤ T ≤ +85°C for industrial Operating temperature ...

Page 24

... LVV = 1010 3.52 3.71 3.90 LVV = 1011 3.70 3.90 4.10 LVV = 1100 3.90 4.11 4.32 LVV = 1101 4.11 4.33 4.55 LVV = 1110 4.36 4.59 4.82 LVV = 1111 1.10 1.20 1.30 Units Conditions HLVDIN input/internal reference voltage © 2008 Microchip Technology Inc. ...

Page 25

... Port Leakage Current) The maximum values of the following parameters for input leakage current are changed: • D060 – I/O Ports • D061 – MCLR, RA4 • D063 – OSC1 26.3 DC Characteristics: PIC18F2221/2321/4221/4321 (Industrial) PIC18LF2221/2321/4221/4321 (Industrial) DC CHARACTERISTICS Param Symbol Characteristic No. I Input Leakage Current ...

Page 26

... REFL DS80310G-page 26 14. Module: A/D Converter Characteristics Table 26-24: A/D Converter Characteristics, on page 363, has been changed to update the offset error. The table has been reprinted with the updated values shown in bold text. PIC18LF2221/2321/4221/4321 (INDUSTRIAL) Min Typ Max — — 10 — ...

Page 27

... Characteristics, I/O Port Leakage Current). Rev G Document (5/2008) Modified Data Sheet Clarifications 11 (Electrical Characteristics) and 12 (Electrical Characteristics, I/O Port Leakage Current). Added Data Sheet Clarifica- tions 13 (Peripheral Highlights) and 14 (A/D Converter Characteristics). © 2008 Microchip Technology Inc. PIC18F2221/2321/4221/4321 10 (Packaging 11 (Electrical 12 (Electrical DS80310G-page 27 ...

Page 28

... PIC18F2221/2321/4221/4321 NOTES: DS80310G-page 28 © 2008 Microchip Technology Inc. ...

Page 29

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 30

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords