PIC16F753/HV753
14/16-Pin, Flash-Based 8-Bit CMOS Microcontrollers
High-Performance RISC CPU
• Only 35 Instructions to Learn:
- All single-cycle instructions except branches
• Operating Speed:
- DC – 20 MHz clock input
- DC – 200 ns instruction cycle
• 2048 x 14 On-chip Flash Program Memory
• Self-Read/Write Program Memory
• 128 x 8 General Purpose Registers (SRAM)
• Interrupt Capability
• 8-Level Deep Hardware Stack
• Direct, Indirect and Relative Addressing modes
eXtreme Low-Power (XLP) Features
• Sleep Current:
- 50 nA @ 2.0V, typical
• Operating Current:
- 11 uA @ 32 kHz, 2.0V, typical
- 260 uA @ 4 MHz, 2.0V, typical
• Watchdog Timer Current:
• <1 uA @ 2.0V, typical
Peripheral Features
• 11 I/O Pins and one Input-only Pin
• High Current Source/Sink:
- 50 mA I/O, (two pins)
- 25 mA I/O, (nine pins)
• Two High-Speed Analog Comparator modules:
- 50 ns response time
- Fixed Voltage Reference (FVR)
- Programmable on-chip voltage reference via
integrated 9-bit DAC
- Internal/external inputs and outputs
(selectable)
- Built-in Hysteresis (software selectable)
• A/D Converter:
- 10-bit resolution
- Eight external channels
- Two internal reference voltage channels
• Operational Amplifier:
- Three terminal operations
- Internal connections to DAC and FVR
• Digital-to-Analog Converter (DAC):
- 9-bit resolution
- Full Range output
- 4 mV steps @ 2.0V (Limited Range)
• Fixed Voltage Reference (FVR), 1.2V Reference
• Capture, Compare, PWM (CCP) module:
- 16-bit Capture, max. resolution = 12.5 ns
- 16-bit Compare, max. resolution = 200 ns
- 10-bit PWM, max. frequency = 20 kHz
• Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler
• Enhanced Timer1:
- 16-bit Timer/Counter with Prescaler
- External Timer1 Gate (count enable)
- Four Selectable Clock sources
• Timer2: 8-Bit Timer/Counter with Prescaler
- 8-Bit Period Register and Postscaler
• Two Hardware Limit Timers (HLT):
- 8-bit Timer with Prescaler
- 8-bit period register and postscaler
- Asynchronous H/W Reset sources
Microcontroller Features
• Precision Internal Oscillator:
- Factory calibrated to ±1%, typical
- Software selectable frequency:
8 MHz, 4 MHz, 1 MHz or 31 kHz
- Software tunable
• Power-Saving Sleep mode
• Voltage Range (PIC16F753):
- 2.0V to 5.5V
• Shunt Voltage Regulator (PIC16HV753):
- 2.0V to user defined
- 5-volt regulation
- 1 mA to 50 mA shunt range
• Multiplexed Master Clear with Pull-up/Input Pin
• Interrupt-on-Change Pins
• Individually Programmable Weak Pull-ups
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Brown-out Reset (BOR)
• Watchdog Timer (WDT) with Internal Oscillator for
Reliable Operation
• Industrial and Extended Temperature Range
• High Endurance Flash:
- 100,000 write Flash endurance
- Flash retention: >40 years
• Programmable Code Protection
• In-Circuit Debug (ICD) via Two Pins
• In-Circuit Serial Programming™ (ICSP™) via Two
Pins
2013-2016 Microchip Technology Inc.
DS40001709D-page 1
PIC16F753/HV753
• Complementary Output Generator (COG):
- Complementary Waveforms from selectable
sources
- Two I/O (50 mA) for direct MOSFET drive
- Rising and/or Falling edge dead-band control
- Phase control, Blanking control
- Auto-shutdown
- Slope Compensation Circuit for use with
SMPS power supplies
TABLE 1:
PIC16F753/HV753 FAMILY TYPES
Program Memory
Flash (words)
Complementary
Output Generator
(COG)
Data Sheet Index
Shunt Regulator
Self-Read/Write
Flash Memory
10-bit ADC (ch)
Comparators
Data SRAM
(bytes)
Timers
(8/16-bit)
Debug
(1)
H
H
I/H
I/H
Op Amp
I/Os
(2)
DAC
CCP
Device
PIC12F752
PIC12HV752
PIC16F753
PIC16HV753
(1)
(1)
(2)
(2)
1K
1K
2K
2K
Y
Y
Y
Y
64
64
128
128
6
6
12
12
4
4
8
8
2
2
2
2
3/1
3/1
3/1
3/1
1
1
1
1
Y
Y
Y
Y
5-bit
5-bit
9-bit
9-bit
N
N
Y
Y
N
Y
N
Y
Note 1:
I - Debugging, Integrated on Chip; H - Debugging, Requires Debug Header.
2:
One pin is input-only.
Data Sheet Index:
(Unshaded devices are described in this document.)
1:
DS40001576
PIC12F752/HV752 Data Sheet, 8-Pin Flash-Based, 8-Bit CMOS Microcontrollers.
2:
DS40001709
PIC16F753/HV753 Data Sheet, 14/16-Pin Flash-based, 8-Bit CMOS 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.
FIGURE 1:
14-PIN PDIP, SOIC, TSSOP DIAGRAM
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
1
PIC16F753/HV753
2
3
4
5
6
7
14
13
12
11
10
9
8
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
Note:
See
Table 2
for location of all peripheral functions.
DS40001709D-page 2
2013-2016 Microchip Technology Inc.
XLP
Y
Y
Y
Y
PIC16F753/HV753
FIGURE 2:
16-PIN QFN (4X4) DIAGRAM
V
DD
NC
NC
V
SS
16 15 14 13
RA5
RA4
MCLR/V
PP
/RA3
RC5
1
12
2
PIC16F753/HV753
11
3
10
4
9
5 6 7 8
RC4
RC3
RC2
RC1
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
Note:
See
Table 2
for location of all peripheral functions.
TABLE 2:
14-Pin PDIP/SOIC/TSSOP
14/16-PIN ALLOCATION TABLE FOR PIC16F753/HV753
Slope Compensation
Comparator
16-Pin QFN
Reference
Interrupt
Op Amp
Pull-up
Timer
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC2
RC3
RC4
RC5
V
DD
V
SS
Note 1:
2:
13
12
11
4
3
2
10
9
8
7
6
5
1
14
12
11
10
3
2
1
9
8
7
6
5
4
16
13
AN0
AN1
AN2
—
AN3
—
AN4
AN5
AN6
AN7
—
—
—
—
FVROUT
DACOUT
V
REF
+
FVRIN
COG1FLT
—
—
—
—
—
—
—
COG1OUT1
COG1OUT0
—
—
—
—
—
—
—
—
OPA1IN+
OPA1IN-
OPA1OUT
—
—
—
—
—
C1IN0+
C1IN0-
C2IN0-
C1OUT
—
—
—
C2IN0+
C1IN1-
C2IN1-
C1IN2-
C2IN2-
C1IN3-
C2IN3-
C2OUT
—
—
—
—
—
T0CKI
T1G
(2)
T1G
(1)
T1CKI
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
CCP1
—
—
IOC
IOC
INT
IOC
IOC
IOC
IOC
IOC
IOC
IOC
IOC
IOC
IOC
—
—
Y
Y
Y
Y
Y
Y
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
SLPCIN
—
—
—
—
—
ICSPDAT
ICSPCLK
—
MCLR/
V
PP
CLKOUT
CLKIN
—
—
—
—
—
—
V
DD
V
SS
Default location for peripheral pin function. Alternate location can be selected using the APFCON register.
Alternate location for peripheral pin function selected by the APFCON register.
2013-2016 Microchip Technology Inc.
DS40001709D-page 3
Basic
ADC
CCP
I/O
PIC16F753/HV753
Table of Contents
1.0
Device Overview
.......................................................................................................................................................................... 6
2.0
Memory Organization
................................................................................................................................................................... 9
3.0
Flash Program Memory Self-Read/Self-Write Control................................................................................................................
25
4.0
Oscillator Module........................................................................................................................................................................
34
5.0
I/O Ports
..................................................................................................................................................................................... 39
6.0
Timer0 Module............................................................................................................................................................................
54
7.0
Timer1 Module with Gate Control...............................................................................................................................................
57
8.0
Timer2 Module............................................................................................................................................................................
68
9.0
Hardware Limit Timer (HLT) Module
.......................................................................................................................................... 70
10.0
Capture/Compare/PWM Modules...............................................................................................................................................
74
11.0
Complementary Output Generator (COG) Module.....................................................................................................................
81
12.0
Analog-to-Digital Converter (ADC) Module
.............................................................................................................................. 104
13.0
Fixed Voltage Reference (FVR)................................................................................................................................................
115
14.0
Digital-to-Analog Converter (DAC) Module
.............................................................................................................................. 117
15.0
Comparator Module..................................................................................................................................................................
123
16.0
Operational Amplifier (OPA) Module
........................................................................................................................................ 132
17.0
Slope Compensation (SC) Module
........................................................................................................................................... 135
18.0
Instruction Set Summary
.......................................................................................................................................................... 140
19.0
Special Features of the CPU
.................................................................................................................................................... 149
20.0
Shunt Regulator (PIC16HV753 Only).......................................................................................................................................
168
21.0
Development Support...............................................................................................................................................................
169
22.0
Electrical Specifications
............................................................................................................................................................ 173
23.0
DC and AC Characteristics Graphs and Charts
....................................................................................................................... 197
24.0
Packaging Information..............................................................................................................................................................
215
Appendix A: Data Sheet Revision History.......................................................................................................................................... 226
The Microchip Website....................................................................................................................................................................... 227
Customer Change Notification Service .............................................................................................................................................. 227
Customer Support .............................................................................................................................................................................. 227
Product Identification System............................................................................................................................................................. 228
DS40001709D-page 4
2013-2016 Microchip Technology Inc.
PIC16F753/HV753
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at
docerrors@microchip.com.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Website at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000000A is version A of document DS30000000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Website;
http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our website at
www.microchip.com
to receive the most current information on all of our products.
2013-2016 Microchip Technology Inc.
DS40001709D-page 5