PIC16(L)F1764/5/8/9
14/20-Pin, 8-Bit Flash Microcontroller Product Brief
Description:
PIC16(L)F176X microcontrollers combine intelligent analog integration with digital peripherals to suit a variety of
functions and end equipment. These 14/20-pin devices provide features like 10-bit A/D, op amps, zero-cross detect,
high current IOs, communication, peripheral pin select and other key peripherals that make this family appealing in
applications looking for design flexibility.
Core Features:
• C Compiler Optimized RISC Architecture
• Only 49 Instructions
• Operating Speed:
- DC – 32 MHz clock input
- 125 ns minimum instruction cycle
• Interrupt Capability
• 16-Level Deep Hardware Stack
• Up to Four 8-Bit Timers
• Up to Three 16-Bit Timers
• Power-on Reset (POR)
• Configurable Power-up Timer (PWRT)
• Brown-out Reset (BOR) with Selectable Trip Point
• Extended Watchdog Timer (EWDT):
- Low-power 31 kHz WDT
- Software-selectable prescaler
- Software-selectable enable
Digital Peripherals:
• Configurable Logic Cell (CLC):
- Up to three CLCs; up to four selected inputs
- Integrated combinational and state logic
• Up to Two Complementary Output Generators
(COG):
- Push-Pull, Full-Bridge and Steering modes
• Up to Two Capture/Compare/PWM (CCP)
modules
• Pulse-Width Modulators (PWM):
- Up to two 10-bit PWMs
- Up to two 16-bit PWMs
• Peripheral Pin Select (PPS):
- Configure any digital pin to output
• Serial Communications:
- Enhanced USART (EUSART)
- SPI, I
2
C™, RS-232, RS-485, LIN compatible
- Auto-Baud Detect, auto-wake-up on start
• Up to 18 I/O Pins:
- Individually programmable pull-ups
- Slew rate control
- Interrupt-on-change with edge-select
• Up to Two Data Signal Modulators (DSM)
Memory:
•
•
•
•
Up to 14 KB Flash Program Memory
Up to 1024 Bytes Data RAM Memory
Direct, Indirect and Relative Addressing modes
High Endurance Flash (HEF)
- 128B of nonvolatile data storage
- 100K Erase/Write cycles
Intelligent Analog Peripherals:
• 10-Bit Analog-to-Digital Converter (ADC):
- Up to 12 external channels
- Conversion available during Sleep
• Up to Two Operational Amplifiers (OPA):
- Selectable internal and external channels
- High and low GBWP operating modes
• Up to Four Fast Comparators (COMP):
- Low-Power/High-Speed mode
- Up to five external inverting inputs
- Up to eight external non-inverting inputs
- Fixed Voltage Reference at non-inverting
input(s)
- Comparator outputs externally accessible
• Digital-to-Analog Converters (DAC):
- Up to two 10-bit resolution DACs
- Up to two 5-bit resolution DACs
Operating Characteristics:
• Operating Voltage Range:
- 1.8V to 3.6V (PIC16LF176X)
- 2.3V to 5.5V (PIC16F176X)
• Temperature Range:
- Industrial: -40°C to 85°C
- Extended: -40°C to 125°C
eXtreme Low-Power (XLP) Features:
•
•
•
•
Sleep mode: 50 nA @ 1.8V, typical
Watchdog Timer: 500 nA @ 1.8V, typical
Secondary Oscillator 500 nA @ 32 kHz
Operating Current:
- 8 uA @ 32 kHz, 1.8V, typical
- 32 uA/MHz @ 1.8V, typical
• Low-Power BOR (LPBOR):
- 200 nA in Sleep
2014 Microchip Technology Inc.
Advance Information
DS40001751A-page 1
PIC16(L)F1764/5/8/9
• Voltage Reference:
- Fixed Voltage Reference (FVR): 1.024V,
2.048V and 4.096V output levels
• Zero-Cross Detector (ZCD):
- Detect high voltage AC signal
• Programmable Ramp Generator (PRG)
- Slope compensation
- Ramp generation
• High Current Drive I/Os:
- 100 mA capacity
- Low voltage
Clocking Structure:
• 16 MHz Internal Oscillator:
- ±1% at calibration
- Selectable frequency range 32 MHz to 31
kHz
• 31 kHz Low-Power Internal Oscillator
• 4x Phase-Locked Loop (PLL):
- For up to 32 MHz internal operation
• External Oscillator Block with:
- Three external clock modes up to 32 MHz
TABLE 1:
PIC16(L)F1764/5/8/9 FAMILY TYPES
High-Endurance Flash (B)
Programmable Ramp Gen
Program Memory Flash
(words)
Peripheral Pin Select
Data SRAM (bytes)
Zero-Cross Detect
High Current I/Os
Data Sheet Index
10-bit ADC (ch)
10/16-bit PWM
8/16-bit Timer
5/10-bit DAC
Comparator
I
2
C™/SPI
1
1
1
1
EUSART
Device
PIC16(L)F1764
PIC16(L)F1765
PIC16(L)F1768
PIC16(L)F1769
(A)
(A)
(B)
(B)
4096
8192
4096
8192
128
128
128
128
512
1024
512
1024
12
12
18
18
4/3
4/3
4/3
4/3
2
2
4
4
8
8
12
12
1/1
1/1
2/2
2/2
1
1
2
2
1/1
1/1
2/2
2/2
1
1
2
2
1
1
2
2
3
3
3
3
1
1
2
2
1
1
1
1
1
1
2
2
2
2
2
2
Y
Y
Y
Y
1
1
1
1
Note 1:
Debugging Methods: (I) – Integrated on Chip; (H) – via ICD header; E – Emulation Product.
Data Sheet Index:
A.
Future Release
PIC16(L)F1764/5 Data Sheet, 14-Pin, 8-bit Flash Microcontrollers.
B.
Future Release
PIC16(L)F1768/9 Data Sheet, 20-Pin, 8-bit Flash 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.
TABLE 2:
PIC16(L)F1764
PIC16(L)F1765
PIC16(L)F1768
PIC16(L)F1769
Note:
PACKAGES
PDIP
X
X
X
X
SOIC
X
X
X
X
TSSOP
X
X
QFN
X
X
X
X
X
X
SSOP
Packages
Pin details are subject to change.
DS40001751A-page 2
Advance Information
2014 Microchip Technology Inc.
Debug
(1)
I/H
I/H
I/H
I/H
Op Amp
I/O Pins
COG
DSM
CCP
CLC
PIC16(L)F1764/5/8/9
PIN DIAGRAMS
FIGURE 1:
14-PIN PDIP, SOIC, TSSOP
V
DD
1
PIC16(L)F1764
PIC16(L)F1765
RA5 2
RA4 3
MCLR/V
PP
/RA3
RC5
4
5
14
13
12
11
10
9
8
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
RC4 6
RC3 7
Note:
See
Table 3
for location of all peripheral functions.
FIGURE 2:
16-PIN QFN (4x4)
V
DD
V
SS
12 RA0
11 RA1
10 RA2
9 RC0
5
RC4
6
RC3
7
RC2
8
RC1
NC
NC
16 15 14 13
RA5 1
RA4 2
PIC16(L)F1764
MCLR/V
PP
/RA3 3
RC5 4
PIC16(L)F1765
Note:
See
Table 3
for location of all peripheral functions.
2014 Microchip Technology Inc.
Advance Information
DS40001751A-page 3
PIC16(L)F1764/5/8/9
FIGURE 3:
20-PIN PDIP, SOIC, SSOP
V
DD
1
RA5 2
RA4 3
PIC16(L)F1768
PIC16(L)F1769
20 V
SS
19 RA0
18 RA1
17 RA2
16 RC0
15 RC1
14 RC2
13 RB4
12 RB5
11 RB6
MCLR/V
PP
/RA3 4
RC5 5
RC4 6
RC3 7
RC6 8
RC7 9
RB7 10
Note:
See
Table 4
for location of all peripheral functions.
FIGURE 4:
20-PIN QFN (4x4)
RA5
RA4
RA0
15 RA1
PIC16(L)F1768
PIC16(L)F1769
14 RA2
13 RC0
12 RC1
11 RC2
6
RC7
7
RB7
8
RB6
9 10
RB5
RB4
V
DD
V
SS
20 19 18 17 16
MCLR/V
PP
/RA3 1
RC5 2
RC4 3
RC3 4
RC6 5
Note:
See
Table 4
for location of all peripheral functions.
DS40001751A-page 4
Advance Information
2014 Microchip Technology Inc.
PIN ALLOCATION TABLES
TABLE 3:
14-Pin PDIP/SOIC/TSSOP
2014 Microchip Technology Inc.
14-PIN AND 16-PIN ALLOCATION TABLE (PIC16(L)F1764 AND PIC16(L)F1765)
Ramp Generator
Comparator
16-Pin QFN
Zero Cross
Hi Current
Reference
Interrupts
EUSART
Pull-ups
Op Amp
Timers
MSSP
RA0
13
12
AN0
V
REF
-
DAC1REF-
DAC2REF-
V
REF
+
DAC1REF+
DAC2REF+
—
—
DAC1OUT1
DAC2OUT1
—
—
C1IN0+
C2IN0+
C1IN0-
C2IN0-
—
—
—
—
—
—
—
—
—
—
—
—
IOC
Y
—
ICSPDAT
RA1
12
11
AN1
—
—
—
—
—
—
—
—
—
—
—
IOC
Y
—
ICSPCLK
RA2
11
4
10
3
AN2
—
—
—
—
—
ZCD
—
—
—
T0CKI
(1)
T6CKI
(1)
—
—
—
—
COG1IN
(1)
—
—
—
—
DSM1CH
(1)
—
—
—
—
INT
(1)
IOC
IOC
Y
Y
—
—
—
V
PP
MCLR
ICD
OSC2
CLKOUT
OSC1
CLKIN
—
RA3
RA4
RA5
3
2
2
1
AN3
—
—
—
—
—
—
—
—
—
—
—
—
—
T1G
(1)
SOSCO
T1CKI
(1)
T2CKI
(1)
SOSCI
T5CKI
(1)
T4CKI
(1)
—
T5G
(1)
T3G
(1)
T3CKI
(1)
—
—
—
—
—
—
—
—
—
—
—
—
—
CLCIN3
(1)
DSM1CL
(1)
DSM1MOD
(1)
—
—
—
—
IOC
IOC
Y
Y
—
—
RC0
RC1
RC2
RC3
RC4
RC5
V
DD
V
SS
OUT
(2)
10
9
8
7
6
5
1
14
—
—
—
—
9
8
7
6
5
4
16
13
—
—
—
—
AN4
AN5
AN6
AN7
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
OPA1IN+
OPA1IN-
OPA1OUT
—
—
—
—
—
—
—
—
—
C2IN0+
C1IN1-
C2IN1-
C1IN2-
C2IN2-
C1IN3-
C2IN3-
—
—
—
—
C1OUT
C2OUT
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
RG1IN0
—
RG1R
(1)
RG1F
(1)
—
—
—
—
—
—
—
—
—
—
—
—
—
—
PWM3OUT
PWM5OUT
—
—
—
—
—
—
—
CCP1
(1)
—
—
CCP1
—
—
—
—
—
—
—
—
—
—
—
COG1A
COG1B
COG1C
COG1D
—
CLCIN2
(1)
—
CLCIN0
(1)
CLCIN1
(1)
—
—
—
CLC1OUT
CLC2OUT
CLC3OUT
—
—
—
—
—
—
—
—
—
DSM1OUT
—
—
—
—
—
—
—
CK
(1)
RX
(1,3)
—
—
DT
(3)
TX
CK
—
SCL
(1)
SCK
(1,3)
SDI
(1)
SDA
(1,3)
—
SS
(1)
—
—
—
—
SDO
SDA
(3)
SCK
(3)
SCL
IOC
IOC
IOC
IOC
IOC
IOC
—
—
INT
—
—
—
Y
Y
Y
Y
Y
Y
—
—
—
—
—
—
—
—
—
—
Y
Y
—
—
—
—
—
—
Basic
PWM
COG
DSM
ADC
DAC
CCP
CLC
I/O
Advance Information
DS40001751A-page 5
PIC16(L)F1764/5/8/9
—
—
—
—
—
V
DD
V
SS
—
—
—
—
Note
1:
2:
3:
Default peripheral input. Input can be moved to any other pin with the PPS input selection register.
All pin outputs default to PORT latch data. Any pin can be selected as a digital peripheral output with the PPS output selection registers.
These peripheral functions are bidirectional. The output pin selections must be the same as the input pin selections.