Описание
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% – 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
- Power-Saving Sleep mode
- Wide Operating Voltage Range (2.0V-5.5V)
- Industrial and Extended Temperature Range
- Power-on Reset (POR)
- 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 Weak Pull-up or Input Only Pin
- Programmable Code Protection
- 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: – 50 nA @ 2.0V, typical
- Operating Current: – 11 µA @ 32 kHz, 2.0V, typical – 220 µA @ 4 MHz, 2.0V, typical
- Watchdog Timer Current: – 1 µA @ 2.0V, typical Peripheral Features:
- 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 – Ultra Low-Power Wake-up
- Analog Comparator module with: – Two analog comparators – Programmable On-chip Voltage Reference (CVREF) module (% of VDD) – Comparator inputs and outputs externally accessible
- A/D Converter: – 10-bit resolution and 8 channels
- 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
- Enhanced USART Module: – Supports RS-485, RS-232, LIN 2.0/2.1 and J2602 – Auto-Baud Detect – Auto-wake-up on Start bit
- In-Circuit Serial Programming™ (ICSP™) via two pins