Описание
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.
- High-Performance RISC CPU:
- 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%
- Software selectable frequency range of 8 MHz to 31 kHz
- Software tunable
- Two-Speed Start-up mode
- Crystal fail detect for critical applications
- 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 Detect (BOD) 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-pin change
- 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 Gate Input mode
- Option to use OSC1 and OSC2 in LP mode as Timer1 oscillator if INTOSC mode selected
- KEELOQ® compatible hardware Cryptographic module
- In-Circuit Serial ProgrammingTM (ICSPTM) 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