PIC16(L)F1946/47
64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with
LCD Driver and XLP Technology
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
PIC16LF1946/47 Low-Power Features
• Standby Current:
- 60 nA @ 1.8V, typical
• Operating Current:
- 7.0
A
@ 32 kHz, 1.8V, typical
- 35
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
• 54 I/O Pins (One 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 184 segments
- Variable clock input
- Contrast control
- Internal voltage reference selections
• Capacitive Sensing (CSM) Module (mTouch
®
):
- 17 selectable channels
• A/D Converter:
- 10-bit resolution and 17 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):
- Three 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
• High Endurance Flash/EEPROM cell:
- 100,000 write Flash endurance
- 1,000,000 write EEPROM endurance
- Flash/Data EEPROM retention: > 40 years
• Wide Operating Voltage Range:
- 1.8V-5.5V (PIC16F1946/47)
- 1.8V-3.6V (PIC16LF1946/47)
2010-2016 Microchip Technology Inc.
DS40001414E-page 1
PIC16(L)F1946/47
Peripheral Features (Continued)
• Two Master Synchronous Serial Ports (MSSPs)
with SPI and I
2
C with:
- 7-bit address masking
- SMBus/PMBus
TM
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
LCD (Com/Seg/Total)
Program Memory
Flash (words)
Data Sheet Index
10-bit ADC (ch)
MSSP (I
2
C/SPI)
CapSense (ch)
Data EEPROM
(bytes)
Comparators
Data SRAM
(bytes)
Timers
(8/16-bit)
EUSART
Debug
(1)
I/Os
(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
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)
I/H
PIC16(L)F1936 (2) 8192
256
512 25 11
8
2
4/1
1
1
3
2 4/16/60
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)
I/H
PIC16(L)F1938 (3) 16384 256 1024 25 11
8
2
4/1
1
1
3
2 4/16/60
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.)
PIC16(L)F1933 Data Sheet, 28-Pin Flash, 8-bit Microcontrollers.
1:
DS41575
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.
XLP
PIC16(L)F1946/47
Pin Diagram – 64-Pin TQFP/QFN
(
PIC16(L)F1946/47)
64-pin TQFP, QFN
RE2
RE3
RE4
RE5
RE6
RE7
RD0
V
DD
V
SS
RD1
RD2
RD3
RD4
RD5
RD6
RD7
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
RE1
RE0
RG0
RG1
RG2
RG3
V
PP
/MCLR/RG5
RG4
V
SS
V
DD
RF7
RF6
RF5
RF4
RF3
RF2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
RB0
RB1
RB2
RB3
RB4
RB5
RB6
V
SS
RA6
RA7
V
DD
RB7
RC5
RC4
RC3
RC2
PIC16(L)F1946/47
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
RF1
RF0
AV
DD
AV
SS
RA3
RA2
RA1
RA0
V
SS
V
DD
RA5
RA4
RC1
RC0
RC6
RC7
Note 1:
2:
3:
Pin location selected by APFCON register setting. Default location.
Pin function can be moved using the APFCON register. Alternate location.
QFN package orientation is the same. No leads are present on the QFN package.
Note:
AV
DD
and AV
SS
are dedicated power connection pins for the on-board analog circuits of the PIC
®
microcontroller. The separate power pins help eliminate digital switching noise interference with the analog
circuitry inside the device, especially on larger devices with more I/O pins and larger switching currents on
the V
DD
/V
SS
pins. Customers typically connect these to the appropriate V
DD
or V
SS
connections on the
PCB, unless there is a lot of noise on the external power rails. In those situations, they will add additional
noise filtering components (like capacitors) on the AV
DD
/AV
SS
pins to help ensure good solid supply to the
analog modules inside the device.
2010-2016 Microchip Technology Inc.
DS40001414E-page 3