PIC18F2221-E/SP Microchip Technology, PIC18F2221-E/SP Datasheet
PIC18F2221-E/SP
Specifications of PIC18F2221-E/SP
Related parts for PIC18F2221-E/SP
PIC18F2221-E/SP Summary of contents
Page 1
... 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) ...
Page 2
... PIC18F2221/2321/4221/4321 2. Module: PIC18F4221/4321 Pinout I/O Descriptions Table Table 1-3: PIC18F4221/4321 Pinout I/O Descrip- tions, beginning on Page 16, has been changed to remove Note 3, concerning “Special ICPORT features.” TABLE 1-3: PIC18F4221/4321 PINOUT I/O DESCRIPTIONS Pin Number Pin Name PDIP QFN TQFP MCLR/V /RE3 ...
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
... PIC18F2221/2321/4221/4321 TABLE 1-3: PIC18F4221/4321 PINOUT I/O DESCRIPTIONS (CONTINUED) Pin Number Pin Name PDIP QFN TQFP RB0/INT0/FLT0/AN12 33 9 RB0 INT0 FLT0 AN12 RB1/INT1/AN10 34 10 RB1 INT1 AN10 RB2/INT2/AN8 35 11 RB2 INT2 AN8 RB3/AN9/CCP2 36 12 RB3 AN9 (2) CCP2 RB4/KBI0/AN11 37 14 RB4 KBI0 AN11 ...
Page 5
... 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
... PIC18F2221/2321/4221/4321 TABLE 1-3: PIC18F4221/4321 PINOUT I/O DESCRIPTIONS (CONTINUED) Pin Number Pin Name PDIP QFN TQFP RD0/PSP0 19 38 RD0 PSP0 RD1/PSP1 20 39 RD1 PSP1 RD2/PSP2 21 40 RD2 PSP2 RD3/PSP3 22 41 RD3 PSP3 RD4/PSP4 27 2 RD4 PSP4 RD5/PSP5/P1B 28 3 RD5 PSP5 P1B RD6/PSP6/P1C ...
Page 7
... 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
... DEV9 Legend unknown unchanged unimplemented value depends on condition. Shaded cells are unimplemented, read as ‘0’. Note 1: Unimplemented in PIC18F2221/4221 devices; maintain these bits set. 2: See Register 23-14 for DEVID1 values. DEVID registers are read-only and cannot be programmed by the user. DS80310G-page 8 Bit 5 Bit 4 ...
Page 9
... Instruction set extension and Indexed Addressing mode disabled (Legacy mode) bit 5-4 BBSIZ1:BBSIZ0: Boot Block Size Select bits PIC18F4221/4321 Devices 1024 Words 01 = 512 Words 00 = 256 Words PIC18F2221/2321 Devices 512 Words x1 = 512 Words 00 = 256 Words bit 3 Unimplemented: Read as ‘0’ bit 2 LVP: Single-Supply ICSP™ Enable bit ...
Page 10
... QTP, SQTP, Code or Special Requirements (blank otherwise) DS80310G-page 10 8. Module: Product Identification System The “PIC18F2221/2321/4221/4321 Product Identi- fication System” illustration, on Page 393, is changed to correct the following inaccuracies: • Tape and reel delivery is available for TQFP, SOIC, SSOP and QFN packages — not only for TQFP packages, as stated • ...
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. R/W-0 ...
Page 12
... PIC18F2221/2321/4221/4321 10. Module: Packaging Information The 28-Lead Plastic Quad Flat, No Lead Package (MM) illustration, on page 371, is replaced by the one shown. 28-Lead Plastic Quad Flat, No Lead Package (ML) – 6x6 mm Body [QFN] with 0.55 mm Contact Length Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www ...
Page 13
... With BOR enabled, full-speed operation (F 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° ...
Page 14
... BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications. 5: 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 ...
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 ...
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 ...
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 ...
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 ...
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
... PIC18F2221/2321/4221/4321 TABLE 26-4: HIGH/LOW-VOLTAGE DETECT CHARACTERISTICS Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ T ≤ +85°C for industrial A Param Symbol Characteristic No. D420 HLVD Voltage on V Transition High to Low DS80310G-page 24 Min Typ Max LVV = 0000 2.06 2.17 2.28 DD LVV = 0001 2 ...
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. ...
Page 26
... PIC18F2221/2321/4221/4321 13. Module: Peripheral Highlights Under the “Peripheral Highlights” section on page 1, Enhanced Addressable USART module, the first bullet should be changed to: - Supports RS-485, RS-232 and LIN/J2602 TABLE 26-24: A/D CONVERTER CHARACTERISTICS: PIC18F2221/2321/4221/4321 (INDUSTRIAL) Param Symbol Characteristic No. A01 N Resolution R A03 E Integral Linearity Error ...
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 ...