PIC16(L)F1773/6
28-Pin, 8-Bit Flash Microcontroller
Description
PIC16(L)F1773/6 microcontrollers feature a high level of integration of intelligent analog and digital peripherals for a
wide range of applications, such as lighting, power supplies, battery charging, motor control and other general purpose
applications. These devices deliver multiple op amps, 5-/10-bit DACs, high-speed comparators, 10-bit ADC, 10-/16-bit
PWMs, programmable ramp generator (PRG) and other peripherals that can be connected internally to create closed-
loop systems without using pins or the printed circuit board (PCB) area. The 10-/16-bit PWMs, digital signal modulators
and tri-state output op amp can be used together to create a LED dimming engine for lighting applications. The
peripheral pin select (PPS) functionality provides flexibility, eases PCB layout and peripheral utilization by allowing
digital peripheral pin mapping to an I/O.
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
• Five 8-Bit Timers
• Three 16-Bit Timers
• Low-Current 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
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 @ 31 kHz, 1.8V, typical
- 32 uA/MHz @ 1.8V, typical
Intelligent Analog Peripherals
• 10-Bit Analog-to-Digital Converter (ADC):
- Up to 28 external channels
- Conversion available during Sleep
• Three Operational Amplifiers (OPA):
- Selectable internal and external channels
- Tri-state output
- Part of LED dimming engine
- Selectable internal and external channels
• Six High-Speed Comparators (HS Comp):
- Up to nine external inverting inputs
- Up to 12 external non-inverting inputs
- Fixed Voltage Reference at inverting and
non-inverting input(s)
- Comparator outputs externally accessible
• Digital-to-Analog Converters (DAC):
- Three 10-bit resolution DACs
- 10-bit resolution, rail-to-rail
- Conversion during Sleep
- Internal connections to ADCs and HS
Comparators
• Voltage Reference:
- Fixed Voltage Reference (FVR)
- 1.024V, 2.048V and 4.096V output levels
• Zero-Cross Detector (ZCD):
- Detect high-voltage AC signal
• Three Programmable Ramp Generators (PRG):
- Slope compensation
- Ramp generation
• High-Current Drive I/Os:
- Up to 100 mA sink or source @ 5V
Memory
•
•
•
•
Up to 28 Kbytes Program Flash Memory (PFM)
Up to 2 Kbytes Data RAM
Direct, Indirect and Relative Addressing modes
High-Endurance Flash (HEF):
- 128B of nonvolatile data storage
- 100K Erase/Write cycles
Operating Characteristics
• Operating Voltage Range:
- 1.8V to 3.6V (PIC16LF1773/6)
- 2.3V to 5.5V (PIC16F1773/6)
• Temperature Range:
- Industrial: -40°C to 85°C
- Extended: -40°C to 125°C
2015-2016 Microchip Technology Inc.
DS40001810B-page 1
PIC16(L)F1773/6
Digital Peripherals
• Four Configurable Logic Cells (CLC):
- Integrated combinational and state logic
• Three Complementary Output Generators (COG):
- Push-pull, Full-Bridge and Steering modes
• Three Capture/Compare/PWM (CCP) Modules
• Pulse-Width Modulator (PWM):
- Three 16-bit PWMs
- Independent timers
- Multiple output modes (Edge-, Center-
Aligned, set and toggle on register match)
- User settings for phase, duty cycle, period,
offset and polarity
- 16-bit timer capability
- Three 10-bit PWMs
• Digital Signal Modulator (DSM):
- Modulates a carrier signal with a digital data
to create custom carrier synchronized output
waveforms
- Part of LED dimming engine
• Peripheral Pin Select (PPS):
- I/O remapping of digital peripherals
• 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 25 I/O Pins:
- Individually programmable pull-ups
- Slew rate control
- Interrupt-on-change with edge-select
Clocking Structure
• Precision 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)F1773/6/7/8/9 FAMILY TYPES
Programmable Ramp Gen
High Endurance Flash (B)
High-Speed Comparator
Program Flash Memory
(bytes)
Program Flash Memory
(word)
Peripheral Pin Select
Data SRAM (Bytes)
8-Bit/16-Bit Timers
Zero Cross Detect
10-bit/16-bit PWM
High-Current I/Os
Data Sheet Index
10-bit ADC (ch)
5/10-bit DAC
I/O Pins
(1)
EUSART
Device
PIC16(L)F1773
PIC16(L)F1776
PIC16(L)F1777
PIC16(L)F1778
PIC16(L)F1779
Note 1:
2:
A:
B:
(A)
(A)
(B)
(B)
(B)
7K
14K
14K
28K
28K
4K
8K
8K
16K
16K
128
128
128
128
128
512
1K
1K
2K
2K
25
25
36
25
36
5/3
5/3
5/3
5/3
5/3
6
6
8
6
8
17
17
28
17
28
3/3
3/3
4/4
3/3
4/4
3
3
4
3
4
3/3
3/3
4/4
3/3
4/4
3
3
4
3
4
4
4
4
4
4
3
3
4
3
4
1
1
1
1
1
3
3
4
3
4
2
2
2
2
2
Y
Y
Y
Y
Y
1
1
1
1
1
1
1
1
1
1
I/H
I/H
I/H
I/H
I/H
One pin is input-only.
I – Debugging integrated on chip; H – Debugging via ICD header.
DS40001810
Future Release
PIC16(L)F1773/6 Data Sheet, 28-Pin, 8-bit Flash Microcontrollers
PIC16(L)F1777/8/9 Data Sheet, 28/40/44-Pin, 8-bit Flash Microcontrollers
Data Sheet Index:
Note:
For other small form-factor package availability and marking information, please visit
http://www.microchip.com/packaging
or contact your local sales office.
DS40001810B-page 2
2015-2016 Microchip Technology Inc.
Debug
(2)
Op Amp
I
2
C/SPI
COG
CCP
CLC
PIC16(L)F1773/6
TABLE 2:
PIC16(L)F1773
PIC16(L)F1776
PACKAGES
SPDIP
PDIP
SOIC
SSOP
UQFN
TQFP
Packages
Note:
Pin details are subject to change.
2015-2016 Microchip Technology Inc.
DS40001810B-page 3
PIC16(L)F1773/6
PIN DIAGRAMS
FIGURE 1:
28-PIN SPDIP, SOIC, SSOP
V
PP
/MCLR/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
RC0
RC1
RC2
RC3
1
2
3
4
5
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
RC6
RC5
RC4
6
7
8
9
10
11
12
13
14
Note:
See
Table 3
for location of all peripheral functions.
FIGURE 2:
28-PIN UQFN (6x6x0.5 mm)
RA1
RA0
RE3/MCLR/V
PP
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
28 27 26 25 24 23 22
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
1
2
3
PIC16(L)F1773/6
4
5
6
7
8 9 10 11 12 13 14
RC1
RC2
RC3
RC4
RC5
RC6
RC0
21
20
19
18
17
16
15
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
Note:
See
Table 3
for location of all peripheral functions.
PIC16(L)F1773/6
DS40001810B-page 4
2015-2016 Microchip Technology Inc.
PIC16(L)F1773/6
PIN ALLOCATION TABLES
TABLE 3:
28-Pin SPDIP/SOIC/SSOP
28-PIN ALLOCATION TABLE (PIC16(L)F1773/6)
Voltage Reference
28-Pin UQFN
Comparator
Interrupt
Op Amp
Timer
RA0
2
27
—
—
AN0
—
C1IN0-
C2IN0-
C3IN0-
C4IN0-
C5IN0-
C6IN0-
C1IN1-
C2IN1-
C3IN1-
C4IN1-
C1IN0+
C2IN0+
C3IN0+
C4IN0+
C5IN0+
C6IN0+
C1IN1+
—
—
—
IOCA0
—
RA1
3
28
PRG1IN0
PRG2IN1
—
AN1
—
OPA1OUT
OPA2IN1+
OPA2IN1-
—
—
—
IOCA1
—
RA2
4
1
—
—
AN2
V
REF
-
DAC1REF0-
DAC2REF0-
DAC3REF0-
DAC4REF0-
DAC5REF0-
DAC7REF0-
DAC1REF0+
DAC2REF0+
DAC3REF0+
DAC4REF0+
DAC5REF0+
DAC7REF0+
—
—
—
—
HIB0
HIB1
DAC1OUT1
—
IOCA2
—
RA3
5
2
—
—
AN3
V
REF
+
—
—
—
IOCA3
—
RA4
RA5
RA6
RA7
RB0
RB1
6
7
10
9
21
22
3
4
7
6
18
19
—
—
—
—
—
PRG1IN1
PRG2IN0
—
—
—
—
ZCD
—
—
AN4
—
—
AN12
AN10
—
—
CLKOUT
C6IN1+
CLKIN
C2IN1+
C1IN3-
C2IN3-
C3IN3-
C4IN3-
—
C1IN2-
C2IN2-
C3IN2-
C3IN1+
C4IN2-
C4IN1+
C5IN1+
OPA1IN0+
OPA1IN0-
—
—
—
OPA2OUT
OPA1IN1+
OPA1IN1-
OPA2IN0-
OPA2IN0+
DAC4OUT1
DAC2OUT1
—
—
—
—
T0CKI
—
—
—
—
—
IOCA4
IOCA5
IOCA6
IOCA7
IOCB0
IOCB1
—
—
OSC2
OSC1
—
—
RB2
RB3
23
24
20
21
—
—
—
—
AN8
AN9
—
—
DAC3OUT1
—
—
—
IOCB2
IOCB3
—
—
RB4
RB5
RB6
RB7
25
26
27
28
22
23
24
25
—
—
—
—
—
—
—
—
AN11
AN13
—
—
—
DAC5REF1-
DAC7REF1-
DAC5REF1+
DAC7REF1+
—
—
—
—
—
—
—
—
DAC1OUT2
DAC2OUT2
DAC5OUT2
DAC3OUT2
DAC4OUT2
DAC7OUT2
DAC5OUT1
T5G
T1G
—
T6IN
IOCB4
IOCB5
IOCB6
IOCB7
—
—
ICSPCLK
ICDCLK
ICSPDAT
ICDDAT
RC0
11
8
—
—
—
—
—
—
T1CKI
T3CKI
T3G
—
IOCC0
—
RC1
12
9
—
—
—
—
—
—
DAC7OUT1
IOCC1
—
2015-2016 Microchip Technology Inc.
DS40001810B-page 5
Basic
PRG
ADC
DAC
ZCD
I/O