PIC16(L)F1946/47 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and XLP Technology High-Performance RISC CPU PIC16LF1946/47 Low-Power Features Only 49 Instructions to Learn: Standby Current: - All single-cycle instructions except branches - 60 nA 1.8V, typical Operating Speed: Operating Current: - DC 32 MHz oscillator/clock input -7.0 A 32 kHz, 1.8V, typical - DC 125 ns instruction cycle -35 A/MHz, 1.8V, typical Up to 16K x 14 Words of Flash Program Memory Timer1 Oscillator Current: Up to 1024 Bytes of Data Memory (RAM) - 600 nA 32 kHz, 1.8V, typical Interrupt Capability with Automatic Context Low-Power Watchdog Timer Current: Saving - 500 nA 1.8V, typical 16-Level Deep Hardware Stack Peripheral Features Direct, Indirect and Relative Addressing modes Processor Read Access to Program Memory 54 I/O Pins (One Input-only pin): - High-current source/sink for direct LED drive Special Microcontroller Features - Individually programmable Interrupt-on-pin change pins Precision Internal Oscillator: - Individually programmable weak pull-ups - Factory-calibrated to 1%, typical Integrated LCD Controller: - Software-selectable frequency range from - Up to 184 segments 32 MHz to 31 kHz - Variable clock input Power-Saving Sleep mode - Contrast control Power-on Reset (POR) - Internal voltage reference selections Power-up Timer (PWRT) and Oscillator Start-up Capacitive Sensing (CSM) Module (mTouch ): Timer (OST) - 17 selectable channels Brown-out Reset (BOR): A/D Converter: - Selectable between two trip points - 10-bit resolution and 17 channels - Disable in Sleep option - Selectable 1.024/2.048/4.096V voltage Multiplexed Master Clear with Pull-up/Input Pin reference Programmable Code Protection Timer0: 8-Bit Timer/Counter with 8-Bit High Endurance Flash/EEPROM cell: Programmable Prescaler - 100,000 write Flash endurance Enhanced Timer1: - 1,000,000 write EEPROM endurance - Dedicated low-power 32 kHz oscillator driver - Flash/Data EEPROM retention: > 40 years - 16-bit timer/counter with prescaler Wide Operating Voltage Range: - External Gate Input mode with toggle and - 1.8V-5.5V (PIC16F1946/47) single shot modes - 1.8V-3.6V (PIC16LF1946/47) - Interrupt-on-gate completion Timer2, 4, 6: 8-Bit Timer/Counter with 8-Bit Period Register, Prescaler and Postscaler Two Capture, Compare, PWM Modules (CCP): - 16-bit Capture, max. resolution 125 ns - 16-bit Compare, max. resolution 125 ns - 10-bit PWM, max. frequency 31.25 kHz Three Enhanced Capture, Compare, PWM Modules (ECCP): - Three PWM time-base options - Auto-shutdown and auto-restart - PWM steering - Programmable dead-band delay 2010-2016 Microchip Technology Inc. DS40001414E-page 1PIC16(L)F1946/47 Peripheral Features (Continued) Two Master Synchronous Serial Ports (MSSPs) 2 with SPI and I C with: - 7-bit address masking TM - SMBus/PMBus compatibility - Auto-wake-up on start Two Enhanced Universal Synchronous: Asynchronous Receiver Transmitters (EUSARTs) - RS-232, RS-485 and LIN compatible - Auto-Baud Detect SR Latch (555 Timer): - Multiple Set/Reset input options - Emulates 555 Timer applications Three Comparators: - Rail-to-rail inputs/outputs - Power mode control - Software enable hysteresis Voltage Reference Module: - Fixed Voltage Reference (FVR) with 1.024V, 2.048V and 4.096V output levels - 5-bit rail-to-rail resistive DAC with positive and negative reference selection PIC16(L)F193X/194X Family Types Device (3) PIC16(L)F1933 (1) 4096 256 256 25 11 8 2 4/1 1 1 3 2 4/16/60 I/H Y PIC16(L)F1934 (2) 4096 256 256 36 14 16 2 4/1 1 1 3 2 4/24/96 I/H Y (3) PIC16(L)F1936 (2) 8192 256 512 25 11 8 2 4/1 1 1 3 2 4/16/60 I/H Y PIC16(L)F1937 (2) 8192 256 512 36 14 16 2 4/1 1 1 3 2 4/24/96 I/H Y (3) PIC16(L)F1938 (3) 16384 256 1024 25 11 8 2 4/1 1 1 3 2 4/16/60 I/H Y PIC16(L)F1939 (3) 16384 256 1024 36 14 16 2 4/1 1 1 3 2 4/24/96 I/H Y PIC16(L)F1946 (4) 8192 256 512 54 17 17 3 4/1 2 2 3 2 4/46/184 I Y PIC16(L)F1947 (4) 16384 256 1024 54 17 17 3 4/1 2 2 3 2 4/46/184 I Y Note 1: I Debugging, Integrated on Chip H Debugging, Requires Debug Header. 2: One pin is input-only. 3: COM3 and SEG15 share the same physical pin, therefore SEG15 is not available when using 1/4 multiplex displays. Data Sheet Index: (Unshaded devices are described in this document.) 1: DS41575 PIC16(L)F1933 Data Sheet, 28-Pin Flash, 8-bit Microcontrollers. 2: DS41364 PIC16(L)F1934/6/7 Data Sheet, 28/40/44-Pin Flash, 8-bit Microcontrollers. 3: DS40001574 PIC16(L)F1938/9 Data Sheet, 28/40/44-Pin Flash, 8-bit Microcontrollers. 4: DS41414 PIC16(L)F1946/1947 Data Sheet, 64-Pin Flash, 8-bit Microcontrollers. DS40001414E-page 2 2010-2016 Microchip Technology Inc. Data Sheet Index Program Memory Flash (words) Data EEPROM (bytes) Data SRAM (bytes) (2) I/Os 10-bit ADC (ch) CapSense (ch) Comparators Timers (8/16-bit) EUSART 2 MSSP (I C/SPI) ECCP CCP LCD (Com/Seg/Total) (1) Debug XLP