Datasheet
2002 Microchip Technology Inc. Preliminary DS40044A-page 1
PIC16F627A/628A/648A
High Performance RISC CPU:
• Operating speeds from DC - 20 MHz
• Interrupt capability
• 8-level deep hardware stack
• Direct, Indirect and Relative Addressing modes
• 35 single word instructions
- All instructions single cycle except branches
Special Microcontroller Features:
• Internal and external oscillator options
- Precision Internal 4 MHz oscillator factory
calibrated to ±1%
- Low Power Internal 37 kHz oscillator
- External Oscillator support for crystals and
resonators.
• Power saving SLEEP mode
• Programmable weak pull-ups on PORTB
• Multiplexed Master Clear/Input-pin
• Watchdog Timer with independent oscillator for
reliable operation
• Low voltage programming
• In-Circuit Serial Programming™ (via two pins)
• Programmable code protection
• Brown-out Reset
• Power-on Reset
• Power-up Timer and Oscillator Start-up Timer
• Wide operating voltage range. (2.0 - 5.5V)
• Industrial and extended temperature range
• High Endurance FLASH/EEPROM Cell
- 100,000 write FLASH endurance
- 1,000,000 write EEPROM endurance
- 100 year data retention
Low Power Features:
• Standby Current:
- 100 nA @ 2.0V, typical
• Operating Current:
-12µA @ 32 kHz, 2.0V, typical
-120µA @ 1 MHz, 2.0V, typical
• Watchdog Timer Current
-1µA @ 2.0V, typical
• Timer1 oscillator current:
-1.2µA @ 32 kHz, 2.0V, typical
• Dual Speed Internal Oscillator:
- Run-time selectable between 4 MHz and
37 kHz
-4µs wake-up from SLEEP, 3.0V, typical
Peripheral Features:
• 16 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(V
REF) module
- Selectable internal or external reference
- Comparator outputs are externally accessible
• Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
• Timer1: 16-bit timer/counter with external crystal/
clock capability
• Timer2: 8-bit timer/counter with 8-bit period regis-
ter, prescaler and postscaler
• Capture, Compare, PWM module
- 16-bit Capture/Compare
- 10-bit PWM
• Addressable Universal Synchronous/Asynchro-
nous Receiver/Transmitter USART/SCI
Device
Program
Memory
Data Memory
I/O
CCP
(PWM)
USART Comparators
Timers
8/16-bit
FLASH
(words)
SRAM
(bytes)
EEPROM
(bytes)
PIC16F627A 1024 224 128 16 1 Y 2 2/1
PIC16F628A 2048 224 128 16 1 Y 2 2/1
PIC16F648A 4096 256 256 16 1 Y 2 2/1
18-pin FLASH-Based 8-Bit CMOS Microcontrollers