PIC16(L)F1704/8
14/20-Pin 8-Bit Advanced Analog Flash Microcontrollers
High-Performance RISC CPU
Special Microcontroller Features
• C Compiler Optimized Architecture
• Only 49 Instructions
• Up to 14 Kbytes Linear Program Memory
Addressing
• Operating Voltage Range:
- 1.8V-3.6V (PIC16LF1704/8)
- 2.3V-5.5V (PIC16F1704/8)
• Temperature Range:
• Operating Speed:
- Industrial: -40°C to 85°C
- DC – 32 MHz
- Extended: -40°C to 125°C
- DC – 125 ns instruction cycle
• Interrupt Capability with Automatic Context
Saving
• 16-Level Deep Hardware Stack with Optional
Overflow/Underflow Reset
• Direct, Indirect and Relative Addressing modes:
- Two full 16-bit File Select Registers (FSRs)
- FSRs can read program and data memory
• High-Endurance Flash Data Memory (HEF)
- 128 bytes of nonvolatile data storage
- 100k erase/write cycles
• Power-on Reset (POR)
• Low Power Brown-Out Reset (LPBOR)
• Extended Watch-Dog Timer (WDT):
- Programmable period from 1 ms to 256s
• Programmable Code Protection
• In-Circuit Serial Programming™ (ICSP™) via
Two Pins
• In-Circuit Debug (ICD) via Two Pins
• Enhanced Low-Voltage Programming (LVP)
• Power-Saving Sleep mode
Digital Peripheral Features
Flexible Oscillator Structure
• Up to 17 I/O Pins and one Input-only Pin:
- High current sink/source for LED drivers
- Individually programmable weak pull-ups
- Interrupt-on-change pin option with edge
selectable option
• 16 MHz Internal Oscillator Block:
- Accurate to ±1%, typical
- Software selectable frequency range from
16 MHz to 250 kHz
- PLL multiplier to 32 MHz
• Timer0: 8-Bit Timer/Counter with 8-Bit
Programmable Prescaler
• Enhanced Timer1:
- 16-bit timer/counter with prescaler
- External Gate Input mode
- Dedicated low-power 32 kHz oscillator driver
• Timer2:
• 31 kHz Low-Power Internal Oscillator
• External Oscillator Block with:
- Three crystal/resonator modes up to 20 MHz
- Three external clock modes up to 20 MHz
• Fail-Safe Clock Monitor:
- Allows for safe shutdown if peripheral clock
stops
- Up to three (TMR2/4/6)
• Two-Speed Oscillator Start-up
• Oscillator Start-up Timer (OST)
- 8-Bit Timer/Counter
- 8-Bit Period Register
- Prescaler and Postscaler
• Capture, Compare, PWM (CCP) Module
• Master Synchronous Serial Port (SSP) with SPI
and I2C with:
eXtreme Low-Power (XLP) Features
• Sleep mode: 50 nA @ 1.8V, typical
• Watchdog Timer: 500 nA @ 1.8V, typical
• Secondary Oscillator: 500 nA @ 32 kHz
• Operating Current:
- 7-bit address masking
- SMBus/PMBusTM compatibility
• Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART):
- RS-232, RS-485 and LIN compatible
- Auto-Baud Detect
- 8 µA @ 32 kHz, 1.8V, typical
- 32 µA/MHz @ 1.8V, typical
- Auto-wake-up on Start
2013-2015 Microchip Technology Inc.
DS40001715D-page 1