High-Performance RISC CPU
• C Compiler Optimized Architecture
• Only 49 Instructions
• Up to 14 Kbytes Linear Program Memory Addressing
• Operating Speed:
- DC – 32 MHz
- 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
Flexible Oscillator Structure
• 16 MHz Internal Oscillator Block:
- Accurate to ±1%, typical
- Software selectable frequency range from 16 MHz to 250 kHz
- PLL multiplier to 32 MHz
• 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
• Two-Speed Oscillator Start-up
• Oscillator Start-up Timer (OST)
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:
- 8 μA @ 32 kHz, 1.8V, typical
- 32 μA/MHz @ 1.8V, typical
Special Microcontroller Features
• Operating Voltage Range:
- 1.8V-3.6V (PIC16LF1704/8)
- 2.3V-5.5V (PIC16F1704/8)
• Temperature Range:
- Industrial: -40°C to 85°C
- Extended: -40°C to 125°C
• 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
• 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
• 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:
- Up to three (TMR2/4/6)
- 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:
- 7-bit address masking
- SMBus/PMBusTM compatibility
• Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART):
- RS-232, RS-485 and LIN compatible
- Auto-Baud Detect
- Auto-wake-up on Start
Digital Peripheral Features (Continued)
• Complementary Output Generator (COG):
- Push-Pull, Full Bridge, and Steering modes
- Dedicated Rise/Fall Input Triggers
- Dedicated Deadtime Delay Counters
- Dedicated Phase Delay Counters
- Dedicated Blanking Delay Counters
- Concurrent Auto-Shutdown Selection
• Two Pulse Width Modulation (PWM) modules:
- 10-bit Duty-Cycle Control
• Three Configurable Logic Cell (CLC) modules:
- Generate a selected function of up to four inputs
- Combinational and State Logic
- External or Internal input/output pins
- Operation in Sleep
• Peripheral Pin Select (PPS):
- Digital outputs mapped to any GPIO pin
- Digital inputs from any GPIO pin
- CLC input multiplexing
Analog Peripheral Features
• Operational Amplifiers:
- Up to two configurable op amps
- Selectable internal and external channels
- High/Low selectable Gain Bandwidth Product
• Two High-Speed Comparators:
- 60 ns response time
- Low-power/High-power mode
- Comparator outputs externally accessible
- Software hysteresis enable
• Analog-to-Digital Converter (ADC) module
- 10-bit resolution, 12 channels
- Auto conversion start capability
- Conversion available during Sleep
• 8-Bit Digital-to-Analog Converter (DAC):
- Output available externally
- Positive and negative reference selection
- Internal connections to comparators, op amps, Fixed Voltage Reference (FVR) and ADC
• Zero-Cross Detection Circuit:
- Constant Voltage Output
- Current Source/Sink
- Interrupt on Edge Detect
• Voltage Reference module:
- Fixed Voltage Reference (FVR) with 1.024V, 2.048V and 4.096V output levels
Комментарии