PIC18F2221 MICROCHIP [Microchip Technology], PIC18F2221 Datasheet - Page 3

no-image

PIC18F2221

Manufacturer Part Number
PIC18F2221
Description
28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2221-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC18F2221-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221T-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Power-Managed Modes:
• Run: CPU on, peripherals on
• Idle: CPU off, peripherals on
• Sleep: CPU off, peripherals off
• Idle mode currents down to 2.5 μA typical
• Sleep mode currents down to 100 nA typical
• Timer1 Oscillator: 1.8 μA, 32 kHz, 2V typical
• Watchdog Timer: 1.4 μA, 2V typical
• Two-Speed Oscillator Start-up
Flexible Oscillator Structure:
• Four Crystal modes, up to 40 MHz
• 4x Phase Lock Loop (PLL) – available for crystal
• Two External RC modes, up to 4 MHz
• Two External Clock modes, up to 40 MHz
• Internal oscillator block:
• Secondary oscillator using Timer1 @ 32 kHz
• Fail-Safe Clock Monitor
Peripheral Highlights:
• High-current sink/source 25 mA/25 mA
• Three programmable external interrupts
• Four input change interrupts
• Up to 2 Capture/Compare/PWM (CCP) modules,
• Enhanced Capture/Compare/PWM (ECCP)
-
© 2007 Microchip Technology Inc.
PIC18F2221
PIC18F2321
PIC18F4221
PIC18F4321
and internal oscillators
- 8 user-selectable frequencies, from 31 kHz to
- Provides a complete range of clock speeds
- User-tunable to compensate for frequency drift
- Allows for safe shutdown if peripheral clock stops
one with Auto-Shutdown (28-pin devices)
module (40/44-pin devices only):
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-Shutdown and Auto-Restart
Device
8 MHz
from 31 kHz to 32 MHz when used with PLL
28/40/44-Pin Enhanced Flash Microcontrollers with
(bytes)
Flash
4K
8K
4K
8K
Program Memory
10-Bit A/D and nanoWatt Technology
# Single-Word
Instructions
2048
4096
2048
4096
(bytes)
SRAM
512
512
512
512
Data Memory
EEPROM
(bytes)
256
256
256
256
Preliminary
I/O
25
25
36
36
A/D (ch)
10-bit
PIC18F4321 FAMILY
Peripheral Highlights (Continued):
• Master Synchronous Serial Port (MSSP) module
• Enhanced Addressable USART module:
• 10-bit, up to 13-channel Analog-to-Digital
• Dual analog comparators with input multiplexing
• Programmable 16-level High/Low-Voltage
Special Microcontroller Features:
• C compiler optimized architecture:
• 100,000 erase/write cycle Enhanced Flash
• 1,000,000 erase/write cycle Data EEPROM
• Flash/Data EEPROM Retention: 100 years typical
• Self-programmable under software control
• Priority levels for interrupts
• 8 x 8 Single-Cycle Hardware Multiplier
• Extended Watchdog Timer (WDT):
• Single-Supply 5V In-Circuit Serial
• In-Circuit Debug (ICD) via two pins
• Wide operating voltage range: 2.0V to 5.5V
• Programmable Brown-out Reset (BOR) with
• Optional dedicated ICD/ICSP port (44-pin devices only)
10
10
13
13
supporting 3-wire SPI (all 4 modes) and I
Master and Slave modes
- Supports RS-485, RS-232 and LIN 1.2
- RS-232 operation using internal oscillator
- Auto-Wake-up on Start bit
- Auto-Baud Detect
Converter module (A/D):
- Auto-acquisition capability
- Conversion available during Sleep
Detection (HLVD) module:
- Supports interrupt on High/Low-Voltage Detection
- Optional extended instruction set designed to
program memory typical
memory typical
- Programmable period from 4 ms to 131s
Programming™ (ICSP™) via two pins
software enable option
block (no external crystal required)
optimize re-entrant code
(PWM)
ECCP
CCP/
2/0
2/0
1/1
1/1
SPI
Y
Y
Y
Y
MSSP
Master
I
2
C™
Y
Y
Y
Y
1
1
1
1
DS39689E-page 1
Comp.
2
2
2
2
2
C™
8/16-bit
Timers
1/3
1/3
1/3
1/3

Related parts for PIC18F2221