PIC16(L)F1938/9 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver High-Performance RISC CPU: PIC16LF193X 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 -43 A/MHz 1.8V, typical - DC 125 ns instruction cycle Timer1 Oscillator Current: Up to 16K x 14 Words of Flash Program Memory - 600 nA 32 kHz, 1.8V, typical Up to 1024 Bytes of Data Memory (RAM) Low-Power Watchdog Timer Current: Interrupt Capability with automatic context 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 Up to 35 I/O Pins and 1 Input-only pin: Pinout Compatible to other 28/40-pin PIC16CXXX - High-current source/sink for direct LED drive and PIC16FXXX Microcontrollers - Individually programmable Interrupt-on-pin change pins Special Microcontroller Features: - Individually programmable weak pull-ups Precision Internal Oscillator: Integrated LCD Controller: - Factory calibrated to 1%, typical - Up to 96 segments - Software selectable frequency range from - Variable clock input 32 MHz to 31 kHz - Contrast control Power-Saving Sleep mode - Internal voltage reference selections Power-on Reset (POR) TM ): Capacitive Sensing module (mTouch Power-up Timer (PWRT) and Oscillator Start-up - Up to 16 selectable channels Timer (OST) A/D Converter: Brown-out Reset (BOR): - 10-bit resolution and up to 14 channels - Selectable between two trip points - Selectable 1.024/2.048/4.096V voltage - Disable in Sleep option reference Multiplexed Master Clear with Pull-up/Input Pin Timer0: 8-Bit Timer/Counter with 8-Bit Programmable Code Protection Programmable Prescaler Wide Operating Voltage Range: Enhanced Timer1: - 1.8V-5.5V (PIC16F193X) - Dedicated low-power 32 kHz oscillator driver - 1.8V-3.6V (PIC16LF193X) - 16-bit timer/counter with prescaler - External Gate Input mode with toggle and single-shot modes - 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): - 3 PWM time-base options - Auto-shutdown and auto-restart - PWM steering - Programmable Dead-band Delay 2011-2013 Microchip Technology Inc. DS40001574C-page 1PIC16(L)F1938/9 2 Comparators: Peripheral Features (Continued): - Rail-to-rail inputs/outputs Master Synchronous Serial Port (MSSP) with SPI - Power mode control 2 TM and I C with: - Software enable hysteresis - 7-bit address masking Voltage Reference module: TM - SMBus/PMBus compatibility - Fixed Voltage Reference (FVR) with 1.024V, - Auto-wake-up on start 2.048V and 4.096V output levels Enhanced Universal Synchronous Asynchronous - 5-bit rail-to-rail resistive DAC with positive Receiver Transmitter (EUSART): and negative reference selection - RS-232, RS-485 and LIN compatible - Auto-Baud Detect SR Latch (555 Timer): - Multiple Set/Reset input options - Emulates 555 Timer applications 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/E Y PIC16(L)F1934 (2) 4096 256 256 36 14 16 2 4/1 1 1 3 2 4/24/96 I/H/E Y (3) PIC16(L)F1936 (2) 8192 256 512 25 11 8 2 4/1 1 1 3 2 4/16/60 I/H/E Y PIC16(L)F1937 (2) 8192 256 512 36 14 16 2 4/1 1 1 3 2 4/24/96 I/H/E Y (3) PIC16(L)F1938 (3) 16384 256 1024 25 11 8 2 4/1 1 1 3 2 4/16/60 I/H/E Y PIC16(L)F1939 (3) 16384 256 1024 36 14 16 2 4/1 1 1 3 2 4/24/96 I/H/E 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: Debugging Methods: (I) Integrated On-Chip (H) using Debug Header (E) using Emulation 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: DS41574 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. Note: For other small form-factor package availability and marking information, please visit