PIC16(L)F1938/9
28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with
LCD Driver
High-Performance RISC CPU:
• Only 49 Instructions to Learn:
- All single-cycle instructions except branches
• Operating Speed:
- DC – 32 MHz oscillator/clock input
- DC – 125 ns instruction cycle
• Up to 16K x 14 Words of Flash Program Memory
• Up to 1024 Bytes of Data Memory (RAM)
• Interrupt Capability with automatic context saving
• 16-Level Deep Hardware Stack
• Direct, Indirect and Relative Addressing modes
• Processor Read Access to Program Memory
• Pinout Compatible to other 28/40-pin PIC16CXXX
and PIC16FXXX Microcontrollers
PIC16LF193X Low-Power Features:
• Standby Current:
- 60 nA @ 1.8V, typical
• Operating Current:
- 43
A/MHz
@ 1.8V, typical
• Timer1 Oscillator Current:
- 600 nA @ 32 kHz, 1.8V, typical
• Low-Power Watchdog Timer Current:
- 500 nA @ 1.8V, typical
Peripheral Features:
• Up to 35 I/O Pins and 1 Input-only pin:
- High-current source/sink for direct LED drive
- Individually programmable Interrupt-on-pin
change pins
- Individually programmable weak pull-ups
• Integrated LCD Controller:
- Up to 96 segments
- Variable clock input
- Contrast control
- Internal voltage reference selections
• Capacitive Sensing module (mTouch
TM
):
- Up to 16 selectable channels
• A/D Converter:
- 10-bit resolution and up to 14 channels
- Selectable 1.024/2.048/4.096V voltage
reference
• Timer0: 8-Bit Timer/Counter with 8-Bit
Programmable Prescaler
• Enhanced Timer1:
- Dedicated low-power 32 kHz oscillator driver
- 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
Special Microcontroller Features:
• Precision Internal Oscillator:
- Factory calibrated to ±1%, typical
- Software selectable frequency range from
32 MHz to 31 kHz
• Power-Saving Sleep mode
• Power-on Reset (POR)
• Power-up Timer (PWRT) and Oscillator Start-up
Timer (OST)
• Brown-out Reset (BOR):
- Selectable between two trip points
- Disable in Sleep option
• Multiplexed Master Clear with Pull-up/Input Pin
• Programmable Code Protection
• Wide Operating Voltage Range:
- 1.8V-5.5V (PIC16F193X)
- 1.8V-3.6V (PIC16LF193X)
2011-2013 Microchip Technology Inc.
DS40001574C-page 1
PIC16(L)F1938/9
Peripheral Features (Continued):
• Master Synchronous Serial Port (MSSP) with SPI
and I
2
C
TM
with:
- 7-bit address masking
- SMBus/PMBus
TM
compatibility
- Auto-wake-up on start
• Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART):
- RS-232, RS-485 and LIN compatible
- Auto-Baud Detect
• SR Latch (555 Timer):
- Multiple Set/Reset input options
- Emulates 555 Timer applications
• 2 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
LCD (Com/Seg/Total)
Program Memory
Flash (words)
MSSP (I
2
C™/SPI)
Data Sheet Index
Cap Sense (ch)
10-bit ADC (ch)
Data EEPROM
(bytes)
Comparators
Data SRAM
(bytes)
Timers
(8/16-bit)
EUSART
Debug
(1)
I/O’s
(2)
ECCP
CCP
Device
PIC16(L)F1933 (1) 4096
256
256 25 11
8
2
4/1
1
1
3
2 4/16/60
(3)
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
PIC16(L)F1936 (2) 8192
256
512 25 11
8
2
4/1
1
1
3
2 4/16/60
(3)
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
PIC16(L)F1938 (3) 16384 256 1024 25 11
8
2
4/1
1
1
3
2 4/16/60
(3)
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
http://www.microchip.com/packaging
or contact your local sales office.
DS40001574C-page 2
2011-2013 Microchip Technology Inc.
XLP