Описание
The low pin-count (20) PIC Flash microcontroller products offer all of the advantages of the well recognized mid-range x14 architecture with standardized features including a wide operating voltage of 2.0…5.5 volts, on-board EEPROM data memory, and nanoWatt Technology. Standard analog peripherals include up to 12 channels of 10-bit A/D, an analog comparator module with two comparators, programmable on-chip voltage reference, and an enhanced Capture/Compare/PWM (ECCP+) w/dead band delay, auto-shutdown and restart options.
- Only 35 instructions to learn: – All single-cycle instructions except branches
- Operating speed: – DC – 20 MHz oscillator/clock input – DC – 200 ns instruction cycle
- Interrupt capability
- 8-level deep hardware stack
- Direct, Indirect and Relative Addressing modes Special Microcontroller Features:
- Precision Internal Oscillator: – Factory calibrated to ±1%, typical – Software selectable frequency range of 8 MHz to 125 kHz – Software tunable – Two-Speed Start-up mode – Crystal fail detect for critical applications – Clock mode switching during operation for power savings
- Clock mode switching for low-power operation
- Power-Saving Sleep mode
- Wide operating voltage range (2.0V-5.5V)
- Industrial and Extended Temperature range
- Power-on Reset (POR)
- Wake-up Reset (WUR)
- Independent weak pull-up/pull-down resistors
- Programmable Low-Voltage Detect (PLVD)
- Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
- Brown-out Reset (BOR) with software control option
- Enhanced Low-Current Watchdog Timer (WDT) with on-chip oscillator (software selectable nominal 268 seconds with full prescaler) with software enable
- Multiplexed Master Clear with pull-up/input pin
- Programmable code protection (program and data independent)
- High-Endurance Flash/EEPROM cell: – 100,000 write Flash endurance – 1,000,000 write EEPROM endurance – Flash/Data EEPROM Retention: > 40 years Low-Power Features:
- Standby Current: – 1 nA @ 2.0V, typical
- Operating Current: – 8.5 µA @ 32 kHz, 2.0V, typical – 100 µA @ 1 MHz, 2.0V, typical
- Watchdog Timer Current: – 1 µA @ 2.0V, typical Peripheral Features:
- 6/12 I/O pins with individual direction control: – High-current source/sink for direct LED drive – Interrupt-on-change pin – Individually programmable weak pull-ups/ pull-downs – Ultra Low-Power Wake-up
- Analog Comparator module with: – Up to two analog comparators – Programmable On-chip Voltage Reference (CVREF) module (% of VDD) – Comparator inputs and outputs externally accessible
- Timer0: 8-bit timer/counter with 8-bit programmable prescaler
- Enhanced Timer1: – 16-bit timer/counter with prescaler – External Timer1 Gate (count enable) – Option to use OSC1 and OSC2 in LP mode as Timer1 oscillator if INTOSC mode selected
- KEELOQ® compatible hardware Cryptographic module
- In-Circuit Serial Programming™ (ICSP™) via two pins Low-Frequency Analog Front-End Features (PIC16F639 only):
- Three input pins for 125 kHz LF input signals
- High input detection sensitivity (3 mVPP, typical)
- Demodulated data, Carrier clock or RSSI output selection
- Input carrier frequency: 125 kHz, typical
- Input modulation frequency: 4 kHz, maximum
- 8 internal Configuration registers
- Bidirectional transponder communication (LF talk back)
- Programmable antenna tuning capacitance (up to 63 pF, 1 pF/step)
- Low standby current: 5 µA (with 3 channels enabled), typical
- Low operating current: 15 µA (with 3 channels enabled), typical
- Serial Peripheral Interface (SPI) with internal MCU and external devices
- Supports Battery Back-up mode and batteryless operation with external circuits