PIC16(L)F1782/3 28-Pin 8-Bit Advanced Analog Flash Microcontroller High-Performance RISC CPU: Extreme Low-Power Management PIC16LF1782/3 with XLP: Only 49 Instructions Sleep mode: 50 nA 1.8V, typical Operating Speed: Watchdog Timer: 500 nA 1.8V, typical - DC 32 MHz clock input Timer1 Oscillator: 500 nA 32 kHz - DC 125 ns instruction cycle Operating Current: Interrupt Capability with Automatic Context Saving -8 A 32 kHz, 1.8V, typical 16-Level Deep Hardware Stack with optional -32 A/MHz 1.8V, typical Overflow/Underflow Reset Analog Peripheral Features: Direct, Indirect and Relative Addressing modes: Analog-to-Digital Converter (ADC): Two full 16-bit File Select Registers (FSRs) - FSRs can read program and data memory - Fully differential 12-bit converter - Up to 75 ksps conversion rate Memory Features: - 11 single-ended channels - 5 differential channels Up to 4 KW Flash Program Memory: - Positive and negative reference selection - Self-programmable under software control 8-bit Digital-to-Analog Converter (DAC): - Programmable code protection - Output available externally - Programmable write protection - Positive and negative reference selection 256 Bytes of Data EEPROM - Internal connections to comparators, op amps, Up to 512 Bytes of RAM Fixed Voltage Reference (FVR) and ADC Three High-Speed Comparators: High Performance PWM Controller: - 50 ns response time VDD = 5V Two Programmable Switch Mode Controller - Rail-to-rail inputs (PSMC) modules: - Software selectable hysteresis - Digital and/or analog feedback control of - Internal connection to op amps, FVR and DAC PWM frequency and pulse begin/end times Two Operational Amplifiers: - 16-bit Period, Duty Cycle and Phase - Rail-to-rail inputs/outputs - 16 ns clock resolution - High/Low selectable Gain Bandwidth Product - Supports Single PWM, Complementary, - Internal connection to DAC and FVR Push-Pull and 3-phase modes of operation Fixed Voltage Reference (FVR): - Dead-band control with 8-bit counter - 1.024V, 2.048V and 4.096V output levels - Auto-shutdown and restart - Internal connection to ADC, comparators and - Leading and falling edge blanking DAC -Burst mode I/O Features: 25 I/O Pins and 1 Input-only Pin: High current sink/source for LED drivers Individually programmable interrupt-on-change pins Individually programmable weak pull-ups Individual input level selection Individually programmable slew rate control Individually programmable open drain outputs 2011-2014 Microchip Technology Inc. DS40001579E-page 1PIC16(L)F1782/3 Digital Peripheral Features: General Microcontroller Features: Timer0: 8-Bit Timer/Counter with 8-Bit Power-Saving Sleep mode Programmable Prescaler Power-on Reset (POR) Enhanced Timer1: Power-up Timer (PWRT) - 16-bit timer/counter with prescaler Oscillator Start-up Timer (OST) - External Gate Input mode Brown-out Reset (BOR) with Selectable Trip Point - Dedicated low-power 32 kHz oscillator driver Extended Watchdog Timer (WDT) Timer2: 8-Bit Timer/Counter with 8-Bit Period TM TM In-Circuit Serial Programming (ICSP ) Register, Prescaler and Postscaler In-Circuit Debug (ICD) Two Capture/Compare/PWM modules (CCP): Enhanced Low-Voltage Programming (LVP) - 16-bit capture, maximum resolution 12.5 ns Operating Voltage Range: - 16-bit compare, max resolution 31.25 ns - 1.8V to 3.6V (PIC16LF1782/3) - 10-bit PWM, max frequency 32 kHz - 2.3V to 5.5V (PIC16F1782/3) Master Synchronous Serial Port (SSP) with SPI 2 TM and I C with: - 7-bit address masking TM - SMBus/PMBus compatibility Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART): - RS-232, RS-485 and LIN compatible - Auto-baud detect - Auto-wake-up on start Oscillator Features: Operate up to 32 MHz from Precision Internal Oscillator: - Factory calibrated to 1%, typical - Software selectable frequency range from 32 MHz to 31 kHz 31 kHz Low-Power Internal Oscillator 32.768 kHz Timer1 Oscillator: - Available as system clock - Low-power RTC External Oscillator Block with: - 4 crystal/resonator modes up to 32 MHz using 4x PLL - 3 external clock modes up to 32 MHz 4x Phase-Locked Loop (PLL) Fail-Safe Clock Monitor: - Detect and recover from external oscillator failure Two-Speed Start-up: - Minimize latency between code execution and external oscillator start-up DS40001579E-page 2 2011-2014 Microchip Technology Inc.